@relu-interactives/spatial-ecs
@relu-interactives/spatial-ecs / components / UIPanelOptions
Type Alias: UIPanelOptions ​
ts
type UIPanelOptions = {
width?: number;
height?: number;
backgroundColor?: string;
backgroundOpacity?: number;
cornerRadius?: number;
borderWidth?: number;
borderColor?: string;
pixelDensity?: number;
follow?: UiFollowMode;
style?: UiStyle;
tokens?: UiTokens;
theme?: string;
variant?: UiPanelVariant;
renderer?: UiRendererMode;
};Defined in: components/UIPanel.ts:20
Optional initializer for UIPanelComponent.
Properties ​
| Property | Type | Defined in |
|---|---|---|
width? | number | components/UIPanel.ts:21 |
height? | number | components/UIPanel.ts:22 |
backgroundColor? | string | components/UIPanel.ts:23 |
backgroundOpacity? | number | components/UIPanel.ts:24 |
cornerRadius? | number | components/UIPanel.ts:25 |
borderWidth? | number | components/UIPanel.ts:26 |
borderColor? | string | components/UIPanel.ts:27 |
pixelDensity? | number | components/UIPanel.ts:28 |
follow? | UiFollowMode | components/UIPanel.ts:29 |
style? | UiStyle | components/UIPanel.ts:30 |
tokens? | UiTokens | components/UIPanel.ts:31 |
theme? | string | components/UIPanel.ts:32 |
variant? | UiPanelVariant | components/UIPanel.ts:33 |
renderer? | UiRendererMode | components/UIPanel.ts:34 |

