实现

构造函数

属性

TYPE_ALPHA: number = 0x1
TYPE_CLIPRECT: number = 0x20000
TYPE_CLIPRECT_STENCIL: number = 0x40000
TYPE_COLORFILTER: number = 0x800000
TYPE_ENABLEMERGE: number = 0x2000
TYPE_FILESTYLE: number = 0x2
TYPE_FILTERS: number = 0x200000
TYPE_FILTERS_TYPE: number = 0x400000
TYPE_FONT: number = 0x8
TYPE_GLOBALCOMPOSITEOPERATION: number = 0x10000
TYPE_IBVB: number = 0x80000
TYPE_LINEWIDTH: number = 0x100
TYPE_MARK: number = 0x400
TYPE_SHADER: number = 0x100000
TYPE_STROKESTYLE: number = 0x200
TYPE_TEXTALIGN: number = 0x8000
TYPE_TEXTBASELINE: number = 0x4000
TYPE_TRANSFORM: number = 0x800
TYPE_TRANSLATE: number = 0x1000

方法