Constructors
Properties
Methods
draw
- draw(canvasArg): void
Parameters
- canvasArg: string | HTMLCanvasElement | CanvasRenderingContext2D
Returns void
getUpperLeft
- getUpperLeft(ctx, canvasDims?): IPoint
Parameters
- ctx: CanvasRenderingContext2D
Optional
canvasDims: IDimensions
measureHeight
- measureHeight(): number
Returns number
measureWidth
- measureWidth(ctx): number
Parameters
- ctx: CanvasRenderingContext2D
Returns number