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

Device

class Device extends Userdata<"fz_device"> {
beginGroup(
area: Rect,
colorspace: ColorSpace,
isolated: boolean,
knockout: boolean,
blendmode: BlendMode,
alpha: number,
): void;
beginLayer(name: string): void;
beginMask(
area: Rect,
luminosity: boolean,
colorspace: ColorSpace,
color: Color,
): void;
beginTile(
area: Rect,
view: Rect,
xstep: number,
ystep: number,
ctm: Matrix,
id: number,
): number;
clipImageMask(image: Image, ctm: Matrix): void;
clipPath(
path: Path,
evenOdd: boolean,
ctm: Matrix,
): void;
clipStrokePath(
path: Path,
stroke: StrokeState,
ctm: Matrix,
): void;
clipStrokeText(
text: Text,
stroke: StrokeState,
ctm: Matrix,
): void;
clipText(text: Text, ctm: Matrix): void;
close(): void;
endGroup(): void;
endLayer(): void;
endMask(): void;
endTile(): void;
fillImage(
image: Image,
ctm: Matrix,
alpha: number,
): void;
fillImageMask(
image: Image,
ctm: Matrix,
colorspace: ColorSpace,
color: Color,
alpha: number,
): void;
fillPath(
path: Path,
evenOdd: boolean,
ctm: Matrix,
colorspace: ColorSpace,
color: Color,
alpha: number,
): void;
fillShade(
shade: Shade,
ctm: Matrix,
alpha: number,
): void;
fillText(
text: Text,
ctm: Matrix,
colorspace: ColorSpace,
color: Color,
alpha: number,
): void;
ignoreText(text: Text, ctm: Matrix): void;
popClip(): void;
strokePath(
path: Path,
stroke: StrokeState,
ctm: Matrix,
colorspace: ColorSpace,
color: Color,
alpha: number,
): void;
strokeText(
text: Text,
stroke: StrokeState,
ctm: Matrix,
colorspace: ColorSpace,
color: Color,
alpha: number,
): void;
 
static readonly _drop: (p: Pointer<"fz_device">) => void;
static readonly BLEND_MODES: BlendMode[];
}

§Extends

§
Userdata<"fz_device">
[src]

§Methods

§
beginGroup(area: Rect, colorspace: ColorSpace, isolated: boolean, knockout: boolean, blendmode: BlendMode, alpha: number): void
[src]
§
beginLayer(name: string): void
[src]
§
beginMask(area: Rect, luminosity: boolean, colorspace: ColorSpace, color: Color): void
[src]
§
beginTile(area: Rect, view: Rect, xstep: number, ystep: number, ctm: Matrix, id: number): number
[src]
§
clipImageMask(image: Image, ctm: Matrix): void
[src]
§
clipPath(path: Path, evenOdd: boolean, ctm: Matrix): void
[src]
§
clipStrokePath(path: Path, stroke: StrokeState, ctm: Matrix): void
[src]
§
clipStrokeText(text: Text, stroke: StrokeState, ctm: Matrix): void
[src]
§
clipText(text: Text, ctm: Matrix): void
[src]
§
close(): void
[src]
§
endGroup(): void
[src]
§
endLayer(): void
[src]
§
endMask(): void
[src]
§
endTile(): void
[src]
§
fillImage(image: Image, ctm: Matrix, alpha: number): void
[src]
§
fillImageMask(image: Image, ctm: Matrix, colorspace: ColorSpace, color: Color, alpha: number): void
[src]
§
fillPath(path: Path, evenOdd: boolean, ctm: Matrix, colorspace: ColorSpace, color: Color, alpha: number): void
[src]
§
fillShade(shade: Shade, ctm: Matrix, alpha: number): void
[src]
§
fillText(text: Text, ctm: Matrix, colorspace: ColorSpace, color: Color, alpha: number): void
[src]
§
ignoreText(text: Text, ctm: Matrix): void
[src]
§
popClip(): void
[src]
§
strokePath(path: Path, stroke: StrokeState, ctm: Matrix, colorspace: ColorSpace, color: Color, alpha: number): void
[src]
§
strokeText(text: Text, stroke: StrokeState, ctm: Matrix, colorspace: ColorSpace, color: Color, alpha: number): void
[src]

§Static Properties

§
_drop: (p: Pointer<"fz_device">) => void
[src]
§
BLEND_MODES: BlendMode[]
[src]