com.vaadin.flow.component.charts.model.style.
Class Style
All Implemented Interfaces:
Style options for CSS styling
See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetColor()
getLeft()
getTop()
void
Sets the
color
CSS attribute.void
setFontFamily
(String fontFamily) Sets the
font-family
CSS attribute.void
setFontSize
(String fontSize) Sets the
font-size
CSS attribute.void
setFontWeight
(FontWeight fontWeight) Sets the
font-weight
CSS attribute.void
Sets the
left
CSS attributevoid
setLineHeight
(String lineHeight) Sets the
line-height
CSS attributevoid
setPosition
(StylePosition position) Sets the
position
CSS attributevoid
setTextShadow
(String textShadow) Sets the
textShadow
CSS attributevoid
Sets the
top
CSS attribute
-
Constructor Details
-
Style
public Style()
-
-
Method Details
-
getColor
See Also:
-
setColor
Sets the
color
CSS attribute.Parameters:
color
- -
getFontWeight
See Also:
-
setFontWeight
Sets the
font-weight
CSS attribute.Parameters:
fontWeight
- -
getFontFamily
See Also:
-
setFontFamily
Sets the
font-family
CSS attribute.Parameters:
fontFamily
- -
getFontSize
See Also:
-
setFontSize
Sets the
font-size
CSS attribute.Parameters:
fontSize
- -
getLeft
See Also:
-
setLeft
Sets the
left
CSS attributeParameters:
left
- -
getTop
See Also:
-
setTop
Sets the
top
CSS attributeParameters:
top
- -
setPosition
Sets the
position
CSS attributeParameters:
position
- -
getPosition
See Also:
-
setLineHeight
Sets the
line-height
CSS attribute -
getLineHeight
See Also:
-
getTextShadow
See Also:
-
setTextShadow
Sets the
textShadow
CSS attributeParameters:
textShadow
-
-