public class FontImpl extends java.lang.Object implements Font, java.io.Serializable
Font.Boldweight, Font.TypeOffset, Font.Underline
Modifier and Type | Field and Description |
---|---|
protected ModelRef<SBook> |
_bookRef |
protected ModelRef<SFont> |
_fontRef |
Constructor and Description |
---|
FontImpl(ModelRef<SBook> book,
ModelRef<SFont> font) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
Font.Boldweight |
getBoldweight() |
Color |
getColor() |
int |
getFontHeight() |
int |
getFontHeightInPoint() |
java.lang.String |
getFontName() |
SFont |
getNative() |
ModelRef<SFont> |
getRef() |
Font.TypeOffset |
getTypeOffset() |
Font.Underline |
getUnderline() |
int |
hashCode() |
boolean |
isItalic() |
boolean |
isStrikeout() |
java.lang.String |
toString() |
public java.lang.String getFontName()
getFontName
in interface Font
public SFont getNative()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public Font.Boldweight getBoldweight()
getBoldweight
in interface Font
public int getFontHeight()
getFontHeight
in interface Font
public boolean isItalic()
public boolean isStrikeout()
isStrikeout
in interface Font
public Font.TypeOffset getTypeOffset()
getTypeOffset
in interface Font
public Font.Underline getUnderline()
getUnderline
in interface Font
public java.lang.String toString()
toString
in class java.lang.Object
public int getFontHeightInPoint()
getFontHeightInPoint
in interface Font
Copyright © 2005-2010 Potix Corporation. All Rights Reserved.