Winter Cardinal UI - v0.442.0 / DThemeDarkContent

Class: DThemeDarkContent

DBase theme.

Hierarchy

Implements

Table of contents

Constructors

Methods

Constructors

constructor

new DThemeDarkContent(): DThemeDarkContent

Returns

DThemeDarkContent

Inherited from

DThemeDarkBase.constructor

Methods

getAlpha

getAlpha(state): number

Parameters

Name Type
state DBaseStateSet

Returns

number

Implementation of

DThemeContent.getAlpha

Inherited from

DThemeDarkBase.getAlpha

Defined in

src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-font.ts:35


getBackgroundAlpha

getBackgroundAlpha(state): number

Returns a background alpha.

Parameters

Name Type Description
state DBaseStateSet a state

Returns

number

Implementation of

DThemeContent.getBackgroundAlpha

Inherited from

DThemeDarkBase.getBackgroundAlpha

Defined in

src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-base.ts:84


getBackgroundColor

getBackgroundColor(state): null | number

Returns a background color. If the color is null, backgrounds are not be rendered.

Parameters

Name Type Description
state DBaseStateSet a state

Returns

null | number

Implementation of

DThemeContent.getBackgroundColor

Inherited from

DThemeDarkBase.getBackgroundColor

Defined in

src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-base.ts:80


getBackgroundTexture

getBackgroundTexture(): Texture

Returns a background texture.

Returns

Texture

Implementation of

DThemeContent.getBackgroundTexture

Inherited from

DThemeDarkBase.getBackgroundTexture

Defined in

src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-base.ts:88


getBorderAlign

getBorderAlign(state): number

Returns a border align.

Parameters

Name Type Description
state DBaseStateSet a state

Returns

number

Implementation of

DThemeContent.getBorderAlign

Inherited from

DThemeDarkBase.getBorderAlign

Defined in

src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-base.ts:104


getBorderAlpha

getBorderAlpha(state): number

Returns a border alpha.

Parameters

Name Type Description
state DBaseStateSet a state

Returns

number

Implementation of

DThemeContent.getBorderAlpha

Inherited from

DThemeDarkBase.getBorderAlpha

Defined in

src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-base.ts:96


getBorderColor

getBorderColor(state): null | number

Returns a border color. If the color is null, borders are not be rendered.

Parameters

Name Type Description
state DBaseStateSet a state

Returns

null | number

Implementation of

DThemeContent.getBorderColor

Overrides

DThemeDarkBase.getBorderColor

Defined in

src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-content.ts:17


getBorderMask

getBorderMask(state): number

Returns a border mask.

Parameters

Name Type Description
state DBaseStateSet a mask

Returns

number

Implementation of

DThemeContent.getBorderMask

Inherited from

DThemeDarkBase.getBorderMask

Defined in

src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-base.ts:108


getBorderTexture

getBorderTexture(): Texture

Returns a border texture.

Returns

Texture

Implementation of

DThemeContent.getBorderTexture

Inherited from

DThemeDarkBase.getBorderTexture

Defined in

src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-base.ts:112


getBorderWidth

getBorderWidth(state): number

Returns a border width.

Parameters

Name Type Description
state DBaseStateSet a state

Returns

number

Implementation of

DThemeContent.getBorderWidth

Inherited from

DThemeDarkBase.getBorderWidth

Defined in

src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-base.ts:100


getClearType

getClearType(): number

Returns a clear type. A clear type is for layout classes including DLayoutVertical.

Returns

number

Implementation of

DThemeContent.getClearType

Inherited from

DThemeDarkBase.getClearType

Defined in

src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-base.ts:167


getColor

getColor(state): number

Parameters

Name Type
state DBaseStateSet

Returns

number

Implementation of

DThemeContent.getColor

Inherited from

DThemeDarkBase.getColor

Defined in

src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-font.ts:19


getCornerMask

getCornerMask(): number

Returns a corner mask.

Returns

number

Implementation of

DThemeContent.getCornerMask

Inherited from

DThemeDarkBase.getCornerMask

Defined in

src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-base.ts:136


getCornerRadius

getCornerRadius(): number

Returns a corner radius.

Returns

number

Implementation of

DThemeContent.getCornerRadius

Inherited from

DThemeDarkBase.getCornerRadius

Defined in

src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-base.ts:132


getCursor

getCursor(state): string

Returns a cursor.

Parameters

Name Type
state DBaseStateSet

Returns

string

Implementation of

DThemeContent.getCursor

Inherited from

DThemeDarkBase.getCursor

Defined in

src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-base.ts:199


getFontFamilly

getFontFamilly(): string

Returns

string

Implementation of

DThemeContent.getFontFamilly

Inherited from

DThemeDarkBase.getFontFamilly

Defined in

src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-font.ts:11


getFontSize

getFontSize(): number

Returns

number

Implementation of

DThemeContent.getFontSize

Inherited from

DThemeDarkBase.getFontSize

Defined in

src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-font.ts:15


getFontStyle

getFontStyle(): DFontStyle

Returns

DFontStyle

Implementation of

DThemeContent.getFontStyle

Inherited from

DThemeDarkBase.getFontStyle

Defined in

src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-font.ts:27


getFontVariant

getFontVariant(): DFontVariant

Returns

DFontVariant

Implementation of

DThemeContent.getFontVariant

Inherited from

DThemeDarkBase.getFontVariant

Defined in

src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-font.ts:31


getFontWeight

getFontWeight(): DFontWeight

Returns

DFontWeight

Implementation of

DThemeContent.getFontWeight

Inherited from

DThemeDarkBase.getFontWeight

Defined in

src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-font.ts:23


getHeight

getHeight(): DCoordinateSize

Returns a height.

Returns

DCoordinateSize

