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

StructuredText

class StructuredText extends Userdata<"fz_stext_page"> {
asHTML(id: number): string;
asJSON(scale?: number): string;
asText(): string;
copy(p: Point, q: Point): string;
highlight(
p: Point,
q: Point,
max_hits?: number,
): Quad[];
search(needle: string, max_hits?: number): Quad[][];
walk(walker: StructuredTextWalker): void;
 
static readonly _drop: (p: Pointer<"fz_stext_page">) => void;
static readonly SELECT_CHARS: number;
static readonly SELECT_LINES: number;
static readonly SELECT_WORDS: number;
}

§Extends

§
Userdata<"fz_stext_page">
[src]

§Methods

§
asHTML(id: number): string
[src]
§
asJSON(scale?: number): string
[src]
§
asText(): string
[src]
§
copy(p: Point, q: Point): string
[src]
§
highlight(p: Point, q: Point, max_hits?: number): Quad[]
[src]
§
walk(walker: StructuredTextWalker): void
[src]

§Static Properties

§
_drop: (p: Pointer<"fz_stext_page">) => void
[src]
§
SELECT_CHARS: number
[src]
§
SELECT_LINES: number
[src]
§
SELECT_WORDS: number
[src]