Class LineStyle
java.lang.Object
io.jmix.chartsflowui.kit.component.model.ChartObservableObject
io.jmix.chartsflowui.kit.component.model.shared.LineStyle
- All Implemented Interfaces:
- HasLineStyle<LineStyle>,- HasShadow<LineStyle>,- Serializable
public class LineStyle
extends ChartObservableObject
implements HasShadow<LineStyle>, HasLineStyle<LineStyle>
Common style for the line.
- See Also:
- 
Nested Class SummaryNested classes/interfaces inherited from class io.jmix.chartsflowui.kit.component.model.ChartObservableObjectChartObservableObject.ObjectChangeEventNested classes/interfaces inherited from interface io.jmix.chartsflowui.kit.component.model.HasLineStyleHasLineStyle.Cap, HasLineStyle.Join
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected HasLineStyle.Capprotected Colorprotected Integerprotected HasLineStyle.Joinprotected Integerprotected Doubleprotected Integerprotected Colorprotected Integerprotected Integerprotected Stringprotected IntegerFields inherited from class io.jmix.chartsflowui.kit.component.model.ChartObservableObjectchildren, dirty, listener
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiongetCap()getColor()getJoin()getType()getWidth()voidsetCap(HasLineStyle.Cap cap) Sets style for drawing line endpoints or replaces an existing one.voidvoidsetDashOffset(Integer dashOffset) voidsetJoin(HasLineStyle.Join join) Sets a style that used to join two line segments where they intersect or replaces an existing one.voidsetMiterLimit(Integer miterLimit) Sets miter limit ratio or replaces an existing one.voidsetOpacity(Double opacity) voidsetShadowBlur(Integer shadowBlur) Sets depth of shadow blur or replaces an existing one.voidsetShadowColor(Color shadowColor) Sets a color for shadow or replaces an existing one.voidsetShadowOffsetX(Integer shadowOffsetX) Sets horizontal offset for shadow or replaces an existing one.voidsetShadowOffsetY(Integer shadowOffsetY) Sets vertical offset for shadow or replaces an existing one.voidvoidwithDashOffset(Integer dashOffset) withOpacity(Double opacity) Methods inherited from class io.jmix.chartsflowui.kit.component.model.ChartObservableObjectaddChild, fireChangeEvent, getChildren, isDirty, isDirtyInDepth, markAsDirty, markAsDirtyInDepth, removeChild, setChartObjectChangeListener, unmarkDirtyInDepthMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.jmix.chartsflowui.kit.component.model.HasLineStylewithCap, withJoin, withMiterLimitMethods inherited from interface io.jmix.chartsflowui.kit.component.model.HasShadowwithShadowBlur, withShadowColor, withShadowOffsetX, withShadowOffsetY
- 
Field Details- 
color
- 
width
- 
type
- 
dashOffset
- 
cap
- 
join
- 
miterLimit
- 
shadowBlur
- 
shadowColor
- 
shadowOffsetX
- 
shadowOffsetY
- 
opacity
 
- 
- 
Constructor Details- 
LineStylepublic LineStyle()
 
- 
- 
Method Details- 
getColor
- 
getWidth
- 
setWidth
- 
getType
- 
setType
- 
getDashOffset
- 
setDashOffset
- 
getCap- Specified by:
- getCapin interface- HasLineStyle<LineStyle>
- Returns:
- Style for drawing line endpoints
 
- 
setCapDescription copied from interface:HasLineStyleSets style for drawing line endpoints or replaces an existing one. More detailed information is provided in the documentation.- Specified by:
- setCapin interface- HasLineStyle<LineStyle>
- Parameters:
- cap- cap style to set
- See Also:
 
- 
getJoin- Specified by:
- getJoinin interface- HasLineStyle<LineStyle>
- Returns:
- style that used to join two line segments where they intersect
 
- 
setJoinDescription copied from interface:HasLineStyleSets a style that used to join two line segments where they intersect or replaces an existing one. More detailed information is provided in the documentation.- Specified by:
- setJoinin interface- HasLineStyle<LineStyle>
- Parameters:
- join- style to set
- See Also:
 
- 
getMiterLimit- Specified by:
- getMiterLimitin interface- HasLineStyle<LineStyle>
- Returns:
- miter limit ratio
 
- 
setMiterLimitDescription copied from interface:HasLineStyleSets miter limit ratio or replaces an existing one. Only works whenHasLineStyle.Joinis set asHasLineStyle.Join.MITER. More detailed information is provided in the documentation.- Specified by:
- setMiterLimitin interface- HasLineStyle<LineStyle>
- Parameters:
- miterLimit- miter limit to set
- See Also:
 
- 
getShadowBlur- Specified by:
- getShadowBlurin interface- HasShadow<LineStyle>
- Returns:
- depth of shadow blur
 
- 
setShadowBlurDescription copied from interface:HasShadowSets depth of shadow blur or replaces an existing one.- Specified by:
- setShadowBlurin interface- HasShadow<LineStyle>
- Parameters:
- shadowBlur- depth of shadow blur
 
- 
getShadowColor- Specified by:
- getShadowColorin interface- HasShadow<LineStyle>
- Returns:
- shadow color
 
- 
getShadowOffsetX- Specified by:
- getShadowOffsetXin interface- HasShadow<LineStyle>
- Returns:
- horizontal offset for shadow in pixels
 
- 
setShadowOffsetXDescription copied from interface:HasShadowSets horizontal offset for shadow or replaces an existing one.- Specified by:
- setShadowOffsetXin interface- HasShadow<LineStyle>
- Parameters:
- shadowOffsetX- offset to set in pixels
 
- 
getShadowOffsetY- Specified by:
- getShadowOffsetYin interface- HasShadow<LineStyle>
- Returns:
- vertical offset for shadow in pixels
 
- 
setShadowOffsetYDescription copied from interface:HasShadowSets vertical offset for shadow or replaces an existing one.- Specified by:
- setShadowOffsetYin interface- HasShadow<LineStyle>
- Parameters:
- shadowOffsetY- offset to set in pixels
 
- 
getOpacity
- 
setOpacity
- 
withWidth
- 
withType
- 
withDashOffset
- 
withOpacity
 
-