FontFile

개요

FontFile은(는) Aspose.3D FOSS for Python에 포함된 클래스입니다. 상속 대상: A3DObject.

폰트 파일은 글리프 정의를 포함하고 있으며, 이는 텍스트 프로필을 생성하는 데 사용됩니다.

이 클래스는 Python 프로그램의 FontFile 객체를 위해 7개의 메서드를 선언합니다. 사용 가능한 메서드: __init__, find_property, from_file, get_property, parse, remove_property, set_property. 모든 공개 멤버는 Aspose.3D FOSS for Python 패키지를 설치한 후 Python 애플리케이션이면 모두 접근할 수 있습니다. 속성: name, properties.

속성

이름유형액세스설명
namestr읽기/쓰기이름을 가져오거나 설정합니다.
propertiesPropertyCollection읽기속성을 가져옵니다.

메서드

시그니처설명
__init__(name: str)Calls init(name) 이 이 FontFile 인스턴스에 있습니다.
from_file(file_name: str) → 'FontFile'파일 이름에서 FontFile을(를) 로드합니다.
parse(data: bytes) → 'FontFile'바이트 데이터에서 FontFile를 파싱합니다.
find_property(property_name: str)이 FontFile 인스턴스에서 find_property(property_name)를 호출합니다.
get_property(property: str)이 FontFile 인스턴스에서 get_property(property)를 호출합니다.
set_property(property: str, value)속성 값을 설정합니다.
remove_property(property)이 FontFile 인스턴스에서 remove_property(property)를 호출합니다.

참조

 한국어