Implementation of

DThemeContent.getHeight

Inherited from

DThemeDarkBase.getHeight

Defined in

src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-base.ts:72


getInteractive

getInteractive(): number

Returns an interactivity.

Returns

number

Implementation of

DThemeContent.getInteractive

Overrides

DThemeDarkBase.getInteractive

Defined in

src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-content.ts:21


getLineHeight

getLineHeight(): number

Returns

number

Implementation of

DThemeContent.getLineHeight

Inherited from

DThemeDarkBase.getLineHeight

Defined in

src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-font.ts:42


getOutlineAlign

getOutlineAlign(state): number

Returns an outline align.

Parameters

Name Type Description
state DBaseStateSet a state

Returns

number

Implementation of

DThemeContent.getOutlineAlign

Inherited from

DThemeDarkBase.getOutlineAlign

Defined in

src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-base.ts:159


getOutlineAlpha

getOutlineAlpha(state): number

Returns an outline alpha.

Parameters

Name Type Description
state DBaseStateSet a state

Returns

number

Implementation of

DThemeContent.getOutlineAlpha

Inherited from

DThemeDarkBase.getOutlineAlpha

Defined in

src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-base.ts:144


getOutlineColor

getOutlineColor(state): null | number

Returns an outline color. If the color is null, outlines are not be rendered.

Parameters

Name Type Description
state DBaseStateSet a state

Returns

null | number

Implementation of

DThemeContent.getOutlineColor

Inherited from

DThemeDarkBase.getOutlineColor

Defined in

src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-base.ts:140


getOutlineMask

getOutlineMask(state): number

Returns an outline mask.

Parameters

Name Type Description
state DBaseStateSet a state

Returns

number

Implementation of

DThemeContent.getOutlineMask

Inherited from

DThemeDarkBase.getOutlineMask

Defined in

src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-base.ts:163


getOutlineOffset

getOutlineOffset(state): number

Returns an outline offset.

Parameters

Name Type Description
state DBaseStateSet a state

Returns

number

Implementation of

DThemeContent.getOutlineOffset

Inherited from

DThemeDarkBase.getOutlineOffset

Defined in

src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-base.ts:155


getOutlineWidth

getOutlineWidth(state): number

Returns an outline width.

Parameters

Name Type Description
state DBaseStateSet a state

Returns

number

Implementation of

DThemeContent.getOutlineWidth

Inherited from

DThemeDarkBase.getOutlineWidth

Defined in

src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-base.ts:151


getPaddingBottom

getPaddingBottom(): number

Returns a bottom padding.

Returns

number

Implementation of

DThemeContent.getPaddingBottom

Inherited from

DThemeDarkBase.getPaddingBottom

Defined in

src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-base.ts:128


getPaddingLeft

getPaddingLeft(): number

Returns a left padding.

Returns

number

Implementation of

DThemeContent.getPaddingLeft

Inherited from

DThemeDarkBase.getPaddingLeft

Defined in

src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-base.ts:116


getPaddingRight

getPaddingRight(): number

Returns a right padding.

Returns

number

Implementation of

DThemeContent.getPaddingRight

Inherited from

DThemeDarkBase.getPaddingRight

Defined in

src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-base.ts:120


getPaddingTop

getPaddingTop(): number

Returns a top padding.

Returns

number

Implementation of

DThemeContent.getPaddingTop

Inherited from

DThemeDarkBase.getPaddingTop

Defined in

src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-base.ts:124


getShadow

getShadow(): null | DShadow

Returns a shadow. If a shadow is null, no shadow is rendered.

Returns

null | DShadow

Implementation of

DThemeContent.getShadow

Inherited from

DThemeDarkBase.getShadow

Defined in

src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-base.ts:171


getTitle

getTitle(): string

Returns a tooltip text.

Returns

string

Implementation of

DThemeContent.getTitle

Inherited from

DThemeDarkBase.getTitle

Defined in

src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-base.ts:183


getWeight

getWeight(): number

Returns a weight. Weights are for layout classes including DLayoutVertical. If a weight is less than or equals to zero, layout classes are supposed not to change a width / height.

Returns

number

Implementation of

DThemeContent.getWeight

Inherited from

DThemeDarkBase.getWeight

Defined in

src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-base.ts:187


getWidth

getWidth(): DCoordinateSize

Returns a width.

Returns

DCoordinateSize

Implementation of

DThemeContent.getWidth

Overrides

DThemeDarkBase.getWidth

Defined in

src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-content.ts:13


getX

getX(): DCoordinatePosition

Returns a X coordinate.

Returns

DCoordinatePosition

Implementation of

DThemeContent.getX

Inherited from

DThemeDarkBase.getX

Defined in

src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-base.ts:64


getY

getY(): DCoordinatePosition

Returns a Y coordinate.

Returns

DCoordinatePosition

Implementation of

DThemeContent.getY

Inherited from

DThemeDarkBase.getY

Defined in

src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-base.ts:68


newShadow

newShadow(): null | DShadow

Creates a new shadow.

Returns

null | DShadow

Implementation of

DThemeContent.newShadow

Inherited from

DThemeDarkBase.newShadow

Defined in

src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-base.ts:191


newShadowWeak

newShadowWeak(): null | DShadow

Creates a new weak shadow.

Returns

null | DShadow

Implementation of

DThemeContent.newShadowWeak

Inherited from

DThemeDarkBase.newShadowWeak

Defined in

src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-base.ts:195


newState

newState(state): void

Returns true if focusable.

Parameters

Name Type
state DBaseStateSet

Returns

void

Implementation of

DThemeContent.newState

Overrides

DThemeDarkBase.newState

Defined in

src/main/typescript/wcardinal/ui/theme/dark/d-theme-dark-content.ts:25