public final class PointStyle extends SinglePointStyle<PointStyle>
The style of Point.
Copyright (c) 2017 Nexusgeographics All rights reserved.
Styling
,
FeatureStyle
,
SinglePointStyle
Modifier and Type | Class and Description |
---|---|
static class |
PointStyle.Placement
The enum Placement.
|
Styling.Style
Constructor and Description |
---|
PointStyle()
Instantiates a new Point style.
|
PointStyle(java.util.Map<java.lang.String,java.lang.String> mapStyle)
Instantiates a new Point style.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getOutline()
Gets outline in pixels string.
|
java.lang.String |
getPlacement()
Gets placement.
|
java.lang.Double |
getPlacementMinLengthRatio()
Gets placement min length ratio.
|
java.lang.String |
getPlacementSpacing()
Gets placement spacing.
|
java.lang.Integer |
getPriority()
Gets priority.
|
java.lang.String |
getSprite()
Gets sprite.
|
PointStyle |
setOutline(java.lang.String pixels)
Sets outline in pixels string.
|
PointStyle |
setPlacement(java.lang.String placement)
Sets placement.
|
PointStyle |
setPlacementMinLengthRatio(java.lang.Double placementMinLengthRatio)
Sets placement min length ratio.
|
PointStyle |
setPlacementSpacing(java.lang.String placementSpacing)
Sets placement spacing.
|
PointStyle |
setPriority(java.lang.Integer priority)
Sets priority.
|
PointStyle |
setSprite(java.lang.String sprite)
Sets sprite.
|
getCollide, getOffset, getSize, getText, setCollide, setOffset, setOffset, setSize, setSize, setText, setText
getInteractive, isInteractive, setInteractive
getBlend, getColor, getMapStyle, getOrder, getStyle, getStylePath, hasStylePath, isVisible, setBlend, setColor, setOrder, setStyle, setStylePath, setVisible, toJson, toMap, toString
public PointStyle()
public PointStyle(@Nullable java.util.Map<java.lang.String,java.lang.String> mapStyle)
mapStyle
- the map style@Nullable public java.lang.String getPlacement()
public PointStyle setPlacement(@Nullable java.lang.String placement)
placement
- the placement@Nullable public java.lang.Double getPlacementMinLengthRatio()
public PointStyle setPlacementMinLengthRatio(@Nullable java.lang.Double placementMinLengthRatio)
placementMinLengthRatio
- the placement min length ratio@Nullable public java.lang.String getPlacementSpacing()
@Nullable public PointStyle setPlacementSpacing(@Nullable java.lang.String placementSpacing)
placementSpacing
- the placement spacing@Nullable public java.lang.Integer getPriority()
@Nullable public PointStyle setPriority(@Nullable java.lang.Integer priority)
priority
- the priority@Nullable public java.lang.String getSprite()
public PointStyle setSprite(@Nullable java.lang.String sprite)
sprite
- the spritepublic PointStyle setOutline(@Nullable java.lang.String pixels)
Example:
PointStyle.setOutline("1px")
pixels
- the outline in pixels string@Nullable public java.lang.String getOutline()