/** * Writes the value expressed as a {@code cartesian2}, which is the offset of grid lines along each axis, specified as a percentage from 0 to 1. * @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 the value expressed as a {@code cartesian2}, which is the offset of grid lines along each axis, specified as a percentage from 0 to 1. * @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 lineOffset} property as a {@code cartesian2} value. The {@code lineOffset} property specifies the offset of grid lines along each axis, as a percentage from 0 to 1. If not specified, the default value is [0.0, 0.0]. * @param value The value. */ public final void writeLineOffsetProperty(@Nonnull Rectangular value) { { cesiumlanguagewriter.LineOffsetCesiumWriter writer = openLineOffsetProperty(); try { writer.writeCartesian2(value); } finally { DisposeHelper.dispose(writer); } } }
/** * Writes a value for the {@code lineOffset} property as a {@code cartesian2} value. The {@code lineOffset} property specifies the offset of grid lines along each axis, as a percentage from 0 to 1. If not specified, the default value is [0.0, 0.0]. * @param x The X component. * @param y The Y component. */ public final void writeLineOffsetProperty(double x, double y) { { cesiumlanguagewriter.LineOffsetCesiumWriter writer = openLineOffsetProperty(); try { writer.writeCartesian2(x, y); } finally { DisposeHelper.dispose(writer); } } }
/** * Writes a value for the {@code lineOffset} property as a {@code cartesian2} value. The {@code lineOffset} property specifies the offset of grid lines along each axis, as a percentage from 0 to 1. 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. */ public final void writeLineOffsetProperty(List<JulianDate> dates, List<Rectangular> values) { { cesiumlanguagewriter.LineOffsetCesiumWriter writer = openLineOffsetProperty(); try { writer.writeCartesian2(dates, values); } finally { DisposeHelper.dispose(writer); } } }
/** * Writes a value for the {@code lineOffset} property as a {@code cartesian2} value. The {@code lineOffset} property specifies the offset of grid lines along each axis, as a percentage from 0 to 1. 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 writeLineOffsetProperty(List<JulianDate> dates, List<Rectangular> values, int startIndex, int length) { { cesiumlanguagewriter.LineOffsetCesiumWriter writer = openLineOffsetProperty(); try { writer.writeCartesian2(dates, values, startIndex, length); } finally { DisposeHelper.dispose(writer); } } }