Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Path

class Path extends Userdata<"fz_path"> {
constructor(pointer?: Pointer<"fz_path">);
closePath(): void;
curveTo(
x1: number,
y1: number,
x2: number,
y2: number,
x3: number,
y3: number,
): void;
curveToV(
cx: number,
cy: number,
ex: number,
ey: number,
): void;
curveToY(
cx: number,
cy: number,
ex: number,
ey: number,
): void;
getBounds(strokeState: StrokeState, transform: Matrix): Rect;
lineTo(x: number, y: number): void;
moveTo(x: number, y: number): void;
rect(
x1: number,
y1: number,
x2: number,
y2: number,
): void;
transform(matrix: Matrix): void;
walk(_walker: any): void;
 
static readonly _drop: (p: Pointer<"fz_path">) => void;
}

§Extends

§
Userdata<"fz_path">
[src]

§Constructors

§
new Path(pointer?: Pointer<"fz_path">)
[src]

§Methods

§
closePath(): void
[src]
§
curveTo(x1: number, y1: number, x2: number, y2: number, x3: number, y3: number): void
[src]
§
curveToV(cx: number, cy: number, ex: number, ey: number): void
[src]
§
curveToY(cx: number, cy: number, ex: number, ey: number): void
[src]
§
getBounds(strokeState: StrokeState, transform: Matrix): Rect
[src]
§
lineTo(x: number, y: number): void
[src]
§
moveTo(x: number, y: number): void
[src]
§
rect(x1: number, y1: number, x2: number, y2: number): void
[src]
§
transform(matrix: Matrix): void
[src]
§
walk(_walker: any): void
[src]

§Static Properties

§
_drop: (p: Pointer<"fz_path">) => void
[src]