/** * Writes the value expressed as a {@code uri}, which is the URI value. * @param image The image. A data URI will be created for this image, using PNG encoding. */ public final void writeUri(RenderedImage image) { writeUri(image, CesiumImageFormat.PNG); }
/** * Writes the value expressed as a {@code uri}, which is the URI value. * @param uri The URI of the data. The provided ICesiumUriResolver will be used to build the final URI embedded in the document. * @param resolver An ICesiumUriResolver used to build the final URI that will be embedded in the document. */ public final void writeUri(URI uri, ICesiumUriResolver resolver) { writeUri(uri.toString(), resolver); }
/** * Writes the value expressed as a {@code uri}, which is the URI value. * @param uri The URI of the data. * @param resourceBehavior An enumeration describing how to include the URI in the document. For even more control, use the overload that takes a ICesiumUriResolver. */ public final void writeUri(URI uri, @Nonnull CesiumResourceBehavior resourceBehavior) { writeUri(uri.toString(), resourceBehavior); }
/** * Writes the value expressed as a {@code uri}, which is the URI value. * @param resource A resource object describing external data. */ public final void writeUri(CesiumResource resource) { writeUri(resource.getUri(), resource.getBehavior()); }
/** * Writes a value for the {@code gltf} property as a {@code uri} value. The {@code gltf} property specifies the URI of a <a href="https://github.com/KhronosGroup/glTF">glTF</a> model. For broadest client compatibility, the URI should be accessible via Cross-Origin Resource Sharing (CORS). The URI may also be a <a href="https://developer.mozilla.org/en/data_URIs">data URI</a>. This value is required. * @param image The image. A data URI will be created for this image. * @param imageFormat The image format to use to encode the image in the data URI. */ public final void writeGltfProperty(RenderedImage image, @Nonnull CesiumImageFormat imageFormat) { { cesiumlanguagewriter.UriCesiumWriter writer = openGltfProperty(); try { writer.writeUri(image, imageFormat); } finally { DisposeHelper.dispose(writer); } } }
/** * Writes a value for the {@code image} property as a {@code uri} value. The {@code image} property specifies the URI of the image displayed on the billboard. For broadest client compatibility, the URI should be accessible via Cross-Origin Resource Sharing (CORS). The URI may also be a <a href="https://developer.mozilla.org/en/data_URIs">data URI</a>. This value is required. * @param uri The URI of the data. * @param resourceBehavior An enumeration describing how to include the URI in the document. For even more control, use the overload that takes a ICesiumUriResolver. */ public final void writeImageProperty(String uri, @Nonnull CesiumResourceBehavior resourceBehavior) { { cesiumlanguagewriter.UriCesiumWriter writer = openImageProperty(); try { writer.writeUri(uri, resourceBehavior); } finally { DisposeHelper.dispose(writer); } } }
/** * Writes a value for the {@code image} property as a {@code uri} value. The {@code image} property specifies the image to display on the surface. * @param image The image. A data URI will be created for this image. * @param imageFormat The image format to use to encode the image in the data URI. */ public final void writeImageProperty(RenderedImage image, @Nonnull CesiumImageFormat imageFormat) { { cesiumlanguagewriter.UriCesiumWriter writer = openImageProperty(); try { writer.writeUri(image, imageFormat); } finally { DisposeHelper.dispose(writer); } } }
/** * Writes a value for the {@code gltf} property as a {@code uri} value. The {@code gltf} property specifies the URI of a <a href="https://github.com/KhronosGroup/glTF">glTF</a> model. For broadest client compatibility, the URI should be accessible via Cross-Origin Resource Sharing (CORS). The URI may also be a <a href="https://developer.mozilla.org/en/data_URIs">data URI</a>. This value is required. * @param uri The URI of the data. * @param resourceBehavior An enumeration describing how to include the URI in the document. For even more control, use the overload that takes a ICesiumUriResolver. */ public final void writeGltfProperty(URI uri, @Nonnull CesiumResourceBehavior resourceBehavior) { { cesiumlanguagewriter.UriCesiumWriter writer = openGltfProperty(); try { writer.writeUri(uri, resourceBehavior); } finally { DisposeHelper.dispose(writer); } } }
/** * Writes a value for the {@code gltf} property as a {@code uri} value. The {@code gltf} property specifies the URI of a <a href="https://github.com/KhronosGroup/glTF">glTF</a> model. For broadest client compatibility, the URI should be accessible via Cross-Origin Resource Sharing (CORS). The URI may also be a <a href="https://developer.mozilla.org/en/data_URIs">data URI</a>. This value is required. * @param uri The URI of the data. * @param resourceBehavior An enumeration describing how to include the URI in the document. For even more control, use the overload that takes a ICesiumUriResolver. */ public final void writeGltfProperty(String uri, @Nonnull CesiumResourceBehavior resourceBehavior) { { cesiumlanguagewriter.UriCesiumWriter writer = openGltfProperty(); try { writer.writeUri(uri, resourceBehavior); } finally { DisposeHelper.dispose(writer); } } }
/** * Writes a value for the {@code image} property as a {@code uri} value. The {@code image} property specifies the image to display on the surface. * @param uri The URI of the data. * @param resourceBehavior An enumeration describing how to include the URI in the document. For even more control, use the overload that takes a ICesiumUriResolver. */ public final void writeImageProperty(URI uri, @Nonnull CesiumResourceBehavior resourceBehavior) { { cesiumlanguagewriter.UriCesiumWriter writer = openImageProperty(); try { writer.writeUri(uri, resourceBehavior); } finally { DisposeHelper.dispose(writer); } } }
/** * Writes a value for the {@code image} property as a {@code uri} value. The {@code image} property specifies the URI of the image displayed on the billboard. For broadest client compatibility, the URI should be accessible via Cross-Origin Resource Sharing (CORS). The URI may also be a <a href="https://developer.mozilla.org/en/data_URIs">data URI</a>. This value is required. * @param image The image. A data URI will be created for this image. * @param imageFormat The image format to use to encode the image in the data URI. */ public final void writeImageProperty(RenderedImage image, @Nonnull CesiumImageFormat imageFormat) { { cesiumlanguagewriter.UriCesiumWriter writer = openImageProperty(); try { writer.writeUri(image, imageFormat); } finally { DisposeHelper.dispose(writer); } } }
/** * Writes a value for the {@code image} property as a {@code uri} value. The {@code image} property specifies the image to display on the surface. * @param image The image. A data URI will be created for this image, using PNG encoding. */ public final void writeImageProperty(RenderedImage image) { { cesiumlanguagewriter.UriCesiumWriter writer = openImageProperty(); try { writer.writeUri(image); } finally { DisposeHelper.dispose(writer); } } }
/** * Writes a value for the {@code image} property as a {@code uri} value. The {@code image} property specifies the URI of the image displayed on the billboard. For broadest client compatibility, the URI should be accessible via Cross-Origin Resource Sharing (CORS). The URI may also be a <a href="https://developer.mozilla.org/en/data_URIs">data URI</a>. This value is required. * @param resource A resource object describing external data. */ public final void writeImageProperty(CesiumResource resource) { { cesiumlanguagewriter.UriCesiumWriter writer = openImageProperty(); try { writer.writeUri(resource); } finally { DisposeHelper.dispose(writer); } } }
/** * Writes a value for the {@code gltf} property as a {@code uri} value. The {@code gltf} property specifies the URI of a <a href="https://github.com/KhronosGroup/glTF">glTF</a> model. For broadest client compatibility, the URI should be accessible via Cross-Origin Resource Sharing (CORS). The URI may also be a <a href="https://developer.mozilla.org/en/data_URIs">data URI</a>. This value is required. * @param image The image. A data URI will be created for this image, using PNG encoding. */ public final void writeGltfProperty(RenderedImage image) { { cesiumlanguagewriter.UriCesiumWriter writer = openGltfProperty(); try { writer.writeUri(image); } finally { DisposeHelper.dispose(writer); } } }
/** * Writes a value for the {@code image} property as a {@code uri} value. The {@code image} property specifies the image to display on the surface. * @param uri The URI of the data. The provided ICesiumUriResolver will be used to build the final URI embedded in the document. * @param resolver An ICesiumUriResolver used to build the final URI that will be embedded in the document. */ public final void writeImageProperty(URI uri, ICesiumUriResolver resolver) { { cesiumlanguagewriter.UriCesiumWriter writer = openImageProperty(); try { writer.writeUri(uri, resolver); } finally { DisposeHelper.dispose(writer); } } }
/** * Writes a value for the {@code image} property as a {@code uri} value. The {@code image} property specifies the URI of the image displayed on the billboard. For broadest client compatibility, the URI should be accessible via Cross-Origin Resource Sharing (CORS). The URI may also be a <a href="https://developer.mozilla.org/en/data_URIs">data URI</a>. This value is required. * @param uri The URI of the data. The provided ICesiumUriResolver will be used to build the final URI embedded in the document. * @param resolver An ICesiumUriResolver used to build the final URI that will be embedded in the document. */ public final void writeImageProperty(URI uri, ICesiumUriResolver resolver) { { cesiumlanguagewriter.UriCesiumWriter writer = openImageProperty(); try { writer.writeUri(uri, resolver); } finally { DisposeHelper.dispose(writer); } } }
/** * Writes a value for the {@code gltf} property as a {@code uri} value. The {@code gltf} property specifies the URI of a <a href="https://github.com/KhronosGroup/glTF">glTF</a> model. For broadest client compatibility, the URI should be accessible via Cross-Origin Resource Sharing (CORS). The URI may also be a <a href="https://developer.mozilla.org/en/data_URIs">data URI</a>. This value is required. * @param uri The URI of the data. The provided ICesiumUriResolver will be used to build the final URI embedded in the document. * @param resolver An ICesiumUriResolver used to build the final URI that will be embedded in the document. */ public final void writeGltfProperty(String uri, ICesiumUriResolver resolver) { { cesiumlanguagewriter.UriCesiumWriter writer = openGltfProperty(); try { writer.writeUri(uri, resolver); } finally { DisposeHelper.dispose(writer); } } }
/** * Writes a value for the {@code gltf} property as a {@code uri} value. The {@code gltf} property specifies the URI of a <a href="https://github.com/KhronosGroup/glTF">glTF</a> model. For broadest client compatibility, the URI should be accessible via Cross-Origin Resource Sharing (CORS). The URI may also be a <a href="https://developer.mozilla.org/en/data_URIs">data URI</a>. This value is required. * @param uri The URI of the data. The provided ICesiumUriResolver will be used to build the final URI embedded in the document. * @param resolver An ICesiumUriResolver used to build the final URI that will be embedded in the document. */ public final void writeGltfProperty(URI uri, ICesiumUriResolver resolver) { { cesiumlanguagewriter.UriCesiumWriter writer = openGltfProperty(); try { writer.writeUri(uri, resolver); } finally { DisposeHelper.dispose(writer); } } }
/** * Writes a value for the {@code image} property as a {@code uri} value. The {@code image} property specifies the image to display on the surface. * @param resource A resource object describing external data. */ public final void writeImageProperty(CesiumResource resource) { { cesiumlanguagewriter.UriCesiumWriter writer = openImageProperty(); try { writer.writeUri(resource); } finally { DisposeHelper.dispose(writer); } } }
/** * Writes a value for the {@code image} property as a {@code uri} value. The {@code image} property specifies the URI of the image displayed on the billboard. For broadest client compatibility, the URI should be accessible via Cross-Origin Resource Sharing (CORS). The URI may also be a <a href="https://developer.mozilla.org/en/data_URIs">data URI</a>. This value is required. * @param image The image. A data URI will be created for this image, using PNG encoding. */ public final void writeImageProperty(RenderedImage image) { { cesiumlanguagewriter.UriCesiumWriter writer = openImageProperty(); try { writer.writeUri(image); } finally { DisposeHelper.dispose(writer); } } }