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
Constructor | Description |
---|---|
Font() | Initializes a new instance of the Font class. |
Font(String fontFamily) | Initializes a new instance of the Font class. |
Methods
Method | Description |
---|---|
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:
Parameter | Type | Description |
---|---|---|
fontFamily | java.lang.String | Font family. |
add(String key, Object value)
public void add(String key, Object value)
Adds the specified key.
Parameters:
Parameter | Type | Description |
---|---|---|
key | java.lang.String | The string representation of key that is identified with added value. |
value | java.lang.Object | The value to add to. |
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.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:
Parameter | Type | Description |
---|---|---|
value | java.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:
Parameter | Type | Description |
---|---|---|
value | boolean |
setFontFace(String value)
public void setFontFace(String value)
Gets or sets the font face.
Value: The font face.
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.lang.String |
setFontFamily(String value)
public void setFontFamily(String value)
Gets or sets the font family.
Value: The font family.
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.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:
Parameter | Type | Description |
---|---|---|
value | java.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:
Parameter | Type | Description |
---|---|---|
value | java.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:
Parameter | Type | Description |
---|---|---|
value | java.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:
Parameter | Type | Description |
---|---|---|
value | java.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:
Parameter | Type | Description |
---|---|---|
arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long | |
arg1 | int |