OverviewSingleDeprecatedPropertiesEventsXSL Parameters

jsx3.html

interface FontTag

jsx3.html.FontTag

All Known Implementing Classes:

jsx3.vector.TextLine

interface FontTag
Represents an HTML element that defines font styles.

This class is available only when the Charting add-in is enabled.

Method Summary
String
Returns the color field.
String
Returns the fontFamily field.
String
Returns the fontsize field.
String
Returns the fontStyle field.
String
Returns the fontWeight field.
String
Returns the textAlign field.
String
Returns the textDecoration field.
void
setColor(color : String)
Sets the color field.
void
setFontFamily(fontFamily : String)
Sets the fontFamily field.
void
setFontSize(fontSize : int | String)
Sets the fontsize field.
void
setFontStyle(fontStyle : String)
Sets the fontStyle field.
void
setFontWeight(fontWeight : String)
Sets the fontWeight field.
void
setTextAlign(textAlign : String)
Sets the textAlign field.
void
setTextDecoration(textDecoration : String)
Sets the textDecoration field.
Method Detail

getColor

String getColor()
Returns the color field.

Returns:

color  

getFontFamily

String getFontFamily()
Returns the fontFamily field.

Returns:

fontFamily  

getFontSize

String getFontSize()
Returns the fontsize field.

Returns:

fontsize  

getFontStyle

String getFontStyle()
Returns the fontStyle field.

Returns:

fontStyle  

getFontWeight

String getFontWeight()
Returns the fontWeight field.

Returns:

fontWeight  

getTextAlign

String getTextAlign()
Returns the textAlign field.

Returns:

textAlign  

getTextDecoration

String getTextDecoration()
Returns the textDecoration field.

Returns:

textDecoration  

setColor

void setColor(color : String)
Sets the color field.

Parameters:

colorthe new value for color

setFontFamily

void setFontFamily(fontFamily : String)
Sets the fontFamily field.

Parameters:

fontFamilythe new value for fontFamily

setFontSize

void setFontSize(fontSize : int | String)
Sets the fontsize field.

Parameters:

fontSizethe new value for fontsize

setFontStyle

void setFontStyle(fontStyle : String)
Sets the fontStyle field.

Parameters:

fontStylethe new value for fontStyle

setFontWeight

void setFontWeight(fontWeight : String)
Sets the fontWeight field.

Parameters:

fontWeightthe new value for fontWeight

setTextAlign

void setTextAlign(textAlign : String)
Sets the textAlign field.

Parameters:

textAlignthe new value for textAlign

setTextDecoration

void setTextDecoration(textDecoration : String)
Sets the textDecoration field.

Parameters:

textDecorationthe new value for textDecoration