HheaTable
개요
HheaTable은 Aspose.Font FOSS에서 Python를 위한 클래스입니다.
HheaTable.from_reader은 BinaryReader을 읽고 HheaTable 객체를 생성합니다.
이 클래스는 Python 프로그램에서 HheaTable 객체를 다루기 위한 2개의 메서드를 제공합니다. 사용 가능한 메서드에는 from_reader, to_bytes이(가) 포함됩니다. 모든 public 멤버는 Aspose.Font FOSS for Python 패키지를 설치한 후 any Python 애플리케이션에서 접근할 수 있습니다. 속성: advance_width_max, ascender, caret_offset, caret_slope_rise, caret_slope_run, descender, 그리고 8개가 더 있습니다.
속성
| 이름 | 유형 | 액세스 | 설명 |
|---|---|---|---|
major_version | int | 읽기/쓰기 | 주 버전을 가져오거나 설정합니다. |
minor_version | int | 읽기/쓰기 | 마이너 버전을 가져오거나 설정합니다. |
ascender | int | 읽기/쓰기 | 어센더를 가져오거나 설정합니다. |
descender | int | 읽기/쓰기 | descender를 가져오거나 설정합니다. |
line_gap | int | 읽기/쓰기 | 줄 간격을 가져오거나 설정합니다. |
advance_width_max | int | 읽기/쓰기 | 전진 폭 최대값을 가져오거나 설정합니다. |
min_lsb | int | 읽기/쓰기 | 최소 lsb를 가져오거나 설정합니다. |
min_rsb | int | 읽기/쓰기 | 최소 rsb를 가져오거나 설정합니다. |
x_max_extent | int | 읽기/쓰기 | x 최대 범위를 가져오거나 설정합니다. |
caret_slope_rise | int | 읽기/쓰기 | caret slope rise를 가져오거나 설정합니다. |
caret_slope_run | int | 읽기/쓰기 | caret slope run을 가져오거나 설정합니다. |
caret_offset | int | 읽기/쓰기 | 캐럿 오프셋을 가져오거나 설정합니다. |
metric_data_format | int | 읽기/쓰기 | 측정 데이터 형식을 가져오거나 설정합니다. |
number_of_hmetrics | int | 읽기/쓰기 | hmetrics의 수를 가져오거나 설정합니다. |
메서드
| 시그니처 | 설명 |
|---|---|
from_reader(r: BinaryReader) → "HheaTable" | BinaryReader을(를) 읽고 HheaTable 객체를 생성합니다 |
to_bytes() → bytes | 이 HheaTable 인스턴스에서 to_bytes을(를) 호출합니다. |