- drawRect(ctx, pos, size?, strokeStyle?, fillStyle, lineWidth?): void
Parameters
- ctx: CanvasRenderingContext2D
- pos: Point | PointLike
- size: {
height: number;
width: number;
} = ...height: number
width: number
- strokeStyle: string = "#ff0000"
- fillStyle: null | string
- lineWidth: number = 1
Returns void