Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Context

Index

Constructors

  • Returns Context

Properties

_curPrimitiveMesh: any
_meshList: any
_prevMeshType: any
clipMatDir: number[]
clipMatPos: number[]
coreData: CoreData
fillColor: Color
lineWidth: number
strokeColor: Color
transformMatrix: CGAffineTransform
_MAX_SIZE: number

Accessors

  • Returns Mesh2D[]

Methods

  • clear(): void
  • 清除MeshList

    Returns void

  • drawRect(x: number, y: number, width: number, height: number, fillColor?: Color, lineColor?: Color, lineWidth?: number): void
  • 绘制矩形s

    Parameters

    • x: number
    • y: number
    • width: number
    • height: number
    • Optional fillColor: Color
    • Optional lineColor: Color
    • Optional lineWidth: number

    Returns void

  • drawTexture(x: number, y: number, width: number, height: number, tex: <internal>.default): void
  • Parameters

    Returns void

  • fillRect(x: number, y: number, width: number, height: number): void
  • 填充矩形

    memberof

    Context

    Parameters

    • x: number
    • y: number
    • width: number
    • height: number

    Returns void

  • 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

Generated using TypeDoc