Skip to main content
HomePlaygroundGuideAPIBenchmarks
↑↓ navigate↵ openesc close

Guide navigation

API
  • 01Overview
  • 02All symbols A-Z
Subsystems
  • 01Core
  • 02Drawing / Rendering
  • 03UI
  • 04Input
  • 05Audio
  • 06Animation
  • 07Assets
  • 08Math
  • 09Extensions
  • 10Debug / Tooling
  • 11Particles (official extension)
  • 12Tilemap (official extension)
  • 13Tiled (official extension)
  • 14Physics (official extension)
  • 15Tilemap physics (official extension)
  • 16Lighting (official extension)
  • 17Pathfinding (official extension)
  • 18Aseprite (official extension)
  • 19LDtk (official extension)
UI
  • 01Button
  • 02ButtonOptions
  • 03ButtonState
  • 04CheckableOptions
  • 05CheckableWidget
  • 06Checkbox
  • 07CheckboxOptions
  • 08DockContainer
  • 09DockContainerOptions
  • 10DockRegion
  • 11Dropdown
  • 12DropdownItem
  • 13DropdownOptions
  • 14Label
  • 15Panel
  • 16PanelOptions
  • 17ProgressBar
  • 18ProgressBarFillMode
  • 19ProgressBarOptions
  • 20Scrollbar
  • 21ScrollbarOptions
  • 22ScrollbarOrientation
  • 23ScrollbarVisibility
  • 24ScrollContainer
  • 25ScrollContainerOptions
  • 26ScrollDirection
  • 27Slider
  • 28SliderOptions
  • 29Stack
  • 30StackAlign
  • 31StackDirection
  • 32StackOptions
  • 33TextArea
  • 34TextAreaOptions
  • 35TextEditWidget
  • 36TextInput
  • 37TextInputOptions
  • 38ThemedContainer
  • 39Toggle
  • 40ToggleOptions
  • 41Tooltip
  • 42TooltipOptions
  • 43UIAnimatedBackground
  • 44UIBackground
  • 45UIBackgroundInput
  • 46UIBackgroundNode
  • 47UIBackgroundOptions
  • 48UIFillBackground
  • 49UIFillPatch
  • 50UIInsets
  • 51UINineSliceBackground
  • 52UINoBackground
  • 53UIRoot
  • 54UISkin
  • 55UISkinPatch
  • 56UISkinSet
  • 57UISkinSetPatch
  • 58UISpriteBackground
  • 59UISpriteFit
  • 60UITheme
  • 61UIThemePatch
  • 62UIThemeRole
  • 63UIWidgetState
  • 64Widget
  • 65WidgetAnchor

API reference

Every public class, method, and event in @codexo/exojs. Generated from source.

T

typeUIBackground

@codexo/exojs / ui / stable

How a widget paints its body.

0
props
0
methods
0
events
Import
import { UIBackground } from '@codexo/exojs'

How a widget paints its body.

Definition1
UIAnimatedBackgroundClip-driven background: an atlas, the clips cut from it, and the one that plays. Stretched over the widget box, so it suits a flat animated panel face or a pro… | UIFillBackgroundVector background: a rounded rectangle with an optional stroked border. | UINineSliceBackgroundTextured background drawn as a nine-slice, so corners stay pixel-perfect while edges and center fill the widget's layout size. | UINoBackgroundWidget surface that paints nothing - the whole node is its content. | UISpriteBackgroundFlat 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 p…
Source
src/ui/theme.ts
On this page
  • Import
  • Definition
  • Source
Tools
  • API index
  • All symbols A-Z
  • Read Guide
  • Try Playground
  • Source link