public final class Font extends XmpComplexType
Represents XMP Font.
Constructor and Description |
---|
Font()
Initializes a new instance of the
Font class. |
Font(String fontFamily)
Initializes a new instance of the
Font class. |
Modifier and Type | Method and Description |
---|---|
String[] |
getChildFontFiles()
Gets array of file names for the fonts that make up a composite font.
|
String |
getFontFace()
Gets font face.
|
String |
getFontFamily()
Gets font family.
|
String |
getFontFileName()
Gets font file name without full path.
|
String |
getFontName()
Gets PostScript font name.
|
String |
getFontType()
Gets font type.
|
String |
getVersion()
Gets font version.
|
String |
getXmpRepresentation()
Returns string contained value in XMP format.
|
boolean |
isComposite()
Indicates whether font is composite.
|
void |
setComposite(boolean value)
Indicates whether font is composite.
|
void |
setFontFace(String value)
Sets font face.
|
void |
setFontFamily(String value)
Sets font family.
|
void |
setFontFileName(String value)
Sets font file name without full path.
|
void |
setFontName(String value)
Sets PostScript font name.
|
void |
setFontType(String value)
Sets font type.
|
void |
setVersion(String value)
Sets font version.
|
getNamespaceUri, getPrefix
toBool, toDateTime, toFloat, toGuid, toInt, toString, toStringArray
public Font()
Initializes a new instance of the Font
class.
public Font(String fontFamily)
Initializes a new instance of the Font
class.
fontFamily
- Font family.public final String[] getChildFontFiles()
Gets array of file names for the fonts that make up a composite font.
public final boolean isComposite()
Indicates whether font is composite.
true
if font is composite; otherwise, false
.public final void setComposite(boolean value)
Indicates whether font is composite.
public final String getFontFace()
Gets font face.
public final void setFontFace(String value)
Sets font face.
value
- Font face.public final String getFontFamily()
Gets font family.
public final void setFontFamily(String value)
Sets font family.
value
- Font family.public final String getFontFileName()
Gets font file name without full path.
public final void setFontFileName(String value)
Sets font file name without full path.
value
- The name of the font file.public final String getFontName()
Gets PostScript font name.
public final void setFontName(String value)
Sets PostScript font name.
value
- The name of the font.public final String getFontType()
Gets font type.
public final void setFontType(String value)
Sets font type.
value
- Font type.public final String getVersion()
Gets font version.
public final void setVersion(String value)
Sets font version.
value
- The version.public String getXmpRepresentation()
Returns string contained value in XMP format.
getXmpRepresentation
in interface IXmpType
getXmpRepresentation
in class XmpComplexType
string
contained XMP representation.Copyright © 2018. All rights reserved.