public class Title extends Object implements Serializable
Constructor and Description |
---|
Title() |
Modifier and Type | Method and Description |
---|---|
String |
encode()
Write the options of Title
|
String |
getFontColor()
Gets the fontColor
|
String |
getFontFamily()
Gets the fontFamily
|
Number |
getFontSize()
Gets the fontSize
|
String |
getFontStyle()
Gets the fontStyle
|
Object |
getLineHeight()
Gets the lineHeight
|
Number |
getPadding()
Gets the padding
|
String |
getPosition()
Gets the position
|
Object |
getText()
Gets the text
|
boolean |
isDisplay()
Gets the display
|
void |
setDisplay(boolean display)
Sets the display
|
void |
setFontColor(String fontColor)
Sets the fontColor
|
void |
setFontFamily(String fontFamily)
Sets the fontFamily
|
void |
setFontSize(Number fontSize)
Sets the fontSize
|
void |
setFontStyle(String fontStyle)
Sets the fontStyle
|
void |
setLineHeight(Object lineHeight)
Sets the lineHeight
|
void |
setPadding(Number padding)
Sets the padding
|
void |
setPosition(String position)
Sets the position
|
void |
setText(Object text)
Sets the text
|
public boolean isDisplay()
public void setDisplay(boolean display)
display
- is the title shownpublic String getPosition()
public void setPosition(String position)
position
- Position of title.public Number getFontSize()
public void setFontSize(Number fontSize)
fontSize
- Font sizepublic String getFontFamily()
public void setFontFamily(String fontFamily)
fontFamily
- Font family for the title text.public String getFontColor()
public void setFontColor(String fontColor)
fontColor
- Font colorpublic String getFontStyle()
public void setFontStyle(String fontStyle)
fontStyle
- Font stylepublic Number getPadding()
public void setPadding(Number padding)
padding
- Number of pixels to add above and below the title text.public Object getLineHeight()
public void setLineHeight(Object lineHeight)
lineHeight
- Height of an individual line of textpublic Object getText()
public void setText(Object text)
text
- Title text to display.
If specified as an array, text is rendered on multiple lines.public String encode() throws IOException
IOException
- If an I/O error occursCopyright © 2019. All rights reserved.