|
||||||||
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 a 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 o)
Returns a value indicating whether this instance is equal to a specified object. |
int |
getCharSet()
Returns or sets a font character set. |
int |
getFamily()
Returns or sets a font family. |
int |
getFontId()
Returns the id of a font. |
int |
getFontIndex()
Deprecated. |
java.lang.String |
getFontName()
Returns or sets a font name. |
int |
getPitch()
Returns or sets a font pitch. |
int |
getQuality()
Returns or sets a font quality. |
int |
hashCode()
Returns the hash code for this instance (always 0 in the current implementation). |
void |
setCharSet(int value)
|
void |
setFamily(int value)
|
void |
setFontName(java.lang.String value)
|
void |
setPitch(int value)
|
void |
setQuality(int value)
|
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FontEntity(Presentation pres, FontEntity fontEntity)
Initializes a new instance of the FontEntity class.
pres
- Presentation where new font will be inserted to.fontEntity
- Source font for cloning.Method Detail |
---|
public int getFontId()
Returns the id of a font.
Read-only int
.
@Deprecated public int getFontIndex()
Returns the index of a font.
Read-only int
.
public java.lang.String getFontName()
Returns or sets a font name.
Read/write string
.
public void setFontName(java.lang.String value)
public int getCharSet()
Returns or sets a font character set.
Read/write FontCharSet
.
public void setCharSet(int value)
public int getQuality()
Returns or sets a font quality.
Read/write FontQuality
.
public void setQuality(int value)
public int getFamily()
Returns or sets a font family.
Read/write FontFamily
.
public void setFamily(int value)
public int getPitch()
Returns or sets a font pitch.
Read/write FontPitch
.
public void setPitch(int value)
public boolean equals(java.lang.Object o)
Returns a value indicating whether this instance is equal to a specified object.
equals
in class java.lang.Object
o
- The object to compare with this instance.
<b>True</b>
if o is a FontEntity that has the same value as this instance; otherwise, <b>false</b>
.public int hashCode()
Returns the hash code for this instance (always 0 in the current implementation).
hashCode
in class java.lang.Object
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |