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_versionint읽기/쓰기주 버전을 가져오거나 설정합니다.
minor_versionint읽기/쓰기마이너 버전을 가져오거나 설정합니다.
ascenderint읽기/쓰기어센더를 가져오거나 설정합니다.
descenderint읽기/쓰기descender를 가져오거나 설정합니다.
line_gapint읽기/쓰기줄 간격을 가져오거나 설정합니다.
advance_width_maxint읽기/쓰기전진 폭 최대값을 가져오거나 설정합니다.
min_lsbint읽기/쓰기최소 lsb를 가져오거나 설정합니다.
min_rsbint읽기/쓰기최소 rsb를 가져오거나 설정합니다.
x_max_extentint읽기/쓰기x 최대 범위를 가져오거나 설정합니다.
caret_slope_riseint읽기/쓰기caret slope rise를 가져오거나 설정합니다.
caret_slope_runint읽기/쓰기caret slope run을 가져오거나 설정합니다.
caret_offsetint읽기/쓰기캐럿 오프셋을 가져오거나 설정합니다.
metric_data_formatint읽기/쓰기측정 데이터 형식을 가져오거나 설정합니다.
number_of_hmetricsint읽기/쓰기hmetrics의 수를 가져오거나 설정합니다.

메서드

시그니처설명
from_reader(r: BinaryReader) → "HheaTable"BinaryReader을(를) 읽고 HheaTable 객체를 생성합니다
to_bytes() → bytes이 HheaTable 인스턴스에서 to_bytes을(를) 호출합니다.

참조

 한국어