/** * Copies this instance and returns the copy. * @return The copy. */ @Override public PixelOffsetCesiumWriter clone() { return new PixelOffsetCesiumWriter(this); }
/** * Writes the value expressed as a {@code cartesian2}, which is the pixel offset specified as a two-dimensional Cartesian value {@code [X, Y]}, in viewport coordinates in pixels, where X is pixels to the right and Y is pixels up. * @param dates The dates at which the value is specified. * @param values The values corresponding to each date. * @param startIndex The index of the first element to write. * @param length The number of elements to write. */ public final void writeCartesian2(List<JulianDate> dates, List<Rectangular> values, int startIndex, int length) { final String PropertyName = Cartesian2PropertyName; openIntervalIfNecessary(); CesiumWritingHelper.writeCartesian2(getOutput(), PropertyName, dates, values, startIndex, length); }
/** * Writes the value expressed as a {@code cartesian2}, which is the pixel offset specified as a two-dimensional Cartesian value {@code [X, Y]}, in viewport coordinates in pixels, where X is pixels to the right and Y is pixels up. * @param dates The dates at which the value is specified. * @param values The values corresponding to each date. */ public final void writeCartesian2(List<JulianDate> dates, List<Rectangular> values) { writeCartesian2(dates, values, 0, dates.size()); }
/** * Writes a value for the {@code pixelOffset} property as a {@code reference} value. The {@code pixelOffset} property specifies the offset, in viewport pixels, of the billboard origin from the {@code position}. A pixel offset is the number of pixels up and to the right to place the billboard, relative to the {@code position}. If not specified, the default value is [0.0, 0.0]. * @param value The earliest date of the interval. */ public final void writePixelOffsetPropertyReference(String value) { { cesiumlanguagewriter.PixelOffsetCesiumWriter writer = openPixelOffsetProperty(); try { writer.writeReference(value); } finally { DisposeHelper.dispose(writer); } } }
/** * Writes a value for the {@code pixelOffset} property as a {@code reference} value. The {@code pixelOffset} property specifies the offset, in viewport pixels, of the billboard origin from the {@code position}. A pixel offset is the number of pixels up and to the right to place the billboard, relative to the {@code position}. If not specified, the default value is [0.0, 0.0]. * @param identifier The identifier of the object which contains the referenced property. * @param propertyName The property on the referenced object. */ public final void writePixelOffsetPropertyReference(String identifier, String propertyName) { { cesiumlanguagewriter.PixelOffsetCesiumWriter writer = openPixelOffsetProperty(); try { writer.writeReference(identifier, propertyName); } finally { DisposeHelper.dispose(writer); } } }
/** * Writes the value expressed as a {@code reference}, which is the pixel offset specified as a reference to another property. * @param value The reference. */ public final void writeReference(Reference value) { final String PropertyName = ReferencePropertyName; openIntervalIfNecessary(); getOutput().writePropertyName(PropertyName); CesiumWritingHelper.writeReference(getOutput(), value); }
/** * Writes the value expressed as a {@code cartesian2}, which is the pixel offset specified as a two-dimensional Cartesian value {@code [X, Y]}, in viewport coordinates in pixels, where X is pixels to the right and Y is pixels up. * @param x The X component. * @param y The Y component. */ public final void writeCartesian2(double x, double y) { writeCartesian2(new Rectangular(x, y)); }
/** * Writes a value for the {@code pixelOffset} property as a {@code reference} value. The {@code pixelOffset} property specifies the offset, in viewport pixels, of the billboard origin from the {@code position}. A pixel offset is the number of pixels up and to the right to place the billboard, relative to the {@code position}. If not specified, the default value is [0.0, 0.0]. * @param identifier The identifier of the object which contains the referenced property. * @param propertyNames The hierarchy of properties to be indexed on the referenced object. */ public final void writePixelOffsetPropertyReference(String identifier, String[] propertyNames) { { cesiumlanguagewriter.PixelOffsetCesiumWriter writer = openPixelOffsetProperty(); try { writer.writeReference(identifier, propertyNames); } finally { DisposeHelper.dispose(writer); } } }
public cesiumlanguagewriter.PixelOffsetCesiumWriter invoke() { return new PixelOffsetCesiumWriter(PixelOffsetPropertyName); } }, false);
/** * Writes the value expressed as a {@code reference}, which is the pixel offset specified as a reference to another property. * @param identifier The identifier of the object which contains the referenced property. * @param propertyNames The hierarchy of properties to be indexed on the referenced object. */ public final void writeReference(String identifier, String[] propertyNames) { final String PropertyName = ReferencePropertyName; openIntervalIfNecessary(); getOutput().writePropertyName(PropertyName); CesiumWritingHelper.writeReference(getOutput(), identifier, propertyNames); }
/** * Writes a value for the {@code pixelOffset} property as a {@code cartesian2} value. The {@code pixelOffset} property specifies the offset, in viewport pixels, of the billboard origin from the {@code position}. A pixel offset is the number of pixels up and to the right to place the billboard, relative to the {@code position}. If not specified, the default value is [0.0, 0.0]. * @param value The value. */ public final void writePixelOffsetProperty(@Nonnull Rectangular value) { { cesiumlanguagewriter.PixelOffsetCesiumWriter writer = openPixelOffsetProperty(); try { writer.writeCartesian2(value); } finally { DisposeHelper.dispose(writer); } } }
/** * Writes a value for the {@code pixelOffset} property as a {@code reference} value. The {@code pixelOffset} property specifies 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]. * @param value The reference. */ public final void writePixelOffsetPropertyReference(Reference value) { { cesiumlanguagewriter.PixelOffsetCesiumWriter writer = openPixelOffsetProperty(); try { writer.writeReference(value); } finally { DisposeHelper.dispose(writer); } } }
public cesiumlanguagewriter.PixelOffsetCesiumWriter invoke() { return new PixelOffsetCesiumWriter(PixelOffsetPropertyName); } }, false);
/** * Writes the value expressed as a {@code reference}, which is the pixel offset specified as a reference to another property. * @param value The earliest date of the interval. */ public final void writeReference(String value) { final String PropertyName = ReferencePropertyName; openIntervalIfNecessary(); getOutput().writePropertyName(PropertyName); CesiumWritingHelper.writeReference(getOutput(), value); }
/** * Writes a value for the {@code pixelOffset} property as a {@code cartesian2} value. The {@code pixelOffset} property specifies 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]. * @param value The value. */ public final void writePixelOffsetProperty(@Nonnull Rectangular value) { { cesiumlanguagewriter.PixelOffsetCesiumWriter writer = openPixelOffsetProperty(); try { writer.writeCartesian2(value); } finally { DisposeHelper.dispose(writer); } } }
/** * Writes a value for the {@code pixelOffset} property as a {@code reference} value. The {@code pixelOffset} property specifies 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]. * @param identifier The identifier of the object which contains the referenced property. * @param propertyNames The hierarchy of properties to be indexed on the referenced object. */ public final void writePixelOffsetPropertyReference(String identifier, String[] propertyNames) { { cesiumlanguagewriter.PixelOffsetCesiumWriter writer = openPixelOffsetProperty(); try { writer.writeReference(identifier, propertyNames); } finally { DisposeHelper.dispose(writer); } } }
/** * Writes the value expressed as a {@code cartesian2}, which is the pixel offset specified as a two-dimensional Cartesian value {@code [X, Y]}, in viewport coordinates in pixels, where X is pixels to the right and Y is pixels up. * @param value The value. */ public final void writeCartesian2(@Nonnull Rectangular value) { final String PropertyName = Cartesian2PropertyName; openIntervalIfNecessary(); getOutput().writePropertyName(PropertyName); CesiumWritingHelper.writeCartesian2(getOutput(), value); }
/** * Writes a value for the {@code pixelOffset} property as a {@code cartesian2} value. The {@code pixelOffset} property specifies the offset, in viewport pixels, of the billboard origin from the {@code position}. A pixel offset is the number of pixels up and to the right to place the billboard, relative to the {@code position}. If not specified, the default value is [0.0, 0.0]. * @param dates The dates at which the value is specified. * @param values The values corresponding to each date. * @param startIndex The index of the first element to write. * @param length The number of elements to write. */ public final void writePixelOffsetProperty(List<JulianDate> dates, List<Rectangular> values, int startIndex, int length) { { cesiumlanguagewriter.PixelOffsetCesiumWriter writer = openPixelOffsetProperty(); try { writer.writeCartesian2(dates, values, startIndex, length); } finally { DisposeHelper.dispose(writer); } } }
/** * Writes a value for the {@code pixelOffset} property as a {@code reference} value. The {@code pixelOffset} property specifies 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]. * @param value The earliest date of the interval. */ public final void writePixelOffsetPropertyReference(String value) { { cesiumlanguagewriter.PixelOffsetCesiumWriter writer = openPixelOffsetProperty(); try { writer.writeReference(value); } finally { DisposeHelper.dispose(writer); } } }
/** * Writes the value expressed as a {@code reference}, which is the pixel offset specified as a reference to another property. * @param identifier The identifier of the object which contains the referenced property. * @param propertyName The property on the referenced object. */ public final void writeReference(String identifier, String propertyName) { final String PropertyName = ReferencePropertyName; openIntervalIfNecessary(); getOutput().writePropertyName(PropertyName); CesiumWritingHelper.writeReference(getOutput(), identifier, propertyName); }