Interface GuiImage
- All Known Implementing Classes:
GuiImage.Gradient, GuiImage.Mesh, GuiImage.Raster, GuiImage.RetainedSvg, GuiImage.Svg, GuiImage.Worklet
public sealed interface GuiImage
permits GuiImage.Raster, GuiImage.Svg, GuiImage.RetainedSvg, GuiImage.Gradient, GuiImage.Mesh, GuiImage.Worklet
Reusable image value shared by component content and modern paint properties.
The variants are renderer-neutral definitions. Raster and static SVG images use RenderLib's bounded asynchronous asset cache; gradients, meshes, and worklets remain retained paint definitions.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA detached legacy-gradient definition.static final recordstatic final recordstatic final recordstatic final recordstatic final record -
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic GuiImagegradient(GuiGradient gradient) static GuiImagemesh(GuiMeshGradient mesh) static GuiImageraster(GuiImageSource source) static GuiImagesvg(GuiSvgDocument document) static GuiImagesvg(GuiSvgSource source) static GuiImageworklet(GuiPaintWorklet worklet)
-
Method Details
-
raster
-
svg
-
svg
-
gradient
-
mesh
-
worklet
-