Winter Cardinal UI - v0.457.0 / DImagePieceImpl
• new DImagePieceImpl(parent, theme, options?): DImagePieceImpl
| Name | Type |
|---|---|
parent |
DImagePieceImplParent |
theme |
DThemeImagePiece |
options? |
DImagePieceOptions |
src/main/typescript/wcardinal/ui/d-image-piece-impl.ts:37
• Protected _align: DImagePieceAlignImpl
src/main/typescript/wcardinal/ui/d-image-piece-impl.ts:30
• Protected _computed: null | DisplayObject | Texture
src/main/typescript/wcardinal/ui/d-image-piece-impl.ts:28
• Protected _margin: DImagePieceMarginImpl
src/main/typescript/wcardinal/ui/d-image-piece-impl.ts:31
• Protected _object: null | DisplayObject
src/main/typescript/wcardinal/ui/d-image-piece-impl.ts:27
• Protected _onUpdateBound: () => void
▸ (): void
void
src/main/typescript/wcardinal/ui/d-image-piece-impl.ts:35
• Protected _parent: DImagePieceImplParent
src/main/typescript/wcardinal/ui/d-image-piece-impl.ts:24
• Protected _rotation: DStateAwareOrValueMightBe<number>
src/main/typescript/wcardinal/ui/d-image-piece-impl.ts:33
• Protected _source: DStateAwareOrValueMightBe<null | DisplayObject | Texture>
src/main/typescript/wcardinal/ui/d-image-piece-impl.ts:29
• Protected _theme: DThemeImagePiece
src/main/typescript/wcardinal/ui/d-image-piece-impl.ts:25
• Protected _tint: DImagePieceTint
src/main/typescript/wcardinal/ui/d-image-piece-impl.ts:32
• get align(): DImagePieceAlign
src/main/typescript/wcardinal/ui/d-image-piece-impl.ts:62
• get margin(): DImagePieceMargin
src/main/typescript/wcardinal/ui/d-image-piece-impl.ts:66
• get object(): null | DisplayObject
null | DisplayObject
src/main/typescript/wcardinal/ui/d-image-piece-impl.ts:58
• get rotation(): DStateAwareOrValueMightBe<number>
DStateAwareOrValueMightBe<number>
src/main/typescript/wcardinal/ui/d-image-piece-impl.ts:87
• set rotation(rotation): void
| Name | Type |
|---|---|
rotation |
DStateAwareOrValueMightBe<number> |
void
src/main/typescript/wcardinal/ui/d-image-piece-impl.ts:91
• get source(): DStateAwareOrValueMightBe<null | DisplayObject | Texture>
DStateAwareOrValueMightBe<null | DisplayObject | Texture>
src/main/typescript/wcardinal/ui/d-image-piece-impl.ts:74
• set source(source): void
| Name | Type |
|---|---|
source |
DStateAwareOrValueMightBe<null | DisplayObject | Texture> |
void
src/main/typescript/wcardinal/ui/d-image-piece-impl.ts:78
• get tint(): DImagePieceTint
src/main/typescript/wcardinal/ui/d-image-piece-impl.ts:70
▸ computeSource(): null | DisplayObject | Texture
null | DisplayObject | Texture
src/main/typescript/wcardinal/ui/d-image-piece-impl.ts:100
▸ destroy(): void
void
src/main/typescript/wcardinal/ui/d-image-piece-impl.ts:259
▸ isRefitable(target): boolean
| Name | Type |
|---|---|
target |
any |
boolean
src/main/typescript/wcardinal/ui/d-image-piece-impl.ts:255
▸ isTintAware(target): target is DisplayObject & Object
| Name | Type |
|---|---|
target |
null | DisplayObject |
target is DisplayObject & Object
src/main/typescript/wcardinal/ui/d-image-piece-impl.ts:120
▸ onStateChange(newState, oldState): void
| Name | Type |
|---|---|
newState |
DBaseStateSet |
oldState |
DBaseStateSet |
void
src/main/typescript/wcardinal/ui/d-image-piece-impl.ts:115
▸ onUpdate(): void
void
src/main/typescript/wcardinal/ui/d-image-piece-impl.ts:263
▸ toRotation(theme, state): null | number
| Name | Type |
|---|---|
theme |
DThemeImagePiece |
state |
DBaseStateSet |
null | number
src/main/typescript/wcardinal/ui/d-image-piece-impl.ts:162
▸ updateRotation(): boolean
boolean
src/main/typescript/wcardinal/ui/d-image-piece-impl.ts:177
▸ updateSource(): boolean
Updates the computed source.
boolean
True if the computed source is changed
src/main/typescript/wcardinal/ui/d-image-piece-impl.ts:199
▸ updateTint(): boolean
Updates the tint.
boolean
True if the tint is changed.