Winter Cardinal UI - v0.457.0 / DThemeWhiteMenuItemText
DImageBase theme.
↳ DThemeWhiteMenuItemText
• new DThemeWhiteMenuItemText(): DThemeWhiteMenuItemText
DThemeWhiteMenuItem.constructor
▸ getAlpha(state): number
| Name | Type |
|---|---|
state |
DBaseStateSet |
number
src/main/typescript/wcardinal/ui/theme/white/d-theme-white-font.ts:35
▸ getBackgroundAlpha(state): number
Returns a background alpha.
| Name | Type | Description |
|---|---|---|
state |
DBaseStateSet |
a state |
number
DThemeMenuItemText.getBackgroundAlpha
DThemeWhiteMenuItem.getBackgroundAlpha
src/main/typescript/wcardinal/ui/theme/white/d-theme-white-menu-item-base.ts:34
▸ getBackgroundAlphaActive(state): number
| Name | Type |
|---|---|
state |
DBaseStateSet |
number
DThemeWhiteMenuItem.getBackgroundAlphaActive
src/main/typescript/wcardinal/ui/theme/white/d-theme-white-menu-item.ts:16
▸ getBackgroundColor(state): null | number
Returns a background color. If the color is null, backgrounds are not be rendered.
| Name | Type | Description |
|---|---|---|
state |
DBaseStateSet |
a state |
null | number
DThemeMenuItemText.getBackgroundColor
DThemeWhiteMenuItem.getBackgroundColor
src/main/typescript/wcardinal/ui/theme/white/d-theme-white-menu-item-base.ts:18
▸ getBackgroundColorActive(state): null | number
| Name | Type |
|---|---|
state |
DBaseStateSet |
null | number
DThemeWhiteMenuItem.getBackgroundColorActive
src/main/typescript/wcardinal/ui/theme/white/d-theme-white-menu-item.ts:12
▸ getBackgroundTexture(): Texture
Returns a background texture.
Texture
DThemeMenuItemText.getBackgroundTexture
DThemeWhiteMenuItem.getBackgroundTexture
src/main/typescript/wcardinal/ui/theme/white/d-theme-white-base.ts:88
▸ getBorderAlign(state): number
Returns a border align.
| Name | Type | Description |
|---|---|---|
state |
DBaseStateSet |
a state |
number
DThemeMenuItemText.getBorderAlign
DThemeWhiteMenuItem.getBorderAlign
src/main/typescript/wcardinal/ui/theme/white/d-theme-white-base.ts:104
▸ getBorderAlpha(state): number
Returns a border alpha.
| Name | Type | Description |
|---|---|---|
state |
DBaseStateSet |
a state |
number
DThemeMenuItemText.getBorderAlpha
DThemeWhiteMenuItem.getBorderAlpha
src/main/typescript/wcardinal/ui/theme/white/d-theme-white-base.ts:96
▸ getBorderColor(state): null | number
Returns a border color. If the color is null, borders are not be rendered.
| Name | Type | Description |
|---|---|---|
state |
DBaseStateSet |
a state |
null | number
DThemeMenuItemText.getBorderColor
DThemeWhiteMenuItem.getBorderColor
src/main/typescript/wcardinal/ui/theme/white/d-theme-white-menu-item-base.ts:62
▸ getBorderMask(state): number
Returns a border mask.
| Name | Type | Description |
|---|---|---|
state |
DBaseStateSet |
a mask |
number
DThemeMenuItemText.getBorderMask
DThemeWhiteMenuItem.getBorderMask
src/main/typescript/wcardinal/ui/theme/white/d-theme-white-base.ts:108
▸ getBorderTexture(): Texture
Returns a border texture.
Texture
DThemeMenuItemText.getBorderTexture
DThemeWhiteMenuItem.getBorderTexture
src/main/typescript/wcardinal/ui/theme/white/d-theme-white-base.ts:112
▸ getBorderWidth(state): number
Returns a border width.
| Name | Type | Description |
|---|---|---|
state |
DBaseStateSet |
a state |
number
DThemeMenuItemText.getBorderWidth
DThemeWhiteMenuItem.getBorderWidth
src/main/typescript/wcardinal/ui/theme/white/d-theme-white-base.ts:100
▸ getClearType(): number
Returns a clear type. A clear type is for layout classes including DLayoutVertical.
number
DThemeMenuItemText.getClearType
DThemeWhiteMenuItem.getClearType
src/main/typescript/wcardinal/ui/theme/white/d-theme-white-base.ts:167
▸ getColor(state): number
| Name | Type |
|---|---|
state |
DBaseStateSet |
number
src/main/typescript/wcardinal/ui/theme/white/d-theme-white-menu-item-base.ts:48
▸ getColorActive(state): number
| Name | Type |
|---|---|
state |
DBaseStateSet |
number
DThemeWhiteMenuItem.getColorActive
src/main/typescript/wcardinal/ui/theme/white/d-theme-white-menu-item.ts:20
▸ getCornerMask(): number
Returns a corner mask.
number
DThemeMenuItemText.getCornerMask
DThemeWhiteMenuItem.getCornerMask
src/main/typescript/wcardinal/ui/theme/white/d-theme-white-menu-item-base.ts:86
▸ getCornerRadius(): number
Returns a corner radius.
number
DThemeMenuItemText.getCornerRadius
DThemeWhiteMenuItem.getCornerRadius
src/main/typescript/wcardinal/ui/theme/white/d-theme-white-base.ts:132
▸ getCursor(state): string
Returns a cursor.
| Name | Type |
|---|---|
state |
DBaseStateSet |
string
src/main/typescript/wcardinal/ui/theme/white/d-theme-white-menu-item-base.ts:90
▸ getFontFamilly(): string
string
DThemeMenuItemText.getFontFamilly
DThemeWhiteMenuItem.getFontFamilly
src/main/typescript/wcardinal/ui/theme/white/d-theme-white-font.ts:11
▸ getFontSize(): number
number
DThemeMenuItemText.getFontSize
DThemeWhiteMenuItem.getFontSize
src/main/typescript/wcardinal/ui/theme/white/d-theme-white-font.ts:15
▸ getFontStyle(): DFontStyle
DThemeMenuItemText.getFontStyle
DThemeWhiteMenuItem.getFontStyle
src/main/typescript/wcardinal/ui/theme/white/d-theme-white-font.ts:27
▸ getFontVariant(): DFontVariant
DThemeMenuItemText.getFontVariant
DThemeWhiteMenuItem.getFontVariant
src/main/typescript/wcardinal/ui/theme/white/d-theme-white-font.ts:31
▸ getFontWeight(): DFontWeight
DThemeMenuItemText.getFontWeight
DThemeWhiteMenuItem.getFontWeight
src/main/typescript/wcardinal/ui/theme/white/d-theme-white-font.ts:23
▸ getHeight(): DCoordinateSize
Returns a height.
src/main/typescript/wcardinal/ui/theme/white/d-theme-white-menu-item-base.ts:66
▸ getImageAlignHorizontal(): DAlignHorizontal
DThemeMenuItemText.getImageAlignHorizontal
DThemeWhiteMenuItem.getImageAlignHorizontal
src/main/typescript/wcardinal/ui/theme/white/d-theme-white-image-base.ts:18
▸ getImageAlignVertical(): DAlignVertical
DThemeMenuItemText.getImageAlignVertical
DThemeWhiteMenuItem.getImageAlignVertical
src/main/typescript/wcardinal/ui/theme/white/d-theme-white-image-base.ts:22
▸ getImageAlignWith(): DAlignWith
DThemeMenuItemText.getImageAlignWith
DThemeWhiteMenuItem.getImageAlignWith
src/main/typescript/wcardinal/ui/theme/white/d-theme-white-image-base.ts:26
▸ getImageMarginHorizontal(): number
number
DThemeMenuItemText.getImageMarginHorizontal
DThemeWhiteMenuItem.getImageMarginHorizontal
src/main/typescript/wcardinal/ui/theme/white/d-theme-white-image-base.ts:30
▸ getImageMarginVertial(): number
number
DThemeMenuItemText.getImageMarginVertial
DThemeWhiteMenuItem.getImageMarginVertial
src/main/typescript/wcardinal/ui/theme/white/d-theme-white-image-base.ts:34
▸ getImageRotation(state): number
| Name | Type |
|---|---|
state |
DBaseStateSet |
number
DThemeMenuItemText.getImageRotation
DThemeWhiteMenuItem.getImageRotation
src/main/typescript/wcardinal/ui/theme/white/d-theme-white-image-base.ts:46
▸ getImageSource(state): null | DisplayObject | Texture
| Name | Type |
|---|---|
state |
DBaseStateSet |
null | DisplayObject | Texture
DThemeMenuItemText.getImageSource
DThemeWhiteMenuItem.getImageSource
src/main/typescript/wcardinal/ui/theme/white/d-theme-white-image-base.ts:50
▸ getImageTintAlpha(state): number
| Name | Type |
|---|---|
state |
DBaseStateSet |
number
DThemeMenuItemText.getImageTintAlpha
DThemeWhiteMenuItem.getImageTintAlpha
src/main/typescript/wcardinal/ui/theme/white/d-theme-white-image-base.ts:42
▸ getImageTintColor(state): null | number
| Name | Type |
|---|---|
state |
DBaseStateSet |
null | number
DThemeMenuItemText.getImageTintColor
DThemeWhiteMenuItem.getImageTintColor
src/main/typescript/wcardinal/ui/theme/white/d-theme-white-image-base.ts:38
▸ getInteractive(): number
Returns an interactivity.
number
DThemeMenuItemText.getInteractive
DThemeWhiteMenuItem.getInteractive
src/main/typescript/wcardinal/ui/theme/white/d-theme-white-base.ts:175
▸ getLineHeight(): number
number
DThemeMenuItemText.getLineHeight
DThemeWhiteMenuItem.getLineHeight
src/main/typescript/wcardinal/ui/theme/white/d-theme-white-font.ts:42
▸ getOutlineAlign(state): number
Returns an outline align.
| Name | Type | Description |
|---|---|---|
state |
DBaseStateSet |
a state |
number
DThemeMenuItemText.getOutlineAlign
DThemeWhiteMenuItem.getOutlineAlign
src/main/typescript/wcardinal/ui/theme/white/d-theme-white-base.ts:159
▸ getOutlineAlpha(state): number
Returns an outline alpha.
| Name | Type | Description |
|---|---|---|
state |
DBaseStateSet |
a state |
number
DThemeMenuItemText.getOutlineAlpha
DThemeWhiteMenuItem.getOutlineAlpha
src/main/typescript/wcardinal/ui/theme/white/d-theme-white-base.ts:144
▸ getOutlineColor(state): null | number
Returns an outline color. If the color is null, outlines are not be rendered.
| Name | Type | Description |
|---|---|---|
state |
DBaseStateSet |
a state |
null | number
DThemeMenuItemText.getOutlineColor
DThemeWhiteMenuItem.getOutlineColor
src/main/typescript/wcardinal/ui/theme/white/d-theme-white-base.ts:140
▸ getOutlineMask(state): number
Returns an outline mask.
| Name | Type | Description |
|---|---|---|
state |
DBaseStateSet |
a state |
number
DThemeMenuItemText.getOutlineMask
DThemeWhiteMenuItem.getOutlineMask
src/main/typescript/wcardinal/ui/theme/white/d-theme-white-base.ts:163
▸ getOutlineOffset(state): number
Returns an outline offset.
| Name | Type | Description |
|---|---|---|
state |
DBaseStateSet |
a state |
number
DThemeMenuItemText.getOutlineOffset
DThemeWhiteMenuItem.getOutlineOffset
src/main/typescript/wcardinal/ui/theme/white/d-theme-white-base.ts:155
▸ getOutlineWidth(state): number
Returns an outline width.
| Name | Type | Description |
|---|---|---|
state |
DBaseStateSet |
a state |
number
DThemeMenuItemText.getOutlineWidth
DThemeWhiteMenuItem.getOutlineWidth
src/main/typescript/wcardinal/ui/theme/white/d-theme-white-base.ts:151
▸ getPaddingBottom(): number
Returns a bottom padding.
number
DThemeMenuItemText.getPaddingBottom
DThemeWhiteMenuItem.getPaddingBottom
src/main/typescript/wcardinal/ui/theme/white/d-theme-white-base.ts:128
▸ getPaddingLeft(): number
Returns a left padding.
number
DThemeMenuItemText.getPaddingLeft
DThemeWhiteMenuItem.getPaddingLeft
src/main/typescript/wcardinal/ui/theme/white/d-theme-white-menu-item.ts:24
▸ getPaddingRight(): number
Returns a right padding.
number
DThemeMenuItemText.getPaddingRight
DThemeWhiteMenuItem.getPaddingRight
src/main/typescript/wcardinal/ui/theme/white/d-theme-white-menu-item.ts:28
▸ getPaddingTop(): number
Returns a top padding.
number
DThemeMenuItemText.getPaddingTop
DThemeWhiteMenuItem.getPaddingTop
src/main/typescript/wcardinal/ui/theme/white/d-theme-white-base.ts:124
▸ getSecondaryImageAlignHorizontal(): DAlignHorizontal
DThemeMenuItemText.getSecondaryImageAlignHorizontal
DThemeWhiteMenuItem.getSecondaryImageAlignHorizontal
src/main/typescript/wcardinal/ui/theme/white/d-theme-white-image-base.ts:54
▸ getSecondaryImageAlignVertical(): DAlignVertical
DThemeMenuItemText.getSecondaryImageAlignVertical
DThemeWhiteMenuItem.getSecondaryImageAlignVertical
src/main/typescript/wcardinal/ui/theme/white/d-theme-white-image-base.ts:58
▸ getSecondaryImageAlignWith(): DAlignWith
DThemeMenuItemText.getSecondaryImageAlignWith
DThemeWhiteMenuItem.getSecondaryImageAlignWith
src/main/typescript/wcardinal/ui/theme/white/d-theme-white-image-base.ts:62
▸ getSecondaryImageMarginHorizontal(): number
number
DThemeMenuItemText.getSecondaryImageMarginHorizontal
DThemeWhiteMenuItem.getSecondaryImageMarginHorizontal
src/main/typescript/wcardinal/ui/theme/white/d-theme-white-image-base.ts:66
▸ getSecondaryImageMarginVertial(): number
number
DThemeMenuItemText.getSecondaryImageMarginVertial
DThemeWhiteMenuItem.getSecondaryImageMarginVertial
src/main/typescript/wcardinal/ui/theme/white/d-theme-white-image-base.ts:70
▸ getSecondaryImageRotation(state): number
| Name | Type |
|---|---|
state |
DBaseStateSet |
number
DThemeMenuItemText.getSecondaryImageRotation
DThemeWhiteMenuItem.getSecondaryImageRotation
src/main/typescript/wcardinal/ui/theme/white/d-theme-white-image-base.ts:82
▸ getSecondaryImageTintAlpha(state): number
| Name | Type |
|---|---|
state |
DBaseStateSet |
number
DThemeMenuItemText.getSecondaryImageTintAlpha
DThemeWhiteMenuItem.getSecondaryImageTintAlpha
src/main/typescript/wcardinal/ui/theme/white/d-theme-white-image-base.ts:78
▸ getSecondaryImageTintColor(state): null | number
| Name | Type |
|---|---|
state |
DBaseStateSet |
null | number
DThemeMenuItemText.getSecondaryImageTintColor
DThemeWhiteMenuItem.getSecondaryImageTintColor
src/main/typescript/wcardinal/ui/theme/white/d-theme-white-image-base.ts:74
▸ getShadow(): null | DShadow
Returns a shadow. If a shadow is null, no shadow is rendered.
null | DShadow
src/main/typescript/wcardinal/ui/theme/white/d-theme-white-base.ts:171
▸ getShortcutAlpha(state): number
| Name | Type |
|---|---|
state |
DBaseStateSet |
number
DThemeMenuItemText.getShortcutAlpha
src/main/typescript/wcardinal/ui/theme/white/d-theme-white-menu-item-text.ts:19
▸ getShortcutColor(state): number
| Name | Type |
|---|---|
state |
DBaseStateSet |
number
DThemeMenuItemText.getShortcutColor
src/main/typescript/wcardinal/ui/theme/white/d-theme-white-menu-item-text.ts:15
▸ getShortcutTextMargin(): number
number
DThemeMenuItemText.getShortcutTextMargin
src/main/typescript/wcardinal/ui/theme/white/d-theme-white-menu-item-text.ts:11
▸ getTertiaryImageAlignHorizontal(): DAlignHorizontal
DThemeMenuItemText.getTertiaryImageAlignHorizontal
DThemeWhiteMenuItem.getTertiaryImageAlignHorizontal
src/main/typescript/wcardinal/ui/theme/white/d-theme-white-image-base.ts:86
▸ getTertiaryImageAlignVertical(): DAlignVertical
DThemeMenuItemText.getTertiaryImageAlignVertical
DThemeWhiteMenuItem.getTertiaryImageAlignVertical
src/main/typescript/wcardinal/ui/theme/white/d-theme-white-image-base.ts:90
▸ getTertiaryImageAlignWith(): DAlignWith
DThemeMenuItemText.getTertiaryImageAlignWith
DThemeWhiteMenuItem.getTertiaryImageAlignWith
src/main/typescript/wcardinal/ui/theme/white/d-theme-white-image-base.ts:94
▸ getTertiaryImageMarginHorizontal(): number
number
DThemeMenuItemText.getTertiaryImageMarginHorizontal
DThemeWhiteMenuItem.getTertiaryImageMarginHorizontal
src/main/typescript/wcardinal/ui/theme/white/d-theme-white-image-base.ts:98
▸ getTertiaryImageMarginVertial(): number
number
DThemeMenuItemText.getTertiaryImageMarginVertial
DThemeWhiteMenuItem.getTertiaryImageMarginVertial
src/main/typescript/wcardinal/ui/theme/white/d-theme-white-image-base.ts:102
▸ getTertiaryImageRotation(state): number
| Name | Type |
|---|---|
state |
DBaseStateSet |
number
DThemeMenuItemText.getTertiaryImageRotation
DThemeWhiteMenuItem.getTertiaryImageRotation
src/main/typescript/wcardinal/ui/theme/white/d-theme-white-image-base.ts:114
▸ getTertiaryImageTintAlpha(state): number
| Name | Type |
|---|---|
state |
DBaseStateSet |
number
DThemeMenuItemText.getTertiaryImageTintAlpha
DThemeWhiteMenuItem.getTertiaryImageTintAlpha
src/main/typescript/wcardinal/ui/theme/white/d-theme-white-image-base.ts:110
▸ getTertiaryImageTintColor(state): null | number
| Name | Type |
|---|---|
state |
DBaseStateSet |
null | number
DThemeMenuItemText.getTertiaryImageTintColor
DThemeWhiteMenuItem.getTertiaryImageTintColor
src/main/typescript/wcardinal/ui/theme/white/d-theme-white-image-base.ts:106
▸ getTextAlignHorizontal(): DAlignHorizontal
DThemeMenuItemText.getTextAlignHorizontal
DThemeWhiteMenuItem.getTextAlignHorizontal
src/main/typescript/wcardinal/ui/theme/white/d-theme-white-menu-item-base.ts:74
▸ getTextAlignVertical(): DAlignVertical
DThemeMenuItemText.getTextAlignVertical
DThemeWhiteMenuItem.getTextAlignVertical
src/main/typescript/wcardinal/ui/theme/white/d-theme-white-text-base.ts:19
▸ getTextFormatter(): (value: string, caller: any) => string
fn
▸ (value, caller): string
| Name | Type |
|---|---|
value |
string |
caller |
any |
string
DThemeMenuItemText.getTextFormatter
DThemeWhiteMenuItem.getTextFormatter
src/main/typescript/wcardinal/ui/theme/white/d-theme-white-text-base.ts:43
▸ getTextStyleClipping(): boolean
boolean
DThemeMenuItemText.getTextStyleClipping
DThemeWhiteMenuItem.getTextStyleClipping
src/main/typescript/wcardinal/ui/theme/white/d-theme-white-text-base.ts:31
▸ getTextStyleFitting(): boolean
boolean
DThemeMenuItemText.getTextStyleFitting
DThemeWhiteMenuItem.getTextStyleFitting
src/main/typescript/wcardinal/ui/theme/white/d-theme-white-text-base.ts:35
▸ getTextStyleWordWrap(): DDynamicTextStyleWordWrap
DThemeMenuItemText.getTextStyleWordWrap
DThemeWhiteMenuItem.getTextStyleWordWrap
src/main/typescript/wcardinal/ui/theme/white/d-theme-white-text-base.ts:39
▸ getTextValue(state): undefined | string
Returns a text value. Called to get a text vale if there is no text value.
| Name | Type | Description |
|---|---|---|
state |
DBaseStateSet |
a state |
undefined | string
DThemeMenuItemText.getTextValue
DThemeWhiteMenuItem.getTextValue
src/main/typescript/wcardinal/ui/theme/white/d-theme-white-text-base.ts:47
▸ getTitle(): string
Returns a tooltip text.
string
src/main/typescript/wcardinal/ui/theme/white/d-theme-white-base.ts:183
▸ 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.
number
src/main/typescript/wcardinal/ui/theme/white/d-theme-white-base.ts:187
▸ getWidth(): DCoordinateSize
Returns a width.
src/main/typescript/wcardinal/ui/theme/white/d-theme-white-menu-item-base.ts:70
▸ getX(): DCoordinatePosition
Returns a X coordinate.
src/main/typescript/wcardinal/ui/theme/white/d-theme-white-base.ts:64
▸ getY(): DCoordinatePosition
Returns a Y coordinate.
src/main/typescript/wcardinal/ui/theme/white/d-theme-white-base.ts:68
▸ isOverflowMaskEnabled(): boolean
boolean
DThemeMenuItemText.isOverflowMaskEnabled
DThemeWhiteMenuItem.isOverflowMaskEnabled
src/main/typescript/wcardinal/ui/theme/white/d-theme-white-text-base.ts:27
▸ newShadow(): null | DShadow
Creates a new shadow.
null | DShadow
src/main/typescript/wcardinal/ui/theme/white/d-theme-white-base.ts:191
▸ newShadowWeak(): null | DShadow
Creates a new weak shadow.
null | DShadow
DThemeMenuItemText.newShadowWeak
DThemeWhiteMenuItem.newShadowWeak
src/main/typescript/wcardinal/ui/theme/white/d-theme-white-base.ts:195
▸ newState(state): void
Returns true if focusable.
| Name | Type |
|---|---|
state |
DBaseStateSet |
void
src/main/typescript/wcardinal/ui/theme/white/d-theme-white-base.ts:179
▸ newTextValue(): DStateAwareOrValueMightBe<string>
Returns a new text value. Called to initialize a text value if a text value is not given.
DStateAwareOrValueMightBe<string>
DThemeMenuItemText.newTextValue
DThemeWhiteMenuItem.newTextValue
src/main/typescript/wcardinal/ui/theme/white/d-theme-white-text-base.ts:51