Fill
개요
Fill은 Aspose.Cells FOSS에서 Python을(를) 위한 클래스입니다.
셀 또는 셀 범위에 대한 채우기 설정을 나타냅니다.
이 클래스는 Python 프로그램에서 Fill 객체를 다루기 위한 5개의 메서드를 제공합니다. 사용 가능한 메서드에는 __init__, set_gradient_fill, set_no_fill, set_pattern_fill, set_solid_fill가 포함됩니다. 모든 public 멤버는 Aspose.Cells FOSS for Python 패키지를 설치한 후 any Python 애플리케이션에서 접근할 수 있습니다. 속성: background_color, foreground_color, pattern_type.
속성
| 이름 | 유형 | 액세스 | 설명 |
|---|---|---|---|
pattern_type | `` | 읽기 | 패턴 유형을 가져옵니다. |
foreground_color | `` | 읽기 | 전경색을 가져옵니다. |
background_color | `` | 읽기 | 배경색을 가져옵니다. |
메서드
| 시그니처 | 설명 |
|---|---|
__init__(pattern_type, foreground_color, background_color) | Fill 클래스의 새 인스턴스를 초기화합니다. |
set_solid_fill(color) | 지정된 색상으로 단색 채우기 패턴을 설정합니다. |
set_gradient_fill(start_color, end_color) | 그라디언트 채우기 패턴을 설정합니다 (현재는 단색 채우기로 단순화되었습니다). |
set_pattern_fill(pattern_type, fg_color, bg_color) | 지정된 패턴 유형과 색상으로 패턴 채우기를 설정합니다. |
set_no_fill() | 채우기를 설정하지 않음(투명 배경). |