Module

x/canvas/mod.ts>CanvasPathDrawingStyles

Canvas API for Deno, ported from canvaskit-wasm (Skia).
Go to Latest
interface CanvasPathDrawingStyles
import { type CanvasPathDrawingStyles } from "https://deno.land/x/canvas@v1.0.0/mod.ts";

Properties

lineCap: CanvasLineCap
lineDashOffset: number
lineJoin: CanvasLineJoin
lineWidth: number
miterLimit: number

Methods

getLineDash(): number[]
setLineDash(segments: number[]): void