Winter Cardinal UI - v0.442.0 / DBaseBorderOptions
DBase border options.
• Optional
align: DStateAwareOrValueMightBe
<number
>
An align or a function returning an align. If a computed value is undefined, falls back to a border align of a theme. If an align is 0, a border is rendered completely inside of a DBase. If an align is 1, a border is rendered completely outside of a DBase.
src/main/typescript/wcardinal/ui/d-base.ts:308
• Optional
alpha: DStateAwareOrValueMightBe
<number
>
An alpha or a function returning an alpha. If a computed value is undefined, falls back to a border alpha of a theme.
src/main/typescript/wcardinal/ui/d-base.ts:294
• Optional
color: DStateAwareOrValueMightBe
<null
| number
>
A color code or a function returning a color code. If a computed value is undefined, falls back to the theme color. If a computed value is null, a background is not rendered.
src/main/typescript/wcardinal/ui/d-base.ts:288
• Optional
mask: DStateAwareOrValueMightBe
<number
> | "NONE"
| "TOP"
| "RIGHT"
| "BOTTOM"
| "LEFT"
| "TOP_RIGHT"
| "TOP_BOTTOM"
| "TOP_LEFT"
| "RIGHT_BOTTOM"
| "RIGHT_LEFT"
| "BOTTOM_LEFT"
| "NOT_TOP"
| "NOT_RIGHT"
| "NOT_BOTTOM"
| "NOT_LEFT"
| "ALL"
Masked borders get removed.
src/main/typescript/wcardinal/ui/d-base.ts:311
• Optional
width: DStateAwareOrValueMightBe
<number
>
A width or a function returning a width. If a computed value is undefined, falls back to a border width of a theme.