Package com.compdfkit.core.annotation
Class CPDFTextAttribute
java.lang.Object
com.compdfkit.core.annotation.CPDFTextAttribute
Text attribute helper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Clone current object.booleanintgetColor()Gets font color.Gets font name.floatGets font size.inthashCode()voidsetColor(int color) Sets font color.voidsetFontName(String fontName) Sets font name.voidsetFontSize(float fontSize) Sets font size.
-
Constructor Details
-
CPDFTextAttribute
-
-
Method Details
-
getFontName
Gets font name.- Returns:
- Returns font name.
-
getFontSize
public float getFontSize()Gets font size.- Returns:
- Returns font size.
-
getColor
public int getColor()Gets font color.- Returns:
- Returns font color.
-
setFontName
Sets font name.- Parameters:
fontName- Font name.
-
setFontSize
public void setFontSize(float fontSize) Sets font size.- Parameters:
fontSize- Font size.
-
setColor
public void setColor(int color) Sets font color.- Parameters:
color- Font color.
-
clone
Clone current object.- Returns:
- Returns current object.
-
equals
-
hashCode
public int hashCode()
-