Winter Cardinal UI - v0.442.0 / DBaseBorderOptions

Interface: DBaseBorderOptions

DBase border options.

Table of contents

Properties

Properties

align

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.

Defined in

src/main/typescript/wcardinal/ui/d-base.ts:308


alpha

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.

Defined in

src/main/typescript/wcardinal/ui/d-base.ts:294


color

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.

Defined in

src/main/typescript/wcardinal/ui/d-base.ts:288


mask

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.

Defined in

src/main/typescript/wcardinal/ui/d-base.ts:311


width

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.

Defined in

src/main/typescript/wcardinal/ui/d-base.ts:300