TextFontInfo

Inheritance: java.lang.Object

public final class TextFontInfo

Represents the information about font. This class cannot be inherited.

Constructors

ConstructorDescription
TextFontInfo()Initializes a new instance of the TextFontInfo class.

Methods

MethodDescription
equals(Object arg0)
getClass()
getFamilyName()Gets font family name
getFontType()Gets the type of the font.
getPostScriptName()Gets the PostScript name
getScript()Gets the script.
getStyle()Gets font style parsed from subfamily name
getSynthetic()Gets a value indicating whether this FontInformation is synthetic.
hashCode()
notify()
notifyAll()
setFamilyName(String value)Gets font family name
setFontType(int value)Gets the type of the font.
setPostScriptName(String value)Gets the PostScript name
setScript(int value)Gets the script.
setStyle(int value)Gets font style parsed from subfamily name
setSynthetic(boolean value)Gets a value indicating whether this FontInformation is synthetic.
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

TextFontInfo()

public TextFontInfo()

Initializes a new instance of the TextFontInfo class.

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getFamilyName()

public final String getFamilyName()

Gets font family name

Value: Font family name

Returns: java.lang.String

getFontType()

public final int getFontType()

Gets the type of the font.

Value: The type of the font.

Returns: int

getPostScriptName()

public final String getPostScriptName()

Gets the PostScript name

Value: PostScript name

Returns: java.lang.String

getScript()

public final int getScript()

Gets the script.

Value: The script.

Returns: int

getStyle()

public final int getStyle()

Gets font style parsed from subfamily name

Value: Font style parsed from subfamily name

Returns: int

getSynthetic()

public final boolean getSynthetic()

Gets a value indicating whether this FontInformation is synthetic.

Value: true if synthetic; otherwise, false .

Returns: boolean

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

setFamilyName(String value)

public final void setFamilyName(String value)

Gets font family name

Value: Font family name

Parameters:

ParameterTypeDescription
valuejava.lang.String

setFontType(int value)

public final void setFontType(int value)

Gets the type of the font.

Value: The type of the font.

Parameters:

ParameterTypeDescription
valueint

setPostScriptName(String value)

public final void setPostScriptName(String value)

Gets the PostScript name

Value: PostScript name

Parameters:

ParameterTypeDescription
valuejava.lang.String

setScript(int value)

public final void setScript(int value)

Gets the script.

Value: The script.

Parameters:

ParameterTypeDescription
valueint

setStyle(int value)

public final void setStyle(int value)

Gets font style parsed from subfamily name

Value: Font style parsed from subfamily name

Parameters:

ParameterTypeDescription
valueint

setSynthetic(boolean value)

public final void setSynthetic(boolean value)

Gets a value indicating whether this FontInformation is synthetic.

Value: true if synthetic; otherwise, false .

Parameters:

ParameterTypeDescription
valueboolean

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int