Font

Inheritance: java.lang.Object, com.aspose.psd.xmp.types.XmpTypeBase, com.aspose.psd.xmp.types.complex.ComplexTypeBase

public final class Font extends ComplexTypeBase

Represents XMP Font.

Constructors

ConstructorDescription
Font()Initializes a new instance of the Font class.
Font(String fontFamily)Initializes a new instance of the Font class.

Methods

MethodDescription
add(String key, Object value)Adds the specified key.
equals(Object arg0)
getChildFontFiles()Gets or sets the array of file names for the fonts that make up a composite font.
getClass()
getFontFace()Gets or sets the font face.
getFontFamily()Gets or sets the font family.
getFontFileName()Gets or sets the font file name without full path.
getFontName()Gets or sets the PostScript font name.
getFontType()Gets or sets the font type.
getNamespaceUri()Gets the default namespace URI.
getPrefix()Gets the prefix.
getVersion()Gets or sets the font version.
getXmpRepresentation()Gets the string contained value in XMP format.
hashCode()
isComposite()Gets or sets a value indicating whether this font is composite.
notify()
notifyAll()
setChildFontFiles(String[] value)Gets or sets the array of file names for the fonts that make up a composite font.
setComposite(boolean value)Gets or sets a value indicating whether this font is composite.
setFontFace(String value)Gets or sets the font face.
setFontFamily(String value)Gets or sets the font family.
setFontFileName(String value)Gets or sets the font file name without full path.
setFontName(String value)Gets or sets the PostScript font name.
setFontType(String value)Gets or sets the font type.
setVersion(String value)Gets or sets the font version.
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

Font()

public Font()

Initializes a new instance of the Font class.

Font(String fontFamily)

public Font(String fontFamily)

Initializes a new instance of the Font class.

Parameters:

ParameterTypeDescription
fontFamilyjava.lang.StringFont family.

add(String key, Object value)

public void add(String key, Object value)

Adds the specified key.

Parameters:

ParameterTypeDescription
keyjava.lang.StringThe string representation of key that is identified with added value.
valuejava.lang.ObjectThe value to add to.

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

getChildFontFiles()

public String[] getChildFontFiles()

Gets or sets the array of file names for the fonts that make up a composite font.

Value: The array of file names for the fonts that make up a composite font.

Returns: java.lang.String[]

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getFontFace()

public String getFontFace()

Gets or sets the font face.

Value: The font face.

Returns: java.lang.String

getFontFamily()

public String getFontFamily()

Gets or sets the font family.

Value: The font family.

Returns: java.lang.String

getFontFileName()

public String getFontFileName()

Gets or sets the font file name without full path.

Value: The font file name without full path.

Returns: java.lang.String

getFontName()

public String getFontName()

Gets or sets the PostScript font name.

Value: The name of PostScript font name.

Returns: java.lang.String

getFontType()

public String getFontType()

Gets or sets the font type.

TrueType, Type 1, Open Type, and so on. Value: The font type.

Returns: java.lang.String

getNamespaceUri()

public String getNamespaceUri()

Gets the default namespace URI.

Returns: java.lang.String - The default namespace URI.

getPrefix()

public String getPrefix()

Gets the prefix.

Returns: java.lang.String - The prefix.

getVersion()

public String getVersion()

Gets or sets the font version.

/version for Type1 fonts nameId 5 for Apple True Type and OpenType /CIDFontVersion for CID fonts The empty string for bitmap fonts Value: The font version.

Returns: java.lang.String

getXmpRepresentation()

public String getXmpRepresentation()

Gets the string contained value in XMP format.

Returns: java.lang.String - Returns the string contained value in XMP format.

hashCode()

public native int hashCode()

Returns: int

isComposite()

public boolean isComposite()

Gets or sets a value indicating whether this font is composite.

Value: true if this font is composite; otherwise, false .

Returns: boolean

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

setChildFontFiles(String[] value)

public void setChildFontFiles(String[] value)

Gets or sets the array of file names for the fonts that make up a composite font.

Value: The array of file names for the fonts that make up a composite font.

Parameters:

ParameterTypeDescription
valuejava.lang.String[]

setComposite(boolean value)

public void setComposite(boolean value)

Gets or sets a value indicating whether this font is composite.

Value: true if this font is composite; otherwise, false .

Parameters:

ParameterTypeDescription
valueboolean

setFontFace(String value)

public void setFontFace(String value)

Gets or sets the font face.

Value: The font face.

Parameters:

ParameterTypeDescription
valuejava.lang.String

setFontFamily(String value)

public void setFontFamily(String value)

Gets or sets the font family.

Value: The font family.

Parameters:

ParameterTypeDescription
valuejava.lang.String

setFontFileName(String value)

public void setFontFileName(String value)

Gets or sets the font file name without full path.

Value: The font file name without full path.

Parameters:

ParameterTypeDescription
valuejava.lang.String

setFontName(String value)

public void setFontName(String value)

Gets or sets the PostScript font name.

Value: The name of PostScript font name.

Parameters:

ParameterTypeDescription
valuejava.lang.String

setFontType(String value)

public void setFontType(String value)

Gets or sets the font type.

TrueType, Type 1, Open Type, and so on. Value: The font type.

Parameters:

ParameterTypeDescription
valuejava.lang.String

setVersion(String value)

public void setVersion(String value)

Gets or sets the font version.

/version for Type1 fonts nameId 5 for Apple True Type and OpenType /CIDFontVersion for CID fonts The empty string for bitmap fonts Value: The font version.

Parameters:

ParameterTypeDescription
valuejava.lang.String

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