|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aspose.slides.FontEntity
public final class FontEntity
Represents the font used in a presentation.
Constructor Summary | |
---|---|
FontEntity(Presentation pres,
FontEntity fontEntity)
Initializes a new instance of the FontEntity class. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
Compares this object to the specified object. |
int |
getCharSet()
Returns the charset of a font. |
int |
getFamily()
Returns the family of a font. |
int |
getFontIndex()
Returns the index of a font. |
java.lang.String |
getFontName()
Returns the name of a font. |
int |
getPitch()
Returns the pitch of a font. |
int |
getQuality()
Returns the quality of a font. |
void |
setCharSet(int value)
Sets the charset of a font. |
void |
setFamily(byte value)
Sets the family of a font. |
void |
setFontName(java.lang.String value)
Sets the name of a font. |
void |
setPitch(byte value)
Sets the pitch of a font. |
void |
setQuality(int value)
Sets the quality of a font. |
Methods inherited from class java.lang.Object |
---|
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FontEntity(Presentation pres, FontEntity fontEntity) throws java.io.IOException
pres
- presentation where new font will be inserted to.fontEntity
- source font for cloning.
java.io.IOException
- on FontEntity cloning error.Method Detail |
---|
public int getFontIndex()
public java.lang.String getFontName()
public void setFontName(java.lang.String value)
value
- new font name.public int getCharSet()
FontCharSet
.
public void setCharSet(int value)
value
- new font charset. See FontCharSet
.public int getQuality()
FontQuality
.
public void setQuality(int value)
value
- new font quality. See FontQuality
.public int getFamily()
FontFamily
.
public void setFamily(byte value)
value
- new font family. See FontFamily
.public int getPitch()
FontPitch
.
public void setPitch(byte value)
value
- new font pitch. See FontPitch
.public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- the object to compare with.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |