Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ImageAsset

Hierarchy

Implements

Index

Constructors

constructor

  • new ImageAsset(id: string, assetPath: string, width: number, height: number): ImageAsset
  • Parameters

    • id: string
    • assetPath: string
    • width: number
    • height: number

    Returns ImageAsset

Properties

height

height: number

id

id: string

onDestroyed

onDestroyed: Trigger<Asset>

originalPath

originalPath: string

path

path: string

width

width: number

Methods

Private _assetPathFilter

  • _assetPathFilter(path: string): string
  • Parameters

    • path: string

    Returns string

Private _load

asSurface

  • Returns Surface

destroy

  • destroy(): void

destroyed

  • destroyed(): boolean

inUse

  • inUse(): boolean
  • Returns boolean

Generated using TypeDoc