Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • any
    • CreatejsGraphics

Implements

Index

Constructors

constructor

Properties

Private _createjsEventManager

_createjsEventManager: EventManager

Protected _createjsParams

_createjsParams: ICreatejsGraphicsParam

Protected _pixiData

Accessors

_off

  • get _off(): boolean
  • set _off(value: boolean): void

alpha

  • get alpha(): number
  • set alpha(value: number): void

mask

pixi

regX

  • get regX(): number
  • set regX(value: number): void

regY

  • get regY(): number
  • set regY(value: number): void

rotation

  • get rotation(): number
  • set rotation(value: number): void

scaleX

  • get scaleX(): number
  • set scaleX(value: number): void

scaleY

  • get scaleY(): number
  • set scaleY(value: number): void

skewX

  • get skewX(): number
  • set skewX(value: number): void

skewY

  • get skewY(): number
  • set skewY(value: number): void

visible

  • get visible(): boolean
  • set visible(value: boolean): void

x

  • get x(): number
  • set x(value: number): void

y

  • get y(): number
  • set y(value: number): void

Methods

Private _parseColor

  • _parseColor(color: string): { alpha: number; color: number }

a

  • a(x: number, y: number, radius: number, startAngle: number, endAngle: number, anticlockwise: boolean): any
  • Parameters

    • x: number
    • y: number
    • radius: number
    • startAngle: number
    • endAngle: number
    • anticlockwise: boolean

    Returns any

addEventListener

  • addEventListener(type: string, cb: ICreatejsInteractionEventDelegate | CreatejsButtonHelper, ...args: any[]): any

arc

  • arc(x: number, y: number, radius: number, startAngle: number, endAngle: number, anticlockwise: boolean): any
  • Parameters

    • x: number
    • y: number
    • radius: number
    • startAngle: number
    • endAngle: number
    • anticlockwise: boolean

    Returns any

arcTo

  • arcTo(x1: number, y1: number, x2: number, y2: number, radius: number): any

at

  • at(x1: number, y1: number, x2: number, y2: number, radius: number): any

beginFill

  • beginFill(color: string): any

beginStroke

  • beginStroke(color: string): any

bezierCurveTo

  • bezierCurveTo(cp1x: number, cp1y: number, cp2x: number, cp2y: number, x: number, y: number): any

bt

  • bt(cp1x: number, cp1y: number, cp2x: number, cp2y: number, x: number, y: number): any

c

  • c(): any

clear

  • clear(): any

closePath

  • closePath(): any

cp

  • cp(): any

curveTo

  • curveTo(cpx: number, cpy: number, x: number, y: number): any

dc

  • dc(x: number, y: number, radius: number): any

de

  • de(x: number, y: number, w: number, h: number): any

dp

  • dp(x: number, y: number, radius: number, sides: number, pointSize: number, angle: number): any
  • Parameters

    • x: number
    • y: number
    • radius: number
    • sides: number
    • pointSize: number
    • angle: number

    Returns any

dr

  • dr(x: number, y: number, w: number, h: number): any

drawCircle

  • drawCircle(x: number, y: number, radius: number): any

drawEllipse

  • drawEllipse(x: number, y: number, w: number, h: number): any

drawPolyStar

  • drawPolyStar(x: number, y: number, radius: number, sides: number, pointSize: number, angle: number): any
  • Parameters

    • x: number
    • y: number
    • radius: number
    • sides: number
    • pointSize: number
    • angle: number

    Returns any

drawRect

  • drawRect(x: number, y: number, w: number, h: number): any

drawRoundRect

  • drawRoundRect(x: number, y: number, w: number, h: number, radius: number): any

ef

  • ef(): any

endFill

  • endFill(): any

f

  • f(color: string): any

initialize

  • initialize(...args: any[]): any

lineTo

  • lineTo(x: number, y: number): any

lt

  • lt(x: number, y: number): any

moveTo

  • moveTo(x: number, y: number): any

mt

  • mt(x: number, y: number): any

qt

  • qt(cpx: number, cpy: number, x: number, y: number): any

quadraticCurveTo

  • quadraticCurveTo(cpx: number, cpy: number, x: number, y: number): any

r

  • r(x: number, y: number, w: number, h: number): any

rect

  • rect(x: number, y: number, w: number, h: number): any

removeEventListener

  • removeEventListener(type: string, cb: ICreatejsInteractionEventDelegate, ...args: any[]): any

rr

  • rr(x: number, y: number, w: number, h: number, radius: number): any

s

  • s(color: string): any

setStrokeStyle

  • setStrokeStyle(thickness: number, caps: 0 | 1 | 2, joints: 0 | 1 | 2, miterLimit: number, ignoreScale: boolean): any
  • Parameters

    • thickness: number
    • caps: 0 | 1 | 2
    • joints: 0 | 1 | 2
    • miterLimit: number
    • ignoreScale: boolean

    Returns any

ss

  • ss(thickness: number, caps: 0 | 1 | 2, joints: 0 | 1 | 2, miterLimit: number, ignoreScale: boolean): any
  • Parameters

    • thickness: number
    • caps: 0 | 1 | 2
    • joints: 0 | 1 | 2
    • miterLimit: number
    • ignoreScale: boolean

    Returns any

updateForPixi

Generated using TypeDoc