Constructors
constructor
Properties
Private _curPrimitiveMesh
_curPrimitiveMesh: any
Private Readonly _meshList
_meshList: any
Private _prevMeshType
_prevMeshType: any
clipMatDir
clipMatDir: number[]
clipMatPos
clipMatPos: number[]
Readonly coreData
Readonly fillColor
lineWidth
lineWidth: number
Readonly strokeColor
Readonly transformMatrix
Static _MAX_SIZE
_MAX_SIZE: number
Accessors
meshList
Methods
clear
Returns void
drawRect
- drawRect(x: number, y: number, width: number, height: number, fillColor?: Color, lineColor?: Color, lineWidth?: number): void
Parameters
x: number
y: number
width: number
height: number
Optional fillColor: Color
Optional lineColor: Color
Optional lineWidth: number
Returns void
drawTexture
- drawTexture(x: number, y: number, width: number, height: number, tex: <internal>.default): void
Parameters
x: number
y: number
width: number
height: number
Returns void
fillRect
- fillRect(x: number, y: number, width: number, height: number): void
Parameters
x: number
y: number
width: number
height: number
Returns void
strokeRect
- strokeRect(x: number, y: number, width: number, height: number, lineWidth: number): void
Parameters
x: number
y: number
width: number
height: number
lineWidth: number
Returns void
清除MeshList