FontFile

FontFile class

フォントファイルにはグリフの定義が含まれており、テキストプロファイルの作成に使用されます。 @hideconstructor

メソッド

getName

名前説明
getName()名前を取得または設定します。名前。

Result:


setName

名前説明
setName(value)名前を取得または設定します。名前。

Result:


getProperties

名前説明
getProperties()すべてのプロパティのコレクションを取得します。

Result:


fromFile

名前説明
fromFile(fileName)ファイル名から FontFile をロードします

Parameters:

名前説明
fileName文字列フォントファイルへのパス

Result: FontFile


parse

名前説明
parse(bytes)バイト列から FontFile を解析します

Parameters:

名前説明
バイト列byte[]OTF フォントファイルの生データ

Result: FontFile


removeProperty

名前説明
removeProperty(property)動的プロパティを削除します。

Parameters:

名前説明
propertyProperty削除するプロパティはどれですか

Result: boolean


removeProperty

名前説明
removeProperty(property)名前で識別された指定されたプロパティを削除します。

Parameters:

名前説明
propert文字列null

Result: boolean


getProperty

名前説明
getProperty(property)指定されたプロパティの値を取得します

Parameters:

名前説明
property文字列プロパティ名

Result: オブジェクト


setProperty

名前説明
setProperty(property, value)指定されたプロパティの値を設定します

Parameters:

名前説明
property文字列プロパティ名
オブジェクトプロパティの値

Result: オブジェクト


findProperty

名前説明
findProperty(propertyName)プロパティを検索します。動的プロパティ(CreateDynamicProperty/SetProperty によって作成)またはネイティブプロパティ(名前で識別)になる可能性があります

Parameters:

名前説明
propertyName文字列プロパティ名。

Result: Property