Class Fill
java.lang.Object
io.jmix.mapsflowui.kit.component.model.MapObservableObject
io.jmix.mapsflowui.kit.component.model.style.Fill
- All Implemented Interfaces:
Serializable
Fill style for vector features.
For more details see: Fill docs
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class io.jmix.mapsflowui.kit.component.model.MapObservableObject
MapObservableObject.ObjectChangeEvent
-
Field Summary
Fields inherited from class io.jmix.mapsflowui.kit.component.model.MapObservableObject
children, dirty, eventBus, listener, metaProperties, parent, removedChildren, syncId
-
Constructor Summary
-
Method Summary
Methods inherited from class io.jmix.mapsflowui.kit.component.model.MapObservableObject
addChild, addListener, clearRemovedChildren, clearRemovedChildrenInDepth, equals, fireChangeEvent, getChildren, getEventBus, getMetaProperties, getRemovedChildren, getSyncId, hashCode, isDirty, isDirtyInDepth, markAsDirty, markAsDirtyInDepth, removeChild, setMapObjectChangeListener, setMetaProperty, unmarkDirtyInDepth
-
Field Details
-
color
-
-
Constructor Details
-
Fill
public Fill() -
Fill
Inits instance with provided color. SeesetColor(String)
for available values.- Parameters:
color
- color to set
-
-
Method Details
-
getType
- Specified by:
getType
in classMapObservableObject
-
getColor
-
setColor
Sets the color to fill. Color is available in the following formats:- HEX "#5E4BD8"
- RGB "rgb(205, 92, 92)"
- RGBA "rgba(205, 92, 92, 0.4)".
For more details see: setColor() docs
- Parameters:
color
- color to set
-
withColor
SeesetColor(String)
.- Parameters:
color
- color to set- Returns:
- current instance
-
setParent
- Overrides:
setParent
in classMapObservableObject
-