public final class PinStyle extends Object implements AutoCloseable
FeatureCanvas.LabelDrawCommand#pinStyle
.
You can create instances of this class using PinStyle#newBuilder
.
Modifier and Type | Class and Description |
---|---|
static class |
PinStyle.Builder
A builder class for creating pin styles that can be set up to labels, see
FeatureCanvas.LabelDrawCommand#pinStyle . |
static class |
PinStyle.EndPosition
Possible positions for the end of the pin.
|
Modifier and Type | Method and Description |
---|---|
PinStyle.Builder |
asBuilder()
|
void |
close() |
protected void |
finalize() |
PinStyle.EndPosition |
getEndPosition() |
LineStyle |
getLineStyle() |
double |
getVisibilityThreshold() |
static PinStyle.Builder |
newBuilder()
Returns a new builder for creating a
PinStyle . |
public void close()
close
in interface AutoCloseable
@NotNull public static PinStyle.Builder newBuilder()
PinStyle
.PinStyle
.@NotNull public PinStyle.EndPosition getEndPosition()
public double getVisibilityThreshold()
@NotNull public LineStyle getLineStyle()
@NotNull public PinStyle.Builder asBuilder()