Skip to main content
Module

x/targadactyl/deps.ts>StrokeOpts

tga.js implemented in Deno
Latest
interface StrokeOpts
import { type StrokeOpts } from "https://deno.land/x/targadactyl@1.2.0/deps.ts";

Options used for Path.stroke(). If an option is omitted, a sensible default will be used.

Properties

optional
width: number

The width of the stroked lines.

optional
miter_limit: number
optional
precision: number

if > 1, increase precision, else if (0 < resScale < 1) reduce precision to favor speed and size

optional
join: StrokeJoin
optional
cap: StrokeCap