Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Object2D

Hierarchy

Implements

Index

Constructors

constructor

Properties

Private _matrix

_matrix: Matrix

angle

angle: number

compositeOperation

compositeOperation: CompositeOperation

height

height: number

opacity

opacity: number

scaleX

scaleX: number

scaleY

scaleY: number

width

width: number

x

x: number

y

y: number

Methods

Private _updateMatrix

  • _updateMatrix(): void
  • Returns void

getMatrix

  • Returns Matrix

moveBy

  • moveBy(x: number, y: number): void
  • Parameters

    • x: number
    • y: number

    Returns void

moveTo

  • moveTo(x: number, y: number): void
  • moveTo(obj: CommonOffset): void
  • Parameters

    • x: number
    • y: number

    Returns void

  • Parameters

    Returns void

resizeBy

  • resizeBy(width: number, height: number): void
  • Parameters

    • width: number
    • height: number

    Returns void

resizeTo

  • resizeTo(width: number, height: number): void
  • resizeTo(size: CommonSize): void
  • Parameters

    • width: number
    • height: number

    Returns void

  • Parameters

    Returns void

scale

  • scale(scale: number): void
  • Parameters

    • scale: number

    Returns void

Generated using TypeDoc