public static class TLspRulerSegmentLabelContentStyle.Builder<B extends TLspRulerSegmentLabelContentStyle.Builder<B>> extends TLspRulerDistanceFormatStyle.Builder<B>
TLspRulerSegmentLabelContentStyle.newBuilder()
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
Modifier and Type | Method and Description |
---|---|
B |
all(ALspStyle aStyle)
Copies all properties from the given style.
|
B |
azimuthFormat(Format aAzimuthFormat)
Sets the format used to display azimuths.
|
TLspRulerSegmentLabelContentStyle |
build()
Constructs a label style with the set parameters.
|
B |
displayAzimuth(boolean aDisplayAzimuth)
Set to true if the azimuth must be displayed as a label on the map.
|
distanceFormat
equals, hashCode
public B azimuthFormat(Format aAzimuthFormat)
aAzimuthFormat
- the distance formatpublic B displayAzimuth(boolean aDisplayAzimuth)
aDisplayAzimuth
- True to display azimuth on the map, false otherwise.public B all(ALspStyle aStyle)
all
in class TLspRulerDistanceFormatStyle.Builder<B extends TLspRulerSegmentLabelContentStyle.Builder<B>>
aStyle
- the style to copythis
public TLspRulerSegmentLabelContentStyle build()
build
in class TLspRulerDistanceFormatStyle.Builder<B extends TLspRulerSegmentLabelContentStyle.Builder<B>>