Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • ImageShape

Implements

Index

Constructors

constructor

  • new ImageShape(width: number, height: number, src: string): ImageShape

Properties

Private height

height: number

Private img

img: Image

Private src

src: string

Private width

width: number

Methods

getHeight

  • getHeight(): number

getImg

  • getImg(): Image

getSrc

  • getSrc(): string

getWidth

  • getWidth(): number

init

render

  • render(entity: Entity): void

Generated using TypeDoc