Winter Cardinal UI - v0.457.0 / EShapeText

Interface: EShapeText

Hierarchy

Implemented by

Table of contents

Properties

Methods

Properties

align

• align: EShapeTextAlign

Overrides

EShapeTextLike.align

Defined in

src/main/typescript/wcardinal/ui/shape/e-shape-text.ts:73


alpha

• alpha: number

Inherited from

EShapeTextLike.alpha

Defined in

src/main/typescript/wcardinal/ui/shape/e-shape-text.ts:32


atlas

• Optional atlas: EShapeTextAtlas

Defined in

src/main/typescript/wcardinal/ui/shape/e-shape-text.ts:80


characters

• characters: string[]

Defined in

src/main/typescript/wcardinal/ui/shape/e-shape-text.ts:81


clipping

• clipping: boolean

Inherited from

EShapeTextLike.clipping

Defined in

src/main/typescript/wcardinal/ui/shape/e-shape-text.ts:43


color

• color: number

Inherited from

EShapeTextLike.color

Defined in

src/main/typescript/wcardinal/ui/shape/e-shape-text.ts:31


direction

• direction: EShapeTextDirection

Inherited from

EShapeTextLike.direction

Defined in

src/main/typescript/wcardinal/ui/shape/e-shape-text.ts:41


enable

• enable: boolean

Defined in

src/main/typescript/wcardinal/ui/shape/e-shape-text.ts:71


family

• family: string

Inherited from

EShapeTextLike.family

Defined in

src/main/typescript/wcardinal/ui/shape/e-shape-text.ts:33


fitting

• fitting: boolean

Inherited from

EShapeTextLike.fitting

Defined in

src/main/typescript/wcardinal/ui/shape/e-shape-text.ts:44


length

• Readonly length: number

Defined in

src/main/typescript/wcardinal/ui/shape/e-shape-text.ts:85


nacharacters

• nacharacters: string[]

Defined in

src/main/typescript/wcardinal/ui/shape/e-shape-text.ts:82


offset

• offset: EShapeTextOffset

Overrides

EShapeTextLike.offset

Defined in

src/main/typescript/wcardinal/ui/shape/e-shape-text.ts:74


outline

• outline: EShapeTextOutline

Overrides

EShapeTextLike.outline

Defined in

src/main/typescript/wcardinal/ui/shape/e-shape-text.ts:75


padding

• padding: EShapeTextOffset

Overrides

EShapeTextLike.padding

Defined in

src/main/typescript/wcardinal/ui/shape/e-shape-text.ts:77


plength

• Readonly plength: number

Peak length

Defined in

src/main/typescript/wcardinal/ui/shape/e-shape-text.ts:87


size

• size: number

Inherited from

EShapeTextLike.size

Defined in

src/main/typescript/wcardinal/ui/shape/e-shape-text.ts:34


spacing

• spacing: EShapeTextOffset

Overrides

EShapeTextLike.spacing

Defined in

src/main/typescript/wcardinal/ui/shape/e-shape-text.ts:76


style

• style: EShapeTextStyle

Inherited from

EShapeTextLike.style

Defined in

src/main/typescript/wcardinal/ui/shape/e-shape-text.ts:38


texture

• Optional texture: Texture

Defined in

src/main/typescript/wcardinal/ui/shape/e-shape-text.ts:79


value

• value: string

Inherited from

EShapeTextLike.value

Defined in

src/main/typescript/wcardinal/ui/shape/e-shape-text.ts:30


weight

• weight: EShapeTextWeight

Inherited from

EShapeTextLike.weight

Defined in

src/main/typescript/wcardinal/ui/shape/e-shape-text.ts:35


world

• Optional world: number[]

Defined in

src/main/typescript/wcardinal/ui/shape/e-shape-text.ts:83

Methods

copy

▸ copy(target?): this

Parameters

Name Type
target? DeepPartial<EShapeTextLike>

Returns

this

Defined in

src/main/typescript/wcardinal/ui/shape/e-shape-text.ts:89


deserialize

▸ deserialize(target, manager): void

Parameters

Name Type
target number
manager EShapeResourceManagerDeserialization

Returns

void

Defined in

src/main/typescript/wcardinal/ui/shape/e-shape-text.ts:104


serialize

▸ serialize(manager): number

Parameters

Name Type
manager EShapeResourceManagerSerialization

Returns

number

Defined in

src/main/typescript/wcardinal/ui/shape/e-shape-text.ts:103


set

▸ set(value?, color?, alpha?, family?, size?, weight?, style?, direction?, clipping?, fitting?): this

Parameters

Name Type
value? string
color? number
alpha? number
family? string
size? number
weight? EShapeTextWeight
style? EShapeTextStyle
direction? EShapeTextDirection
clipping? boolean
fitting? boolean

Returns

this

Defined in

src/main/typescript/wcardinal/ui/shape/e-shape-text.ts:90


toObject

▸ toObject(): EShapeTextLike

Returns

EShapeTextLike

Defined in

src/main/typescript/wcardinal/ui/shape/e-shape-text.ts:102