Class AbstractPrimitive

Hierarchy

Constructors

  • Parameters

    • __namedParameters: {
          bitmapData?: null | BitmapData;
          border?: null | boolean;
          canvas?: null | HTMLCanvasElement;
          color?: null | Color;
          dimension?: null | Dimension;
          h?: null | number;
          matrix?: null | Matrix;
          useDefaultCanvas?: null | boolean;
          w?: null | number;
      } = {}
      • Optional bitmapData?: null | BitmapData
      • Optional border?: null | boolean
      • Optional canvas?: null | HTMLCanvasElement
      • Optional color?: null | Color
      • Optional dimension?: null | Dimension
      • Optional h?: null | number
      • Optional matrix?: null | Matrix
      • Optional useDefaultCanvas?: null | boolean
      • Optional w?: null | number

    Returns AbstractPrimitive

Properties

bitmapData: null | BitmapData

The source bitmapData containing pixel graphic

border: null | boolean

The border option of the primitive

canvas: null | HTMLCanvasElement

The canvas for drawImage

color: null | Color

The color obj of the primitive

dimension: null | Dimension

The dimension of primitive in 3d pixel coordinate

h: null | number

The height of the bitmap in 2d flash coordinate

matrix: null | Matrix

The matrix offset between the bitmap and the 3d pixel coordinate zero point

useDefaultCanvas: null | boolean

The preserve canvas option

w: null | number

The width of the bitmap in 2d flash coordinate

Methods

Generated using TypeDoc