Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/canvas/types.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.4/types.ts";

Properties

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

Methods

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