API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
interfaceUINineSliceBackground
@codexo/exojs / ui / stable
Textured background drawn as a nine-slice, so corners stay pixel-perfect while edges and center fill the widget's layout size.
5
props
0
methods
0
events
Import
import { UINineSliceBackground } from '@codexo/exojs'Textured background drawn as a nine-slice, so corners stay pixel-perfect while edges and center fill the widget's layout size.
Properties5
border?: Partial<NineSliceInsetsSource-space or destination-space per-edge insets.> | numberDestination border widths; defaults to slices (1:1 corners).
kind: "nineSlice"slices: Partial<NineSliceInsetsSource-space or destination-space per-edge insets.> | numberSource-texture slice widths, in texels.
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