Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PreDrawEvent

The 'predraw' event is emitted on actors, scenes, and engine before drawing starts. Actors' predraw happens inside their graphics transform so that all drawing takes place with the actor as the origin.

Hierarchy

Index

Constructors

Properties

Constructors

constructor

  • new PreDrawEvent(ctx: CanvasRenderingContext2D, delta: any, target: any): PreDrawEvent
  • Parameters

    • ctx: CanvasRenderingContext2D
    • delta: any
    • target: any

    Returns PreDrawEvent

Properties

ctx

ctx: CanvasRenderingContext2D

delta

delta: any

target

target: any