API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
interfaceUIBackgroundOptions
@codexo/exojs / ui / stable
How a texture is turned into a background descriptor.
4
props
0
methods
0
events
Import
import { UIBackgroundOptions } from '@codexo/exojs'How a texture is turned into a background descriptor.
Properties4
border?: Partial<NineSliceInsetsSource-space or destination-space per-edge insets.> | numberDestination border widths; defaults to slices.
Paint the texture flat with this fit instead of slicing it.
slices?: Partial<NineSliceInsetsSource-space or destination-space per-edge insets.> | numberSource-texture slice widths in texels; defaults to a third of the source per axis.
Source