Link Search Menu Expand Document

Draw Canvas

draw-canvas.ts#L12

Interface CanvasDrawingOptions

Property .fill

Property .lineCap

Property .lineJoin

Property .opacity

Property .stroke

Property .strokeWidth

draw-canvas.ts#L25

drawCanvas (ctx: CanvasRenderingContext2D, obj: GeoElement, options: CanvasDrawingOptions): void

Name Type Default Description
ctx CanvasRenderingContext2D    
obj GeoElement    
options CanvasDrawingOptions  

Copyright © 2021 Mathigon.org