/** * Opens and returns the writer for the {@code distanceDisplayCondition} property. The {@code distanceDisplayCondition} property defines the display condition specifying the distance from the camera at which this label will be displayed. */ @Nonnull public final DistanceDisplayConditionCesiumWriter openDistanceDisplayConditionProperty() { openIntervalIfNecessary(); return this.<DistanceDisplayConditionCesiumWriter> openAndReturn(getDistanceDisplayConditionWriter()); }
/** * Opens and returns the writer for the {@code font} property. The {@code font} property defines the font to use for the label. If not specified, the default value is 30px sans-serif. */ @Nonnull public final FontCesiumWriter openFontProperty() { openIntervalIfNecessary(); return this.<FontCesiumWriter> openAndReturn(getFontWriter()); }
/** * Opens and returns the writer for the {@code backgroundPadding} property. The {@code backgroundPadding} property defines the amount of padding between the text and the label's background. If not specified, the default value is [7, 5]. */ @Nonnull public final BackgroundPaddingCesiumWriter openBackgroundPaddingProperty() { openIntervalIfNecessary(); return this.<BackgroundPaddingCesiumWriter> openAndReturn(getBackgroundPaddingWriter()); }
/** * Opens and returns the writer for the {@code style} property. The {@code style} property defines the style of the label. If not specified, the default value is FILL. */ @Nonnull public final LabelStyleCesiumWriter openStyleProperty() { openIntervalIfNecessary(); return this.<LabelStyleCesiumWriter> openAndReturn(getStyleWriter()); }
/** * Opens and returns the writer for the {@code scale} property. The {@code scale} property defines the scale of the label. The scale is multiplied with the pixel size of the label's text. For example, if the scale is 2.0, the label will be rendered with twice the number of pixels, in each direction, of the text. If not specified, the default value is 1.0. */ @Nonnull public final DoubleCesiumWriter openScaleProperty() { openIntervalIfNecessary(); return this.<DoubleCesiumWriter> openAndReturn(getScaleWriter()); }
/** * Opens and returns the writer for the {@code eyeOffset} property. The {@code eyeOffset} property defines the eye offset of the label, which is the offset in eye coordinates at which to place the label relative to the {@code position} property. Eye coordinates are a left-handed coordinate system where the X-axis points toward the viewer's right, the Y-axis points up, and the Z-axis points into the screen. If not specified, the default value is [0.0, 0.0, 0.0]. */ @Nonnull public final EyeOffsetCesiumWriter openEyeOffsetProperty() { openIntervalIfNecessary(); return this.<EyeOffsetCesiumWriter> openAndReturn(getEyeOffsetWriter()); }
/** * Opens and returns the writer for the {@code outlineColor} property. The {@code outlineColor} property defines the outline color of the label. If not specified, the default value is black. */ @Nonnull public final ColorCesiumWriter openOutlineColorProperty() { openIntervalIfNecessary(); return this.<ColorCesiumWriter> openAndReturn(getOutlineColorWriter()); }
/** * Opens and returns the writer for the {@code translucencyByDistance} property. The {@code translucencyByDistance} property defines how the label's translucency should change based on the label's distance from the camera. This scalar value should range from 0 to 1. */ @Nonnull public final NearFarScalarCesiumWriter openTranslucencyByDistanceProperty() { openIntervalIfNecessary(); return this.<NearFarScalarCesiumWriter> openAndReturn(getTranslucencyByDistanceWriter()); }
/** * Opens and returns the writer for the {@code disableDepthTestDistance} property. The {@code disableDepthTestDistance} property defines the distance from the camera at which to disable the depth test. This can be used to prevent clipping against terrain, for example. When set to zero, the depth test is always applied. When set to Infinity, the depth test is never applied. If not specified, the default value is 0.0. */ @Nonnull public final DoubleCesiumWriter openDisableDepthTestDistanceProperty() { openIntervalIfNecessary(); return this.<DoubleCesiumWriter> openAndReturn(getDisableDepthTestDistanceWriter()); }
/** * Opens and returns the writer for the {@code text} property. The {@code text} property defines the text displayed by the label. The newline character (\n) indicates line breaks. */ @Nonnull public final StringCesiumWriter openTextProperty() { openIntervalIfNecessary(); return this.<StringCesiumWriter> openAndReturn(getTextWriter()); }
/** * Opens and returns the writer for the {@code showBackground} property. The {@code showBackground} property defines whether or not a background behind the label is shown. If not specified, the default value is {@code false}. */ @Nonnull public final BooleanCesiumWriter openShowBackgroundProperty() { openIntervalIfNecessary(); return this.<BooleanCesiumWriter> openAndReturn(getShowBackgroundWriter()); }
/** * Opens and returns the writer for the {@code verticalOrigin} property. The {@code verticalOrigin} property defines the vertical origin of the label. It controls whether the label image is bottom-, center-, or top-aligned with the {@code position}. If not specified, the default value is CENTER. */ @Nonnull public final VerticalOriginCesiumWriter openVerticalOriginProperty() { openIntervalIfNecessary(); return this.<VerticalOriginCesiumWriter> openAndReturn(getVerticalOriginWriter()); }
/** * Opens and returns the writer for the {@code outlineWidth} property. The {@code outlineWidth} property defines the outline width of the label. If not specified, the default value is 1.0. */ @Nonnull public final DoubleCesiumWriter openOutlineWidthProperty() { openIntervalIfNecessary(); return this.<DoubleCesiumWriter> openAndReturn(getOutlineWidthWriter()); }
/** * Opens and returns the writer for the {@code pixelOffsetScaleByDistance} property. The {@code pixelOffsetScaleByDistance} property defines how the label's pixel offset should change based on the label's distance from the camera. This scalar value will be multiplied by {@code pixelOffset}. */ @Nonnull public final NearFarScalarCesiumWriter openPixelOffsetScaleByDistanceProperty() { openIntervalIfNecessary(); return this.<NearFarScalarCesiumWriter> openAndReturn(getPixelOffsetScaleByDistanceWriter()); }
/** * Opens and returns the writer for the {@code scaleByDistance} property. The {@code scaleByDistance} property defines how the label's scale should change based on the label's distance from the camera. This scalar value will be multiplied by {@code scale}. */ @Nonnull public final NearFarScalarCesiumWriter openScaleByDistanceProperty() { openIntervalIfNecessary(); return this.<NearFarScalarCesiumWriter> openAndReturn(getScaleByDistanceWriter()); }
/** * Opens and returns the writer for the {@code backgroundColor} property. The {@code backgroundColor} property defines the color of the background behind the label. If not specified, the default value is [0.165, 0.165, 0.165, 0.8]. */ @Nonnull public final ColorCesiumWriter openBackgroundColorProperty() { openIntervalIfNecessary(); return this.<ColorCesiumWriter> openAndReturn(getBackgroundColorWriter()); }
/** * Opens and returns the writer for the {@code pixelOffset} property. The {@code pixelOffset} property defines the offset, in viewport pixels, of the label origin from the {@code position}. A pixel offset is the number of pixels up and to the right to place the label, relative to the {@code position}. If not specified, the default value is [0.0, 0.0]. */ @Nonnull public final PixelOffsetCesiumWriter openPixelOffsetProperty() { openIntervalIfNecessary(); return this.<PixelOffsetCesiumWriter> openAndReturn(getPixelOffsetWriter()); }
/** * Opens and returns the writer for the {@code horizontalOrigin} property. The {@code horizontalOrigin} property defines the horizontal origin of the label. It controls whether the label is left-, center-, or right-aligned with the {@code position}. If not specified, the default value is CENTER. */ @Nonnull public final HorizontalOriginCesiumWriter openHorizontalOriginProperty() { openIntervalIfNecessary(); return this.<HorizontalOriginCesiumWriter> openAndReturn(getHorizontalOriginWriter()); }
/** * Opens and returns the writer for the {@code heightReference} property. The {@code heightReference} property defines the height reference of the label, which indicates if the position is relative to terrain or not. If not specified, the default value is NONE. */ @Nonnull public final HeightReferenceCesiumWriter openHeightReferenceProperty() { openIntervalIfNecessary(); return this.<HeightReferenceCesiumWriter> openAndReturn(getHeightReferenceWriter()); }
/** * Opens and returns the writer for the {@code fillColor} property. The {@code fillColor} property defines the fill color of the label. If not specified, the default value is white. */ @Nonnull public final ColorCesiumWriter openFillColorProperty() { openIntervalIfNecessary(); return this.<ColorCesiumWriter> openAndReturn(getFillColorWriter()); }