drawFunc MethodOptional

Implement this function to draw onto the CanvasRenderingContext2D when this Marker is displayed. The [0,0] point will be the center of the Marker.

drawFunc(ctx: CanvasRenderingContext2D): void

Parameter Type Description
ctx CanvasRenderingContext2D  

Defined in

Last Updated: 10 September, 2019