public class CSSObject extends BaseOption
Maps to the Highcharts CSSObject and Highcharts.CSSObject data types.
Example: chart.style
ref: https://api.highcharts.com/highcharts/chart.style
Constructor and Description |
---|
CSSObject() |
CSSObject(String cssValue)
Contruct with a CSS Javascript value.
|
Modifier and Type | Method and Description |
---|---|
boolean |
_isOptionNull(String option) |
Color |
getColor()
Color used in the element.
|
String |
getCssValue()
Get the the CSS Javascript value.
|
String |
getFontSize()
Font size of the element text.
|
Number |
getOpacity()
Opacity of the element.
|
String |
getRawValue()
Get raw CSS Javascript Value.
|
String |
getTextOutline()
Outline style of the element text.
|
CSSObject |
setColor(Color color)
Color used in the element.
|
CSSObject |
setCssValue(String cssValue)
Set the CSS Javascript value.
|
CSSObject |
setFontSize(String fontSize)
Font size of the element text.
|
CSSObject |
setOpacity(Number opacity)
Opacity of the element.
|
CSSObject |
setTextOutline(String textOutline)
Outline style of the element text.
|
set_hcNulledOption
public static final CSSObject NULL
public CSSObject()
public CSSObject(String cssValue)
cssValue
- the cssobject Javascript value.public String getRawValue()
public CSSObject setCssValue(String cssValue)
cssValue
- the css Javascript value.public String getCssValue()
public Color getColor()
public CSSObject setColor(Color color)
color
- the value for the color optionpublic String getFontSize()
public CSSObject setFontSize(String fontSize)
fontSize
- the value for the fontSize optionpublic Number getOpacity()
public CSSObject setOpacity(Number opacity)
opacity
- the value for the opacity optionpublic String getTextOutline()
public CSSObject setTextOutline(String textOutline)
textOutline
- the value for the textOutline optionpublic boolean _isOptionNull(String option)
option
- the option to test is nullCopyright © 2024. All rights reserved.