API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
interfaceUISpriteBackground
@codexo/exojs / ui / stable
Flat textured background: one image stretched over the widget box or tiled across it. Use a nine-slice instead for art with a frame that must keep its corner proportions.
3
props
0
methods
0
events
Import
import { UISpriteBackground } from '@codexo/exojs'Flat textured background: one image stretched over the widget box or tiled across it. Use a nine-slice instead for art with a frame that must keep its corner proportions.
Properties3
kind: "sprite"texture: TextureA static GPU texture sourced from an image, canvas, or video element. Holds the pixel source, its sampling state (ScaleModes, WrapModes) and its upload state (… | TextureRegionAn immutable descriptor for a rectangular sub-region of a Texture. Stores the pixel-space source rectangle, pre-computed normalised UV bounds, and optional ext…Source