Link Search Menu Expand Document

Game_Picture.d overview


Table of contents


utils

Game_Picture (class)

Game_Picture

The game object class for a picture.

Signature

export declare class Game_Picture

name (method)

Signature

name(): string

origin (method)

Signature

origin(): number

x (method)

Signature

x(): number

y (method)

Signature

y(): number

scaleX (method)

Signature

scaleX(): number

scaleY (method)

Signature

scaleY(): number

opacity (method)

Signature

opacity(): number

blendMode (method)

Signature

blendMode(): PIXI.BLEND_MODES

tone (method)

Signature

tone(): [number, number, number, number] | null

angle (method)

Signature

angle(): number

initBasic (method)

Signature

initBasic(): void

initTarget (method)

Signature

initTarget(): void

initTone (method)

Signature

initTone(): void

initRotation (method)

Signature

initRotation(): void

show (method)

Signature

show(
    name: string,
    origin: number,
    x: number,
    y: number,
    scaleX: number,
    scaleY: number,
    opacity: number,
    blendMode: PIXI.BLEND_MODES
  ): void

move (method)

Signature

move(
    origin: number,
    x: number,
    y: number,
    scaleX: number,
    scaleY: number,
    opacity: number,
    blendMode: PIXI.BLEND_MODES,
    duration: number,
    easingType: PictureEasingType
  ): void

rotate (method)

Signature

rotate(speed: number): void

tint (method)

Signature

tint(tone: Color, duration: number): void

update (method)

Signature

update(): void

updateMove (method)

Signature

updateMove(): void

updateTone (method)

Signature

updateTone(): void

updateRotation (method)

Signature

updateRotation(): void

applyEasing (method)

Signature

applyEasing(current: number, target: number): number

calcEasing (method)

Signature

calcEasing(t: number): number

easeIn (method)

Signature

easeIn(t: number, exponent: number): number

easeOut (method)

Signature

easeOut(t: number, exponent: number): number

easeInOut (method)

Signature

easeInOut(t: number, exponent: number): number

_name (property)

Signature

_name: string

_origin (property)

Signature

_origin: number

_x (property)

Signature

_x: number

_y (property)

Signature

_y: number

_scaleX (property)

Signature

_scaleX: number

_scaleY (property)

Signature

_scaleY: number

_opacity (property)

Signature

_opacity: number

_blendMode (property)

Signature

_blendMode: any

_targetX (property)

Signature

_targetX: number

_targetY (property)

Signature

_targetY: number

_targetScaleX (property)

Signature

_targetScaleX: number

_targetScaleY (property)

Signature

_targetScaleY: number

_targetOpacity (property)

Signature

_targetOpacity: number

_duration (property)

Signature

_duration: number

_wholeDuration (property)

Signature

_wholeDuration: number

_easingType (property)

Signature

_easingType: PictureEasingType

_easingExponent (property)

Signature

_easingExponent: number

_tone (property)

Signature

_tone: [number, number, number, number] | null

_toneTarget (property)

Signature

_toneTarget: Color | null

_toneDuration (property)

Signature

_toneDuration: number

_angle (property)

Signature

_angle: number

_rotationSpeed (property)

Signature

_rotationSpeed: number

PictureEasingType (type alias)

Signature

export declare type PictureEasingType = 0 | 1 | 2 | 3