SYMBOL INDEX (1021 symbols across 196 files) FILE: e2e/node-cjs/index.js function removeMovingParts (line 17) | function removeMovingParts(buffer) { FILE: e2e/node-esm/index.js function removeMovingParts (line 17) | function removeMovingParts(buffer) { FILE: packages/examples/next-14/app/layout.js function RootLayout (line 8) | function RootLayout({ children }) { FILE: packages/examples/next-14/app/page.js function Home (line 11) | function Home() { FILE: packages/examples/next-15/app/layout.js function RootLayout (line 8) | function RootLayout({ children }) { FILE: packages/examples/next-15/app/page.js function Home (line 11) | function Home() { FILE: packages/examples/vite/src/examples/image-stress-test/index.tsx constant IMAGES (line 4) | const IMAGES = [ FILE: packages/examples/vite/src/examples/index.ts constant EXAMPLES (line 24) | const EXAMPLES = [ FILE: packages/examples/vite/src/examples/resume/index.tsx constant IMAGE_SRC (line 79) | const IMAGE_SRC = FILE: packages/examples/vite/src/examples/svg-transform/index.tsx constant COLORS (line 4) | const COLORS = ['red', 'green', 'blue', 'yellow', 'purple']; FILE: packages/examples/vite/src/index.tsx constant MOUNT_ELEMENT (line 53) | const MOUNT_ELEMENT = document.createElement('div'); FILE: packages/fns/src/asyncCompose.ts type Fn (line 3) | type Fn = (arg: any, ...args: any[]) => Promise | any; type ComposedInput (line 5) | type ComposedInput = T extends [ type ComposedOutput (line 12) | type ComposedOutput = T extends [ FILE: packages/fns/src/compose.ts type Fn (line 1) | type Fn = (arg: any, ...args: any[]) => any; type ComposedInput (line 3) | type ComposedInput = T extends [ type ComposedOutput (line 10) | type ComposedOutput = T extends [ FILE: packages/fns/src/dropLast.ts function dropLast (line 9) | function dropLast(value: string | T[]): string | T[] { FILE: packages/fns/src/evolve.ts function evolve (line 12) | function evolve>( FILE: packages/fns/src/last.ts function last (line 15) | function last(value: string | any[]): any { FILE: packages/fns/src/mapValues.ts type IteratorFn (line 1) | type IteratorFn = (value: any, key: string, index: number) => any; FILE: packages/fns/src/matchPercent.ts type PercentMatch (line 1) | interface PercentMatch { constant PERCENT_REGEX (line 6) | const PERCENT_REGEX = /(-?\d+\.?\d*)%/; FILE: packages/font/src/font-family.ts constant FONT_WEIGHTS (line 4) | const FONT_WEIGHTS = { class FontFamily (line 28) | class FontFamily { method create (line 32) | static create(family: string) { method constructor (line 36) | constructor(family: string) { method register (line 41) | register({ method resolve (line 56) | resolve(descriptor: FontDescriptor) { FILE: packages/font/src/font-source.ts class FontSource (line 32) | class FontSource { method constructor (line 41) | constructor( method _load (line 58) | async _load(): Promise { method load (line 88) | async load() { FILE: packages/font/src/index.ts class FontStore (line 11) | class FontStore { method constructor (line 16) | constructor() { type FontStoreType (line 205) | type FontStoreType = FontStore; FILE: packages/font/src/standard-font.ts constant STANDARD_FONTS (line 6) | const STANDARD_FONTS = [ class StandardFont (line 21) | class StandardFont implements Font { method constructor (line 41) | constructor(src: string) { method encode (line 63) | encode(str: string) { method layout (line 67) | layout(str: string) { method glyphForCodePoint (line 95) | glyphForCodePoint(codePoint: number) { method getGlyph (line 101) | getGlyph(id: number): fontkit.Glyph { method hasGlyphForCodePoint (line 113) | hasGlyphForCodePoint(codePoint: number) { method ascent (line 118) | get ascent() { method capHeight (line 123) | get capHeight() { method xHeight (line 141) | get xHeight() { method descent (line 159) | get descent() { method lineGap (line 176) | get lineGap() { method unitsPerEm (line 180) | get unitsPerEm() { method stringsForGlyph (line 184) | stringsForGlyph(): string[] { method glyphsForString (line 188) | glyphsForString(): fontkit.Glyph[] { method widthOfGlyph (line 192) | widthOfGlyph(): number { method getAvailableFeatures (line 196) | getAvailableFeatures(): string[] { method createSubset (line 200) | createSubset(): fontkit.Subset { method getVariation (line 204) | getVariation(): any { method getFont (line 208) | getFont(): any { method getName (line 212) | getName(): string | null { method setDefaultLanguage (line 216) | setDefaultLanguage(): void { FILE: packages/font/src/types.ts type Font (line 3) | type Font = Omit & { type FontStyle (line 8) | type FontStyle = 'normal' | 'italic' | 'oblique'; type FontWeight (line 10) | type FontWeight = type FontDescriptor (line 27) | type FontDescriptor = { type RemoteOptions (line 33) | type RemoteOptions = { type FontSourceOptions (line 39) | type FontSourceOptions = { type FontSource (line 43) | type FontSource = { type SingleLoad (line 49) | type SingleLoad = { type BulkLoad (line 53) | type BulkLoad = { type EmojiSourceUrl (line 58) | interface EmojiSourceUrl { type EmojiSourceBuilder (line 64) | interface EmojiSourceBuilder { type EmojiSource (line 69) | type EmojiSource = EmojiSourceUrl | EmojiSourceBuilder; type HyphenationCallback (line 71) | type HyphenationCallback = (word: string) => string[]; FILE: packages/image/declarations.d.ts class PNG (line 7) | class PNG { FILE: packages/image/src/jpeg.ts class JPEG (line 5) | class JPEG implements Image { method constructor (line 11) | constructor(data: Buffer) { method isValid (line 43) | static isValid(data: Buffer) { FILE: packages/image/src/png.ts class PNG (line 5) | class PNG implements Image { method constructor (line 11) | constructor(data: Buffer) { method isValid (line 20) | static isValid(data: Buffer): boolean { FILE: packages/image/src/resolve.ts constant IMAGE_CACHE (line 18) | const IMAGE_CACHE = createCache>({ limit: 30 }); function getImage (line 111) | function getImage(body: Buffer, format: string): Image | null { FILE: packages/image/src/types.ts type Image (line 1) | interface Image { type ImageFormat (line 9) | type ImageFormat = 'jpg' | 'jpeg' | 'png'; type DataImageSrc (line 11) | type DataImageSrc = { type LocalImageSrc (line 16) | type LocalImageSrc = { type RemoteImageSrc (line 21) | type RemoteImageSrc = { type Base64ImageSrc (line 30) | type Base64ImageSrc = { type ImageSrc (line 34) | type ImageSrc = FILE: packages/image/tests/types.ts type Global (line 11) | interface Global { type GlobalWithFetchMock (line 17) | interface GlobalWithFetchMock extends Global { type FetchMock (line 22) | interface FetchMock type MockParams (line 54) | interface MockParams { type MockResponseInit (line 63) | interface MockResponseInit extends MockParams { type ErrorOrFunction (line 68) | type ErrorOrFunction = Error | ((...args: any[]) => Promise); type UrlOrPredicate (line 69) | type UrlOrPredicate = string | RegExp | ((input: Request) => boolean); type MockResponseInitFunction (line 71) | type MockResponseInitFunction = ( FILE: packages/layout/globals.d.ts type Align (line 2) | enum Align { type BoxSizing (line 14) | enum BoxSizing { type Dimension (line 19) | enum Dimension { type Direction (line 24) | enum Direction { type Display (line 30) | enum Display { type Edge (line 36) | enum Edge { type Errata (line 48) | enum Errata { type ExperimentalFeature (line 57) | enum ExperimentalFeature { type FlexDirection (line 61) | enum FlexDirection { type Gutter (line 68) | enum Gutter { type Justify (line 74) | enum Justify { type LogLevel (line 83) | enum LogLevel { type MeasureMode (line 92) | enum MeasureMode { type NodeType (line 98) | enum NodeType { type Overflow (line 103) | enum Overflow { type PositionType (line 109) | enum PositionType { type Unit (line 115) | enum Unit { type Wrap (line 122) | enum Wrap { type MeasureFunction (line 128) | type MeasureFunction = ( type YogaNode (line 138) | interface YogaNode { type YogaConfig (line 223) | interface YogaConfig { type ConfigStatic (line 227) | interface ConfigStatic { type NodeStatic (line 232) | interface NodeStatic { type Yoga (line 239) | interface Yoga { FILE: packages/layout/src/canvas/measureCanvas.ts constant SAFETY_HEIGHT (line 8) | const SAFETY_HEIGHT = 10; type Point (line 10) | type Point = [number, number]; FILE: packages/layout/src/image/measureImage.ts constant SAFETY_HEIGHT (line 9) | const SAFETY_HEIGHT = 10; FILE: packages/layout/src/node/getDimension.ts constant DEFAULT_DIMENSION (line 3) | const DEFAULT_DIMENSION = { FILE: packages/layout/src/node/getWrap.ts constant NON_WRAP_TYPES (line 4) | const NON_WRAP_TYPES = [P.Svg, P.Note, P.Image, P.Canvas]; FILE: packages/layout/src/node/removePaddings.ts constant PADDING_PROPS (line 6) | const PADDING_PROPS = [ FILE: packages/layout/src/node/setAlign.ts constant ALIGN (line 5) | const ALIGN = { FILE: packages/layout/src/node/setFlexDirection.ts constant FLEX_DIRECTIONS (line 5) | const FLEX_DIRECTIONS = { FILE: packages/layout/src/node/setFlexWrap.ts constant FLEX_WRAP (line 4) | const FLEX_WRAP = { FILE: packages/layout/src/node/setJustifyContent.ts constant JUSTIFY_CONTENT (line 5) | const JUSTIFY_CONTENT = { FILE: packages/layout/src/node/setOverflow.ts constant OVERFLOW (line 5) | const OVERFLOW = { FILE: packages/layout/src/node/setPositionType.ts constant POSITION (line 5) | const POSITION = { FILE: packages/layout/src/page/getOrientation.ts constant VALID_ORIENTATIONS (line 3) | const VALID_ORIENTATIONS = ['portrait', 'landscape']; FILE: packages/layout/src/page/getSize.ts type UnitSize (line 4) | type UnitSize = { width: string | number; height?: string | number }; type Size (line 6) | type Size = { width: number; height: number }; constant PAGE_SIZES (line 9) | const PAGE_SIZES = { FILE: packages/layout/src/steps/resolveBookmarks.ts type Parent (line 9) | type Parent = Bookmark & { ref: number; parent: number | null }; type Item (line 11) | type Item = { FILE: packages/layout/src/steps/resolveInheritance.ts type StyleKey (line 7) | type StyleKey = keyof SafeStyle; constant BASE_INHERITABLE_PROPERTIES (line 9) | const BASE_INHERITABLE_PROPERTIES = [ constant TEXT_INHERITABLE_PROPERTIES (line 25) | const TEXT_INHERITABLE_PROPERTIES = [ FILE: packages/layout/src/steps/resolvePagination.ts constant SAFETY_THRESHOLD (line 31) | const SAFETY_THRESHOLD = 0.001; FILE: packages/layout/src/steps/resolveStyles.ts constant DEFAULT_LINK_STYLES (line 14) | const DEFAULT_LINK_STYLES: Style = { FILE: packages/layout/src/steps/resolveSvg.ts type Container (line 27) | type Container = { width: number; height: number }; constant STYLE_PROPS (line 29) | const STYLE_PROPS = [ constant VERTICAL_PROPS (line 50) | const VERTICAL_PROPS = ['y', 'y1', 'y2', 'height', 'cy', 'ry']; constant HORIZONTAL_PROPS (line 51) | const HORIZONTAL_PROPS = ['x', 'x1', 'x2', 'width', 'cx', 'rx']; FILE: packages/layout/src/svg/inheritProps.ts constant BASE_SVG_INHERITED_PROPS (line 5) | const BASE_SVG_INHERITED_PROPS = [ constant TEXT_SVG_INHERITED_PROPS (line 36) | const TEXT_SVG_INHERITED_PROPS = without(['x'], BASE_SVG_INHERITED_PROPS); constant SVG_INHERITED_PROPS (line 38) | const SVG_INHERITED_PROPS = { FILE: packages/layout/src/svg/replaceDefs.ts constant URL_REGEX (line 16) | const URL_REGEX = /url\(['"]?#([^'"]+)['"]?\)/; FILE: packages/layout/src/text/getAttributedString.ts constant PREPROCESSORS (line 16) | const PREPROCESSORS = [ignoreChars, embedEmojis]; FILE: packages/layout/src/text/ignoreChars.ts constant IGNORABLE_CODEPOINTS (line 3) | const IGNORABLE_CODEPOINTS = [ FILE: packages/layout/src/text/measureText.ts constant ALIGNMENT_FACTORS (line 9) | const ALIGNMENT_FACTORS = { center: 0.5, right: 1 }; FILE: packages/layout/src/types/base.ts type YogaInstance (line 8) | type YogaInstance = { type Box (line 12) | type Box = { type Origin (line 36) | type Origin = { type Bookmark (line 41) | interface Bookmark { type DynamicPageProps (line 52) | type DynamicPageProps = { type RenderProp (line 59) | type RenderProp = ( type NodeProps (line 63) | type NodeProps = { type FillRule (line 89) | type FillRule = 'nonzero' | 'evenodd'; type TextAnchor (line 91) | type TextAnchor = 'start' | 'middle' | 'end'; type StrokeLinecap (line 93) | type StrokeLinecap = 'butt' | 'round' | 'square'; type StrokeLinejoin (line 95) | type StrokeLinejoin = 'butt' | 'round' | 'square' | 'miter' | 'bevel'; type Visibility (line 97) | type Visibility = 'visible' | 'hidden' | 'collapse'; type DominantBaseline (line 99) | type DominantBaseline = type SVGPresentationAttributes (line 108) | type SVGPresentationAttributes = { type SafeSVGPresentationAttributes (line 127) | type SafeSVGPresentationAttributes = { type FormCommonProps (line 146) | interface FormCommonProps extends NodeProps { FILE: packages/layout/src/types/canvas.ts type CanvasProps (line 7) | interface CanvasProps extends NodeProps { type CanvasNode (line 15) | type CanvasNode = { type SafeCanvasNode (line 25) | type SafeCanvasNode = Omit & { FILE: packages/layout/src/types/checkbox.ts type CheckboxProps (line 7) | interface CheckboxProps extends FormCommonProps { type CheckboxNode (line 16) | type CheckboxNode = { type SafeCheckboxNode (line 26) | type SafeCheckboxNode = Omit & { FILE: packages/layout/src/types/circle.ts type CircleProps (line 10) | interface CircleProps extends SVGPresentationAttributes { type SafeCircleProps (line 17) | interface SafeCircleProps extends SafeSVGPresentationAttributes { type CircleNode (line 24) | type CircleNode = { type SafeCircleNode (line 34) | type SafeCircleNode = Omit & { FILE: packages/layout/src/types/clip-path.ts type ClipPathProps (line 11) | interface ClipPathProps { type ClipPathNode (line 15) | type ClipPathNode = { type SafeClipPathNode (line 33) | type SafeClipPathNode = Omit & { FILE: packages/layout/src/types/defs.ts type DefsNode (line 6) | type DefsNode = { type Defs (line 16) | type Defs = Record; type SafeDefsNode (line 18) | type SafeDefsNode = Omit & { type SafeDefs (line 26) | type SafeDefs = Record; FILE: packages/layout/src/types/document.ts type PDFVersion (line 7) | type PDFVersion = '1.3' | '1.4' | '1.5' | '1.6' | '1.7' | '1.7ext3'; type PageLayout (line 9) | type PageLayout = type PageMode (line 17) | type PageMode = type OnRenderProps (line 25) | interface OnRenderProps { type DocumentProps (line 29) | type DocumentProps = { type DocumentNode (line 46) | type DocumentNode = { type SafeDocumentNode (line 57) | type SafeDocumentNode = Omit & { FILE: packages/layout/src/types/ellipse.ts type EllipseProps (line 9) | interface EllipseProps extends SVGPresentationAttributes { type SafeEllipseProps (line 17) | interface SafeEllipseProps extends SafeSVGPresentationAttributes { type EllipseNode (line 25) | type EllipseNode = { type SafeEllipseNode (line 35) | type SafeEllipseNode = Omit & { FILE: packages/layout/src/types/field-set.ts type FieldSetProps (line 10) | interface FieldSetProps extends NodeProps { type FieldSetNode (line 14) | type FieldSetNode = { type SafeFieldSetNode (line 24) | type SafeFieldSetNode = Omit & { FILE: packages/layout/src/types/g.ts type GProps (line 19) | interface GProps extends SVGPresentationAttributes { type SafeGProps (line 23) | interface SafeGProps extends SafeSVGPresentationAttributes { type GNode (line 27) | type GNode = { type SafeGNode (line 49) | type SafeGNode = Omit & { FILE: packages/layout/src/types/image.ts type HTTPMethod (line 8) | type HTTPMethod = 'GET' | 'HEAD' | 'POST' | 'PUT' | 'DELETE' | 'PATCH'; type SourceURL (line 10) | type SourceURL = string; type SourceBuffer (line 12) | type SourceBuffer = Buffer; type SourceBlob (line 14) | type SourceBlob = Blob; type SourceDataBuffer (line 16) | type SourceDataBuffer = { data: Buffer; format: 'png' | 'jpg' }; type SourceURLObject (line 18) | type SourceURLObject = { type Source (line 26) | type Source = type SourceFactory (line 34) | type SourceFactory = () => Source; type SourceAsync (line 36) | type SourceAsync = Promise; type SourceAsyncFactory (line 38) | type SourceAsyncFactory = () => Promise; type SourceObject (line 40) | type SourceObject = type BaseImageProps (line 46) | interface BaseImageProps extends NodeProps { type ImageWithSrcProp (line 52) | interface ImageWithSrcProp extends BaseImageProps { type ImageWithSourceProp (line 57) | interface ImageWithSourceProp extends BaseImageProps { type ImageProps (line 62) | type ImageProps = ImageWithSrcProp | ImageWithSourceProp; type ImageNode (line 64) | type ImageNode = { type SafeImageNode (line 75) | type SafeImageNode = Omit & { FILE: packages/layout/src/types/line.ts type LineProps (line 9) | interface LineProps extends SVGPresentationAttributes { type SafeLineProps (line 17) | interface SafeLineProps extends SafeSVGPresentationAttributes { type LineNode (line 25) | type LineNode = { type SafeLineNode (line 35) | type SafeLineNode = Omit & { FILE: packages/layout/src/types/linear-gradient.ts type LinearGradientProps (line 5) | interface LinearGradientProps { type SafeLinearGradientProps (line 16) | interface SafeLinearGradientProps { type LinearGradientNode (line 27) | type LinearGradientNode = { type SafeLinearGradientNode (line 37) | type SafeLinearGradientNode = Omit< FILE: packages/layout/src/types/link.ts type LinkProps (line 11) | interface LinkProps extends NodeProps { type LinkNode (line 22) | type LinkNode = { type SafeLinkNode (line 32) | type SafeLinkNode = Omit & { FILE: packages/layout/src/types/node.ts type Node (line 30) | type Node = type SafeNode (line 61) | type SafeNode = FILE: packages/layout/src/types/note.ts type NoteNode (line 7) | type NoteNode = { type SafeNoteNode (line 17) | type SafeNoteNode = Omit & { FILE: packages/layout/src/types/page.ts type Orientation (line 17) | type Orientation = 'portrait' | 'landscape'; type StandardPageSize (line 19) | type StandardPageSize = type StaticSize (line 72) | type StaticSize = number | string; type PageSize (line 74) | type PageSize = type PageProps (line 81) | interface PageProps extends NodeProps { type PageNode (line 92) | type PageNode = { type SafePageNode (line 114) | type SafePageNode = Omit & { FILE: packages/layout/src/types/path.ts type PathProps (line 9) | interface PathProps extends SVGPresentationAttributes { type SafePathProps (line 14) | interface SafePathProps extends SafeSVGPresentationAttributes { type PathNode (line 19) | type PathNode = { type SafePathNode (line 29) | type SafePathNode = Omit & { FILE: packages/layout/src/types/polygon.ts type PolygonProps (line 9) | interface PolygonProps extends SVGPresentationAttributes { type SafePolygonProps (line 14) | interface SafePolygonProps extends SafeSVGPresentationAttributes { type PolygonNode (line 19) | type PolygonNode = { type SafePolygonNode (line 29) | type SafePolygonNode = Omit & { FILE: packages/layout/src/types/polyline.ts type PolylineProps (line 9) | interface PolylineProps extends SVGPresentationAttributes { type SafePolylineProps (line 14) | interface SafePolylineProps extends SafeSVGPresentationAttributes { type PolylineNode (line 19) | type PolylineNode = { type SafePolylineNode (line 29) | type SafePolylineNode = Omit & { FILE: packages/layout/src/types/radial-gradient.ts type RadialGradientProps (line 6) | interface RadialGradientProps { type SafeRadialGradientProps (line 19) | interface SafeRadialGradientProps { type RadialGradientNode (line 32) | type RadialGradientNode = { type SafeRadialGradientNode (line 42) | type SafeRadialGradientNode = Omit< FILE: packages/layout/src/types/rect.ts type RectProps (line 9) | interface RectProps extends SVGPresentationAttributes { type SafeRectProps (line 19) | interface SafeRectProps extends SafeSVGPresentationAttributes { type RectNode (line 29) | type RectNode = { type SafeRectNode (line 39) | type SafeRectNode = Omit & { FILE: packages/layout/src/types/select.ts type SelectAndListProps (line 7) | interface SelectAndListProps extends FormCommonProps { type SelectNode (line 15) | type SelectNode = { type SafeSelectNode (line 25) | type SafeSelectNode = Omit & { type ListNode (line 29) | type ListNode = { type SafeListNode (line 39) | type SafeListNode = Omit & { FILE: packages/layout/src/types/stop.ts type StopProps (line 3) | interface StopProps { type StopSafeProps (line 9) | interface StopSafeProps { type StopNode (line 15) | type StopNode = { type SafeStopNode (line 25) | type SafeStopNode = Omit & { FILE: packages/layout/src/types/svg.ts type Viewbox (line 25) | type Viewbox = { type PreserveAspectRatio (line 32) | type PreserveAspectRatio = { type SvgProps (line 47) | interface SvgProps extends NodeProps, SVGPresentationAttributes { type SvgSafeProps (line 54) | interface SvgSafeProps extends NodeProps, SafeSVGPresentationAttributes { type SvgNode (line 61) | type SvgNode = { type SafeSvgNode (line 84) | type SafeSvgNode = Omit & { FILE: packages/layout/src/types/text-input.ts type TextInputFormatting (line 8) | interface TextInputFormatting { type TextInputProps (line 27) | interface TextInputProps extends FormCommonProps { type TextInputNode (line 49) | type TextInputNode = { type SafeTextInputNode (line 59) | type SafeTextInputNode = Omit & { FILE: packages/layout/src/types/text-instance.ts type TextInstanceNode (line 3) | type TextInstanceNode = { type SafeTextInstanceNode (line 14) | type SafeTextInstanceNode = TextInstanceNode; FILE: packages/layout/src/types/text.ts type TextProps (line 12) | interface TextProps extends NodeProps { type TextNode (line 39) | type TextNode = { type SafeTextNode (line 51) | type SafeTextNode = Omit & { FILE: packages/layout/src/types/tspan.ts type TspanProps (line 11) | interface TspanProps extends SVGPresentationAttributes { type SafeTspanProps (line 16) | interface SafeTspanProps extends SafeSVGPresentationAttributes { type TspanNode (line 21) | type TspanNode = { type SafeTspanNode (line 32) | type SafeTspanNode = Omit & { FILE: packages/layout/src/types/view.ts type ViewProps (line 16) | interface ViewProps extends NodeProps { type ViewNode (line 26) | type ViewNode = { type SafeViewNode (line 48) | type SafeViewNode = Omit & { FILE: packages/layout/tests/image/getSource.test.ts constant VALUE (line 5) | const VALUE = 'gotcha'; FILE: packages/layout/tests/image/resolveSource.test.ts constant SOURCE_URL (line 5) | const SOURCE_URL = 'gotcha'; constant SOURCE_URL_OBJECT (line 6) | const SOURCE_URL_OBJECT = { uri: 'gotcha', method: 'GET' }; constant SOURCE_BUFFER (line 7) | const SOURCE_BUFFER = Buffer.from('gotcha'); constant SOURCE_DATA_BUFFER (line 8) | const SOURCE_DATA_BUFFER = { data: Buffer.from('gotcha'), format: 'png' }; constant SOURCE_BLOB (line 9) | const SOURCE_BLOB = new Blob([SOURCE_BUFFER], { type: 'image/png' }); FILE: packages/layout/tests/text/heightAtLineIndex.test.ts constant TEST_LINE (line 6) | const TEST_LINE = { box: { height: 25 } }; constant TEST_LINES (line 7) | const TEST_LINES = Array(10).fill(TEST_LINE); FILE: packages/layout/tests/text/layoutText.test.ts constant TEXT (line 9) | const TEXT = FILE: packages/layout/tests/text/lineIndexAtHeight.test.ts constant TEST_LINE (line 6) | const TEST_LINE = { box: { height: 25 } }; constant TEST_LINES (line 7) | const TEST_LINES = Array(10).fill(TEST_LINE); FILE: packages/layout/tests/text/measureText.test.ts constant TEXT (line 8) | const TEXT = FILE: packages/pdfkit/src/abstract_reference.js class PDFAbstractReference (line 5) | class PDFAbstractReference { method toString (line 6) | toString() { FILE: packages/pdfkit/src/data.js class Data (line 1) | class Data { method constructor (line 2) | constructor(data = []) { method readByte (line 8) | readByte() { method writeByte (line 12) | writeByte(byte) { method byteAt (line 16) | byteAt(index) { method readBool (line 20) | readBool() { method writeBool (line 24) | writeBool(val) { method readUInt32 (line 28) | readUInt32() { method writeUInt32 (line 36) | writeUInt32(val) { method readInt32 (line 43) | readInt32() { method writeInt32 (line 52) | writeInt32(val) { method readUInt16 (line 59) | readUInt16() { method writeUInt16 (line 65) | writeUInt16(val) { method readInt16 (line 70) | readInt16() { method writeInt16 (line 79) | writeInt16(val) { method readString (line 86) | readString(length) { method writeString (line 95) | writeString(val) { method stringAt (line 104) | stringAt(pos, length) { method readShort (line 109) | readShort() { method writeShort (line 113) | writeShort(val) { method readLongLong (line 117) | readLongLong() { method writeLongLong (line 155) | writeLongLong(val) { method readInt (line 168) | readInt() { method writeInt (line 172) | writeInt(val) { method slice (line 176) | slice(start, end) { method read (line 180) | read(bytes) { method write (line 189) | write(bytes) { FILE: packages/pdfkit/src/document.js class PDFDocument (line 26) | class PDFDocument extends stream.Readable { method constructor (line 27) | constructor(options = {}) { method addPage (line 136) | addPage(options) { method continueOnNewPage (line 169) | continueOnNewPage(options) { method bufferedPageRange (line 179) | bufferedPageRange() { method switchToPage (line 183) | switchToPage(n) { method flushPages (line 196) | flushPages() { method addNamedDestination (line 208) | addNamedDestination(name, ...args) { method addNamedEmbeddedFile (line 219) | addNamedEmbeddedFile(name, ref) { method addNamedJavaScript (line 231) | addNamedJavaScript(name, js) { method ref (line 242) | ref(data) { method _read (line 249) | _read() {} method _write (line 252) | _write(data) { method addContent (line 261) | addContent(data) { method _refEnd (line 266) | _refEnd(ref) { method end (line 274) | end() { method _finalize (line 326) | _finalize() { method toString (line 360) | toString() { FILE: packages/pdfkit/src/font.js class PDFFont (line 5) | class PDFFont { method open (line 6) | static open(document, src, family, id) { method encode (line 34) | encode() { method widthOfString (line 38) | widthOfString() { method ref (line 42) | ref() { method finalize (line 48) | finalize() { method embed (line 57) | embed() { method lineHeight (line 61) | lineHeight(size, includeGap) { FILE: packages/pdfkit/src/font/afm.js constant WIN_ANSI_MAP (line 4) | const WIN_ANSI_MAP = { function parse (line 108) | function parse(contents) { class AFMFont (line 163) | class AFMFont { method open (line 164) | static open(filename) { method fromJson (line 171) | static fromJson(json) { method constructor (line 175) | constructor(contents) { method parse (line 199) | parse() { method encodeText (line 207) | encodeText(text) { method glyphsForString (line 222) | glyphsForString(string) { method characterToGlyph (line 237) | characterToGlyph(character) { method widthOfGlyph (line 241) | widthOfGlyph(glyph) { method getKernPair (line 245) | getKernPair(left, right) { method advancesForGlyphs (line 249) | advancesForGlyphs(glyphs) { FILE: packages/pdfkit/src/font/data/compressData.js constant COMPRESS_ORDER (line 25) | const COMPRESS_ORDER = ['Helvetica', 'Times', 'Courier']; FILE: packages/pdfkit/src/font/embedded.js method constructor (line 11) | constructor(document, font, id) { method layoutRun (line 33) | layoutRun(text, features) { method layoutCached (line 50) | layoutCached(text) { method layout (line 61) | layout(text, features, onlyWidth) { method encode (line 100) | encode(text, features) { method encodeGlyphs (line 120) | encodeGlyphs(glyphs) { method widthOfString (line 138) | widthOfString(string, size, features) { method embed (line 144) | embed() { method toUnicodeCmap (line 243) | toUnicodeCmap() { FILE: packages/pdfkit/src/font/standard.js constant STANDARD_FONTS (line 5) | const STANDARD_FONTS = expandData(data); method constructor (line 9) | constructor(document, name, id) { method embed (line 22) | embed() { method encode (line 33) | encode(text) { method encodeGlyphs (line 53) | encodeGlyphs(glyphs) { method widthOfString (line 63) | widthOfString(string, size) { method isStandardFont (line 76) | static isStandardFont(name) { FILE: packages/pdfkit/src/font_factory.js class PDFFontFactory (line 6) | class PDFFontFactory { method open (line 7) | static open(document, src, family, id) { FILE: packages/pdfkit/src/gradient.js class PDFGradient (line 5) | class PDFGradient { method constructor (line 6) | constructor(doc) { method stop (line 13) | stop(pos, color, opacity) { method setTransform (line 42) | setTransform(m11, m12, m21, m22, dx, dy) { method embed (line 47) | embed(m) { method apply (line 187) | apply(stroke) { class PDFLinearGradient (line 209) | class PDFLinearGradient extends PDFGradient { method constructor (line 210) | constructor(doc, x1, y1, x2, y2) { method shader (line 218) | shader(fn) { method opacityGradient (line 228) | opacityGradient() { class PDFRadialGradient (line 233) | class PDFRadialGradient extends PDFGradient { method constructor (line 234) | constructor(doc, x1, y1, r1, x2, y2, r2) { method shader (line 245) | shader(fn) { method opacityGradient (line 255) | opacityGradient() { FILE: packages/pdfkit/src/image.js class PDFImage (line 10) | class PDFImage { method open (line 11) | static open(src, label) { FILE: packages/pdfkit/src/image/jpeg.js constant COLOR_SPACE_MAP (line 3) | const COLOR_SPACE_MAP = { class JPEG (line 9) | class JPEG { method constructor (line 10) | constructor(data, label) { method embed (line 39) | embed(document) { FILE: packages/pdfkit/src/image/png.js class PNGImage (line 4) | class PNGImage { method constructor (line 5) | constructor(data, label) { method embed (line 14) | embed(document) { method finalize (line 99) | finalize() { method splitAlphaChannel (line 124) | splitAlphaChannel() { method loadIndexedAlphaChannel (line 152) | loadIndexedAlphaChannel() { method decodeData (line 167) | decodeData() { FILE: packages/pdfkit/src/line_wrapper.js constant SOFT_HYPHEN (line 5) | const SOFT_HYPHEN = '\u00AD'; constant HYPHEN (line 6) | const HYPHEN = '-'; class LineWrapper (line 8) | class LineWrapper extends EventEmitter { method constructor (line 9) | constructor(document, options) { method wordWidth (line 87) | wordWidth(word) { method canFit (line 95) | canFit(word, w) { method eachWord (line 102) | eachWord(text, fn) { method wrap (line 182) | wrap(text, options) { method nextSection (line 337) | nextSection(options) { FILE: packages/pdfkit/src/metadata.js class PDFMetadata (line 1) | class PDFMetadata { method constructor (line 2) | constructor() { method _closeTags (line 10) | _closeTags() { method append (line 18) | append(xml, newline = true) { method getXML (line 23) | getXML() { method getLength (line 27) | getLength() { method end (line 31) | end() { FILE: packages/pdfkit/src/mixins/acroform.js constant FIELD_FLAGS (line 1) | const FIELD_FLAGS = { constant FIELD_JUSTIFY (line 16) | const FIELD_JUSTIFY = { constant VALUE_MAP (line 21) | const VALUE_MAP = { value: 'V', defaultValue: 'DV' }; constant FORMAT_SPECIAL (line 22) | const FORMAT_SPECIAL = { constant FORMAT_DEFAULT (line 29) | const FORMAT_DEFAULT = { method initForm (line 48) | initForm() { method endAcroForm (line 75) | endAcroForm() { method _endChild (line 95) | _endChild(ref) { method formField (line 112) | formField(name, options = {}) { method formAnnotation (line 130) | formAnnotation(name, type, x, y, w, h, options = {}) { method formText (line 144) | formText(name, x, y, w, h, options = {}) { method formPushButton (line 148) | formPushButton(name, x, y, w, h, options = {}) { method formCombo (line 152) | formCombo(name, x, y, w, h, options = {}) { method formList (line 156) | formList(name, x, y, w, h, options = {}) { method formRadioButton (line 160) | formRadioButton(name, x, y, w, h, options = {}) { method formCheckbox (line 164) | formCheckbox(name, x, y, w, h, options = {}) { method _addToParent (line 168) | _addToParent(fieldRef) { method _fieldDict (line 181) | _fieldDict(name, type, options = {}) { method _resolveType (line 205) | _resolveType(type, opts) { method _resolveFormat (line 227) | _resolveFormat(opts) { method _resolveColors (line 278) | _resolveColors(opts) { method _resolveFlags (line 298) | _resolveFlags(options) { method _resolveJustify (line 315) | _resolveJustify(options) { method _resolveFont (line 329) | _resolveFont(options) { method _resolveStrings (line 348) | _resolveStrings(options) { FILE: packages/pdfkit/src/mixins/annotations.js method annotate (line 2) | annotate(x, y, w, h, options) { method note (line 34) | note(x, y, w, h, contents, options = {}) { method goTo (line 46) | goTo(x, y, w, h, name, options = {}) { method link (line 56) | link(x, y, w, h, url, options = {}) { method _markup (line 83) | _markup(x, y, w, h, options = {}) { method highlight (line 90) | highlight(x, y, w, h, options = {}) { method underline (line 98) | underline(x, y, w, h, options = {}) { method strike (line 103) | strike(x, y, w, h, options = {}) { method lineAnnotation (line 108) | lineAnnotation(x1, y1, x2, y2, options = {}) { method rectAnnotation (line 115) | rectAnnotation(x, y, w, h, options = {}) { method ellipseAnnotation (line 121) | ellipseAnnotation(x, y, w, h, options = {}) { method textAnnotation (line 127) | textAnnotation(x, y, w, h, text, options = {}) { method fileAnnotation (line 134) | fileAnnotation(x, y, w, h, file = {}, options = {}) { method _convertRect (line 151) | _convertRect(x1, y1, w, h) { FILE: packages/pdfkit/src/mixins/attachments.js method file (line 18) | file(src, options = {}) { function isEqual (line 117) | function isEqual(a, b) { FILE: packages/pdfkit/src/mixins/color.js method initColor (line 9) | initColor() { method _normalizeColor (line 18) | _normalizeColor(color) { method _setColor (line 50) | _setColor(color, stroke) { method _setColorCore (line 63) | _setColorCore(color, stroke) { method _setColorSpace (line 83) | _setColorSpace(space, stroke) { method _getColorSpace (line 88) | _getColorSpace(color) { method fillColor (line 96) | fillColor(color, opacity) { method strokeColor (line 108) | strokeColor(color, opacity) { method opacity (line 116) | opacity(opacity) { method fillOpacity (line 121) | fillOpacity(opacity) { method strokeOpacity (line 126) | strokeOpacity(opacity) { method _doOpacity (line 131) | _doOpacity(fillOpacity, strokeOpacity) { method linearGradient (line 168) | linearGradient(x1, y1, x2, y2) { method radialGradient (line 172) | radialGradient(x1, y1, r1, x2, y2, r2) { method pattern (line 176) | pattern(bbox, xStep, yStep, stream) { method addSpotColor (line 180) | addSpotColor(name, C, M, Y, K) { FILE: packages/pdfkit/src/mixins/fonts.js method initFonts (line 4) | initFonts() { method font (line 19) | font(src, family, size) { method fontSize (line 71) | fontSize(_fontSize) { method currentLineHeight (line 76) | currentLineHeight(includeGap) { method registerFont (line 83) | registerFont(name, src, family) { FILE: packages/pdfkit/src/mixins/images.js method initImages (line 4) | initImages() { method image (line 9) | image(src, x, y, options = {}) { method openImage (line 219) | openImage(src) { FILE: packages/pdfkit/src/mixins/markings.js method initMarkings (line 12) | initMarkings(options) { method markContent (line 21) | markContent(tag, options = null) { method markStructureContent (line 85) | markStructureContent(tag, options = {}) { method endMarkedContent (line 99) | endMarkedContent() { method struct (line 105) | struct(type, options = {}, children = null) { method addStructure (line 109) | addStructure(structElem) { method initPageMarkings (line 121) | initPageMarkings(pageMarkings) { method endPageMarkings (line 137) | endPageMarkings(page) { method getMarkInfoDictionary (line 144) | getMarkInfoDictionary() { method hasMarkInfoDictionary (line 151) | hasMarkInfoDictionary() { method getStructTreeRoot (line 155) | getStructTreeRoot() { method getStructParentTree (line 166) | getStructParentTree() { method createStructParentTreeNextKey (line 170) | createStructParentTreeNextKey() { method endMarkings (line 180) | endMarkings() { FILE: packages/pdfkit/src/mixins/metadata.js method initMetadata (line 4) | initMetadata() { method appendXML (line 8) | appendXML(xml, newline = true) { method _addInfo (line 12) | _addInfo() { method endMetadata (line 80) | endMetadata() { FILE: packages/pdfkit/src/mixins/outline.js method initOutline (line 4) | initOutline() { method endOutline (line 8) | endOutline() { FILE: packages/pdfkit/src/mixins/pdfa.js method initPDFA (line 4) | initPDFA(pSubset) { method endSubset (line 17) | endSubset() { method _addColorOutputIntent (line 22) | _addColorOutputIntent() { method _getPdfaid (line 46) | _getPdfaid() { method _addPdfaMetadata (line 55) | _addPdfaMetadata() { FILE: packages/pdfkit/src/mixins/pdfua.js method initPDFUA (line 2) | initPDFUA() { method endSubset (line 6) | endSubset() { method _addPdfuaMetadata (line 10) | _addPdfuaMetadata() { method _getPdfuaid (line 14) | _getPdfuaid() { FILE: packages/pdfkit/src/mixins/subsets.js method _importSubset (line 5) | _importSubset(subset) { method initSubset (line 9) | initSubset(options) { FILE: packages/pdfkit/src/mixins/text.js method initText (line 8) | initText() { method lineGap (line 17) | lineGap(_lineGap) { method moveDown (line 22) | moveDown(lines) { method moveUp (line 30) | moveUp(lines) { method _text (line 38) | _text(text, x, y, options, lineCallback) { method text (line 92) | text(text, x, y, options) { method widthOfString (line 96) | widthOfString(string, options = {}) { method boundsOfString (line 116) | boundsOfString(string, x, y, options) {} method heightOfString (line 118) | heightOfString(text, options) { method list (line 136) | list(list, x, y, options, wrapper) { method _initOptions (line 266) | _initOptions(x = {}, y, options = {}) { method _line (line 317) | _line(text, options = {}, wrapper) { method _fragment (line 328) | _fragment(text, x, y, options) { FILE: packages/pdfkit/src/mixins/vector.js constant KAPPA (line 8) | const KAPPA = 4.0 * ((Math.sqrt(2) - 1.0) / 3.0); method initVector (line 10) | initVector() { method save (line 15) | save() { method restore (line 21) | restore() { method closePath (line 26) | closePath() { method lineWidth (line 30) | lineWidth(w) { method lineCap (line 40) | lineCap(c) { method lineJoin (line 53) | lineJoin(j) { method miterLimit (line 60) | miterLimit(m) { method dash (line 64) | dash(length, options = {}) { method undash (line 83) | undash() { method moveTo (line 87) | moveTo(x, y) { method lineTo (line 91) | lineTo(x, y) { method bezierCurveTo (line 95) | bezierCurveTo(cp1x, cp1y, cp2x, cp2y, x, y) { method quadraticCurveTo (line 103) | quadraticCurveTo(cpx, cpy, x, y) { method rect (line 109) | rect(x, y, w, h) { method roundedRect (line 115) | roundedRect(x, y, w, h, r) { method ellipse (line 136) | ellipse(x, y, r1, r2) { method circle (line 158) | circle(x, y, radius) { method arc (line 162) | arc(x, y, radius, startAngle, endAngle, anticlockwise) { method polygon (line 223) | polygon(...points) { method path (line 231) | path(path) { method _windingRule (line 236) | _windingRule(rule) { method fill (line 244) | fill(color, rule) { method stroke (line 256) | stroke(color) { method fillAndStroke (line 263) | fillAndStroke(fillColor, strokeColor, rule) { method clip (line 286) | clip(rule) { method transform (line 290) | transform(m11, m12, m21, m22, dx, dy) { method translate (line 316) | translate(x, y) { method rotate (line 320) | rotate(angle, options = {}) { method scale (line 338) | scale(xFactor, yFactor, options = {}) { FILE: packages/pdfkit/src/name_tree.js class PDFNameTree (line 7) | class PDFNameTree extends PDFTree { method _compareKeys (line 8) | _compareKeys(a, b) { method _keysName (line 12) | _keysName() { method _dataForKey (line 16) | _dataForKey(k) { FILE: packages/pdfkit/src/number_tree.js class PDFNumberTree (line 7) | class PDFNumberTree extends PDFTree { method _compareKeys (line 8) | _compareKeys(a, b) { method _keysName (line 12) | _keysName() { method _dataForKey (line 16) | _dataForKey(k) { FILE: packages/pdfkit/src/object.js class PDFObject (line 39) | class PDFObject { method convert (line 40) | static convert(object) { method number (line 118) | static number(n) { FILE: packages/pdfkit/src/outline.js constant DEFAULT_OPTIONS (line 2) | const DEFAULT_OPTIONS = { class PDFOutline (line 12) | class PDFOutline { method constructor (line 13) | constructor(document, parent, title, dest, options = DEFAULT_OPTIONS) { method addItem (line 44) | addItem(title, options = DEFAULT_OPTIONS) { method endOutline (line 66) | endOutline() { FILE: packages/pdfkit/src/page.js constant DEFAULT_MARGINS (line 9) | const DEFAULT_MARGINS = { constant SIZES (line 16) | const SIZES = { class PDFPage (line 69) | class PDFPage { method constructor (line 70) | constructor(document, options = {}) { method fonts (line 122) | get fonts() { method xobjects (line 127) | get xobjects() { method ext_gstates (line 132) | get ext_gstates() { method patterns (line 137) | get patterns() { method colorSpaces (line 142) | get colorSpaces() { method annotations (line 147) | get annotations() { method structParentTreeKey (line 152) | get structParentTreeKey() { method maxY (line 159) | maxY() { method write (line 163) | write(chunk) { method _setTabOrder (line 168) | _setTabOrder() { method end (line 174) | end() { FILE: packages/pdfkit/src/path.js method M (line 268) | M(doc, a) { method m (line 277) | m(doc, a) { method C (line 286) | C(doc, a) { method c (line 294) | c(doc, a) { method S (line 309) | S(doc, a) { method s (line 322) | s(doc, a) { method Q (line 342) | Q(doc, a) { method q (line 350) | q(doc, a) { method T (line 358) | T(doc, a) { method t (line 374) | t(doc, a) { method A (line 388) | A(doc, a) { method a (line 394) | a(doc, a) { method L (line 402) | L(doc, a) { method l (line 409) | l(doc, a) { method H (line 416) | H(doc, a) { method h (line 422) | h(doc, a) { method V (line 428) | V(doc, a) { method v (line 434) | v(doc, a) { method Z (line 440) | Z(doc) { method z (line 446) | z(doc) { class SVGPath (line 550) | class SVGPath { method apply (line 551) | static apply(doc, path) { FILE: packages/pdfkit/src/pattern.js class PDFTilingPattern (line 7) | class PDFTilingPattern { method constructor (line 8) | constructor(doc, bBox, xStep, yStep, stream) { method createPattern (line 16) | createPattern() { method embedPatternColorSpaces (line 48) | embedPatternColorSpaces() { method getPatternColorSpaceId (line 61) | getPatternColorSpaceId(underlyingColorspace) { method embed (line 65) | embed() { method apply (line 78) | apply(stroke, patternColor) { FILE: packages/pdfkit/src/reference.js class PDFReference (line 10) | class PDFReference extends stream.Writable { method constructor (line 11) | constructor(document, id, data) { method initDeflate (line 29) | initDeflate() { method _write (line 41) | _write(chunk, encoding, callback) { method end (line 64) | end() { method finalize (line 74) | finalize() { method toString (line 94) | toString() { FILE: packages/pdfkit/src/security.js class PDFSecurity (line 21) | class PDFSecurity { method generateFileID (line 22) | static generateFileID(info = {}) { FILE: packages/pdfkit/src/spotcolor.js class SpotColor (line 1) | class SpotColor { method constructor (line 2) | constructor(doc, name, C, M, Y, K) { method toString (line 22) | toString() { FILE: packages/pdfkit/src/structure_content.js class PDFStructureContent (line 6) | class PDFStructureContent { method constructor (line 7) | constructor(pageRef, mcid) { method push (line 11) | push(structContent) { FILE: packages/pdfkit/src/structure_element.js class PDFStructureElement (line 8) | class PDFStructureElement { method constructor (line 9) | constructor(document, type, options = {}, children = null) { method add (line 54) | add(child) { method _addContentToParentTree (line 84) | _addContentToParentTree(content) { method setParent (line 93) | setParent(parentRef) { method setAttached (line 103) | setAttached() { method end (line 122) | end() { method _isValidChild (line 136) | _isValidChild(child) { method _contentForClosure (line 144) | _contentForClosure(closure) { method _isFlushable (line 154) | _isFlushable() { method _flush (line 170) | _flush() { method _flushChild (line 190) | _flushChild(child) { FILE: packages/pdfkit/src/tree.js class PDFTree (line 7) | class PDFTree { method constructor (line 8) | constructor(options = {}) { method add (line 14) | add(key, val) { method get (line 18) | get(key) { method toString (line 22) | toString() { method _compareKeys (line 49) | _compareKeys(/*a, b*/) { method _keysName (line 53) | _keysName() { method _dataForKey (line 57) | _dataForKey(/*k*/) { FILE: packages/pdfkit/src/utils.js function PDFNumber (line 1) | function PDFNumber(n) { function normalizeSides (line 49) | function normalizeSides( constant MM_TO_CM (line 94) | const MM_TO_CM = 1 / 10; constant CM_TO_IN (line 95) | const CM_TO_IN = 1 / 2.54; constant PX_TO_IN (line 96) | const PX_TO_IN = 1 / 96; constant IN_TO_PT (line 97) | const IN_TO_PT = 72; constant PC_TO_PT (line 98) | const PC_TO_PT = 12; function cosine (line 107) | function cosine(a) { function sine (line 122) | function sine(a) { FILE: packages/pdfkit/src/virtual-fs.js class VirtualFileSystem (line 1) | class VirtualFileSystem { method constructor (line 2) | constructor() { method readFileSync (line 6) | readFileSync(fileName, options = {}) { method writeFileSync (line 25) | writeFileSync(fileName, content) { method bindFileData (line 29) | bindFileData(data = {}, options = {}) { function normalizeFilename (line 38) | function normalizeFilename(fileName) { FILE: packages/png-js/src/index.js class PNG (line 4) | class PNG { method decode (line 5) | static decode(path, fn) { method load (line 16) | static load(path) { method constructor (line 25) | constructor(data) { method read (line 147) | read(bytes) { method readUInt32 (line 155) | readUInt32() { method readUInt16 (line 163) | readUInt16() { method decodePixels (line 169) | decodePixels(fn) { method decodePalette (line 328) | decodePalette() { method copyToImageData (line 347) | copyToImageData(imageData, pixels) { method decode (line 388) | decode(fn) { FILE: packages/reconciler/build/trim-reconciler.js constant KEEP_OPTIONS (line 8) | const KEEP_OPTIONS = { constant STATIC_OPTIONS (line 42) | const STATIC_OPTIONS = { constant METHOD_KEYS (line 49) | const METHOD_KEYS = { function clearReconcilerOptions (line 56) | function clearReconcilerOptions(path) { function clearReconcilerMethods (line 78) | function clearReconcilerMethods(path) { method transform (line 97) | transform(code) { FILE: packages/reconciler/src/reconciler-23.ts method prepareForCommit (line 37) | prepareForCommit() {} method clearContainer (line 38) | clearContainer() {} method resetTextContent (line 39) | resetTextContent() {} FILE: packages/reconciler/src/reconciler-31.ts method prepareForCommit (line 49) | prepareForCommit() {} method clearContainer (line 50) | clearContainer() {} method resetTextContent (line 51) | resetTextContent() {} FILE: packages/reconciler/src/reconciler-33.ts method prepareForCommit (line 49) | prepareForCommit() {} method clearContainer (line 50) | clearContainer() {} method resetTextContent (line 51) | resetTextContent() {} FILE: packages/reconciler/src/types.ts type Reconciler (line 1) | interface Reconciler { type ReconcilerFactory (line 11) | type ReconcilerFactory = (config: { FILE: packages/render/src/operations/addBookmarks.ts type Registry (line 5) | type Registry = Record; FILE: packages/render/src/operations/clipNode.ts constant KAPPA (line 7) | const KAPPA = 4.0 * ((Math.sqrt(2) - 1.0) / 3.0); FILE: packages/render/src/primitives/renderBorders.ts type SafeBorderStyle (line 6) | type SafeBorderStyle = { constant KAPPA (line 26) | const KAPPA = 4.0 * ((Math.sqrt(2) - 1.0) / 3.0); FILE: packages/render/src/primitives/renderDebug.ts constant CONTENT_COLOR (line 4) | const CONTENT_COLOR = '#a1c6e7'; constant PADDING_COLOR (line 5) | const PADDING_COLOR = '#c4deb9'; constant MARGIN_COLOR (line 6) | const MARGIN_COLOR = '#f8cca1'; FILE: packages/render/src/primitives/renderEllipse.ts constant KAPPA (line 4) | const KAPPA = 4.0 * ((Math.sqrt(2) - 1.0) / 3.0); FILE: packages/render/src/primitives/renderNode.ts type Primitives (line 24) | type Primitives = (typeof P)[keyof typeof P]; FILE: packages/render/src/primitives/renderRect.ts constant KAPPA (line 4) | const KAPPA = 4.0 * ((Math.sqrt(2) - 1.0) / 3.0); FILE: packages/render/src/primitives/renderSvg.ts type Primitives (line 26) | type Primitives = (typeof P)[keyof typeof P]; function multiplyMatrices (line 110) | function multiplyMatrices(m1: number[], m2: number[]) { FILE: packages/render/src/primitives/renderText.ts constant DEST_REGEXP (line 16) | const DEST_REGEXP = /^#.+/; FILE: packages/render/src/svg/getBoundingBox.ts type Primitives (line 17) | type Primitives = (typeof P)[keyof typeof P]; FILE: packages/render/src/types.ts type PDFFontSource (line 5) | type PDFFontSource = string | Buffer | Uint8Array | ArrayBuffer | Font; type Context (line 7) | type Context = typeof PDFKitDocument & { type RenderOptions (line 22) | interface RenderOptions { FILE: packages/renderer/index.d.ts class ReactPDF (line 18) | class ReactPDF { type Styles (line 25) | interface Styles { type OnRenderProps (line 28) | interface OnRenderProps { type DocumentProps (line 32) | interface DocumentProps { class Document (line 55) | class Document extends React.Component< type NodeProps (line 59) | interface NodeProps { type PageProps (line 80) | interface PageProps extends NodeProps { class Page (line 103) | class Page extends React.Component< type ViewProps (line 107) | interface ViewProps extends NodeProps { class View (line 129) | class View extends React.Component< type BaseImageProps (line 133) | interface BaseImageProps extends NodeProps { type ImageWithSrcProp (line 142) | interface ImageWithSrcProp extends BaseImageProps { type ImageWithSourceProp (line 146) | interface ImageWithSourceProp extends BaseImageProps { type ImageProps (line 150) | type ImageProps = ImageWithSrcProp | ImageWithSourceProp; class Image (line 156) | class Image extends React.Component {} type TextProps (line 158) | interface TextProps extends NodeProps { type SVGTextProps (line 193) | interface SVGTextProps extends SVGPresentationAttributes { class Text (line 208) | class Text extends React.Component< type LinkProps (line 212) | interface LinkProps extends NodeProps { class Link (line 231) | class Link extends React.Component< type FormCommonProps (line 235) | interface FormCommonProps extends NodeProps { type FieldSetProps (line 244) | interface FieldSetProps extends NodeProps { class FieldSet (line 248) | class FieldSet extends React.Component< type TextInputFormatting (line 253) | interface TextInputFormatting { type TextInputProps (line 272) | interface TextInputProps extends FormCommonProps { class TextInput (line 294) | class TextInput extends React.Component {} type CheckboxProps (line 296) | interface CheckboxProps extends FormCommonProps { class Checkbox (line 305) | class Checkbox extends React.Component {} type SelectAndListPropsBase (line 307) | interface SelectAndListPropsBase extends FormCommonProps { type SelectAndListPropsWithEdit (line 315) | type SelectAndListPropsWithEdit = SelectAndListPropsBase & { type SelectAndListPropsWithNoSpell (line 320) | type SelectAndListPropsWithNoSpell = SelectAndListPropsBase & { type SelectAndListProps (line 325) | type SelectAndListProps = class Select (line 329) | class Select extends React.Component {} class List (line 331) | class List extends React.Component {} type NoteProps (line 333) | interface NoteProps extends NodeProps { class Note (line 337) | class Note extends React.Component {} type CanvasProps (line 339) | interface CanvasProps extends NodeProps { class Canvas (line 352) | class Canvas extends React.Component {} type SVGProps (line 354) | interface SVGProps extends NodeProps, SVGPresentationAttributes { class Svg (line 369) | class Svg extends React.Component> {} type LineProps (line 371) | interface LineProps extends SVGPresentationAttributes { class Line (line 382) | class Line extends React.Component< type PolylineProps (line 386) | interface PolylineProps extends SVGPresentationAttributes { class Polyline (line 394) | class Polyline extends React.Component< type PolygonProps (line 398) | interface PolygonProps extends SVGPresentationAttributes { class Polygon (line 407) | class Polygon extends React.Component< type PathProps (line 411) | interface PathProps extends SVGPresentationAttributes { class Path (line 419) | class Path extends React.Component< type RectProps (line 423) | interface RectProps extends SVGPresentationAttributes { class Rect (line 436) | class Rect extends React.Component< type CircleProps (line 440) | interface CircleProps extends SVGPresentationAttributes { class Circle (line 450) | class Circle extends React.Component< type EllipseProps (line 454) | interface EllipseProps extends SVGPresentationAttributes { class Ellipse (line 466) | class Ellipse extends React.Component< type TspanProps (line 470) | interface TspanProps extends SVGPresentationAttributes { class Tspan (line 479) | class Tspan extends React.Component< type GProps (line 483) | interface GProps extends SVGPresentationAttributes { class G (line 491) | class G extends React.Component> {} type StopProps (line 493) | interface StopProps { class Stop (line 502) | class Stop extends React.Component< type DefsProps (line 507) | interface DefsProps {} class Defs (line 512) | class Defs extends React.Component< type ClipPathProps (line 516) | interface ClipPathProps { class ClipPath (line 524) | class ClipPath extends React.Component< type LinearGradientProps (line 528) | interface LinearGradientProps { class LinearGradient (line 542) | class LinearGradient extends React.Component< type RadialGradientProps (line 546) | interface RadialGradientProps { class RadialGradient (line 561) | class RadialGradient extends React.Component< type BlobProviderParams (line 565) | interface BlobProviderParams { type BlobProviderProps (line 571) | interface BlobProviderProps { class BlobProvider (line 582) | class BlobProvider extends React.Component {} type PDFViewerProps (line 584) | interface PDFViewerProps { class PDFViewer (line 598) | class PDFViewer extends React.Component {} type PDFDownloadLinkProps (line 600) | interface PDFDownloadLinkProps class PDFDownloadLink (line 622) | class PDFDownloadLink extends React.Component {} type UsePDFInstance (line 624) | interface UsePDFInstance { FILE: packages/renderer/tests/environment/jsdom.js function patchGlobals (line 3) | function patchGlobals() { method setupVM (line 25) | async setupVM({ jsdom = {} }) { method setup (line 34) | async setup(global, { jsdom = {} }) { FILE: packages/renderer/tests/renderComponent.js method create (line 11) | create(width, height) { method reset (line 20) | reset(canvasAndContext, width, height) { method destroy (line 25) | destroy(canvasAndContext) { function getCanvas (line 33) | async function getCanvas(pagePromise) { constant GAP (line 53) | const GAP = 10; FILE: packages/stylesheet/src/flatten/index.ts type StyleInput (line 4) | type StyleInput = Style | StyleInput[] | null | undefined; FILE: packages/stylesheet/src/index.ts type StyleParam (line 8) | type StyleParam = Style | null | undefined; FILE: packages/stylesheet/src/resolve/borders.ts constant BORDER_SHORTHAND_REGEX (line 12) | const BORDER_SHORTHAND_REGEX = type BorderKey (line 18) | type BorderKey = keyof BorderStyle; FILE: packages/stylesheet/src/resolve/boxModel.ts constant BOX_MODEL_UNITS (line 7) | const BOX_MODEL_UNITS = new Set([ type ParseValue (line 20) | interface ParseValue { FILE: packages/stylesheet/src/resolve/flex.ts type FlexDefaults (line 12) | type FlexDefaults = (number | string)[]; FILE: packages/stylesheet/src/resolve/index.ts type Handler (line 15) | type Handler = ( FILE: packages/stylesheet/src/resolve/text.ts constant DEFAULT_FONT_SIZE (line 14) | const DEFAULT_FONT_SIZE = 18; constant FONT_WEIGHTS (line 16) | const FONT_WEIGHTS: Record = { FILE: packages/stylesheet/src/resolve/transform.ts type ParsedTransformOperation (line 40) | type ParsedTransformOperation = { constant Y_AXIS_SHORTHANDS (line 122) | const Y_AXIS_SHORTHANDS: Record = { top: true, bottom: ... FILE: packages/stylesheet/src/types.ts type Container (line 1) | type Container = { type Percentage (line 9) | type Percentage = `${string}%`; type BorderStyleValue (line 13) | type BorderStyleValue = 'dashed' | 'dotted' | 'solid'; type BorderShorthandStyle (line 15) | type BorderShorthandStyle = { type BorderExpandedStyle (line 27) | type BorderExpandedStyle = { type BorderSafeStyle (line 46) | type BorderSafeStyle = BorderExpandedStyle & { type BorderStyle (line 57) | type BorderStyle = BorderShorthandStyle & BorderExpandedStyle; type FlexboxShorthandStyle (line 61) | type FlexboxShorthandStyle = { type AlignContent (line 65) | type AlignContent = type AlignItems (line 74) | type AlignItems = type AlignSelf (line 81) | type AlignSelf = type FlexDirection (line 89) | type FlexDirection = 'row' | 'row-reverse' | 'column' | 'column-reverse'; type FlexWrap (line 91) | type FlexWrap = 'nowrap' | 'wrap' | 'wrap-reverse'; type JustifyContent (line 93) | type JustifyContent = type JustifySelf (line 101) | type JustifySelf = string; type FlexboxExpandedStyle (line 103) | type FlexboxExpandedStyle = { type FlexboxSafeStyle (line 117) | type FlexboxSafeStyle = FlexboxExpandedStyle & { type FlexboxStyle (line 122) | type FlexboxStyle = FlexboxShorthandStyle & FlexboxExpandedStyle; type GapShorthandStyle (line 126) | type GapShorthandStyle = { type GapExpandedStyle (line 130) | type GapExpandedStyle = { type GapSafeStyle (line 135) | type GapSafeStyle = { type GapStyle (line 140) | type GapStyle = GapShorthandStyle & GapExpandedStyle; type PositionShorthandStyle (line 144) | type PositionShorthandStyle = { type PositionExpandedStyle (line 148) | type PositionExpandedStyle = { type PositionSafeStyle (line 154) | type PositionSafeStyle = PositionExpandedStyle & { type PositioningStyle (line 159) | type PositioningStyle = PositionShorthandStyle & PositionExpandedStyle; type ScaleTransform (line 163) | type ScaleTransform = { type TranslateTransform (line 168) | type TranslateTransform = { type RotateTransform (line 173) | type RotateTransform = { type SkewTransform (line 178) | type SkewTransform = { type MatrixTransform (line 183) | type MatrixTransform = { type Transform (line 188) | type Transform = type TransformShorthandStyle (line 195) | type TransformShorthandStyle = { type TransformExpandedStyle (line 199) | type TransformExpandedStyle = { type TransformSafeStyle (line 206) | type TransformSafeStyle = Omit & { type TransformStyle (line 213) | type TransformStyle = TransformShorthandStyle & TransformExpandedStyle; type Display (line 217) | type Display = 'flex' | 'none'; type Position (line 219) | type Position = 'absolute' | 'relative' | 'static'; type LayoutStyle (line 221) | type LayoutStyle = { type LayoutExpandedStyle (line 233) | type LayoutExpandedStyle = LayoutStyle; type LayoutSafeStyle (line 235) | type LayoutSafeStyle = LayoutExpandedStyle & { type DimensionStyle (line 246) | type DimensionStyle = { type DimensionExpandedStyle (line 255) | type DimensionExpandedStyle = DimensionStyle; type DimensionSafeStyle (line 257) | type DimensionSafeStyle = DimensionExpandedStyle & { type ColorStyle (line 268) | type ColorStyle = { type ColorExpandedStyle (line 274) | type ColorExpandedStyle = ColorStyle; type ColorSafeStyle (line 276) | type ColorSafeStyle = { type FontStyle (line 284) | type FontStyle = 'normal' | 'italic' | 'oblique'; type FontWeight (line 286) | type FontWeight = type TextAlign (line 304) | type TextAlign = 'left' | 'right' | 'center' | 'justify'; type TextDecoration (line 306) | type TextDecoration = type TextDecorationStyle (line 313) | type TextDecorationStyle = 'dashed' | 'dotted' | 'solid' | string; type TextTransform (line 315) | type TextTransform = type VerticalAlign (line 322) | type VerticalAlign = 'sub' | 'super'; type TextStyle (line 324) | type TextStyle = { type TextExpandedStyle (line 343) | type TextExpandedStyle = TextStyle; type TextSafeStyle (line 345) | type TextSafeStyle = TextExpandedStyle & { type MarginShorthandStyle (line 354) | type MarginShorthandStyle = { type MarginExpandedStyle (line 360) | type MarginExpandedStyle = { type MarginSafeStyle (line 367) | type MarginSafeStyle = MarginExpandedStyle & { type MarginStyle (line 374) | type MarginStyle = MarginShorthandStyle & MarginExpandedStyle; type PaddingShorthandStyle (line 378) | type PaddingShorthandStyle = { type PaddingExpandedStyle (line 384) | type PaddingExpandedStyle = { type PaddingSafeStyle (line 391) | type PaddingSafeStyle = PaddingExpandedStyle & { type PaddingStyle (line 398) | type PaddingStyle = PaddingShorthandStyle & PaddingExpandedStyle; type SvgStyle (line 402) | interface SvgStyle { type SvgExpandedStyle (line 425) | type SvgExpandedStyle = SvgStyle; type SvgSafeStyle (line 427) | type SvgSafeStyle = SvgStyle & { type BaseStyle (line 435) | type BaseStyle = BorderStyle & type MediaQueryStyle (line 448) | type MediaQueryStyle = { type Style (line 452) | type Style = BaseStyle & MediaQueryStyle; type StyleKey (line 454) | type StyleKey = keyof BaseStyle; type ExpandedStyle (line 456) | type ExpandedStyle = BorderExpandedStyle & type SafeStyle (line 469) | type SafeStyle = BorderSafeStyle & FILE: packages/stylesheet/src/utils/units.ts type Unit (line 3) | type Unit = 'in' | 'mm' | 'cm' | 'pt' | 'vh' | 'vw' | 'px' | 'rem'; type ParsedValue (line 5) | type ParsedValue = constant VALUE_REGEX (line 9) | const VALUE_REGEX = /^(-?\d*\.?\d+)(in|mm|cm|pt|vh|vw|px|rem)?$/; constant DEFAULT_DPI (line 11) | const DEFAULT_DPI = 72; constant DEFAULT_REM_BASE (line 12) | const DEFAULT_REM_BASE = 18; constant MM_PER_INCH (line 13) | const MM_PER_INCH = 25.4; constant CM_PER_INCH (line 14) | const CM_PER_INCH = 2.54; FILE: packages/textkit/src/attributedString/trim.ts constant WHITESPACE_REGEX (line 4) | const WHITESPACE_REGEX = /\S/; FILE: packages/textkit/src/engines/fontSubstitution/index.ts constant IGNORED_CODE_POINTS (line 4) | const IGNORED_CODE_POINTS = [173]; FILE: packages/textkit/src/engines/index.ts type Engines (line 9) | type Engines = { FILE: packages/textkit/src/engines/justification/getDistances.ts constant KASHIDA_PRIORITY (line 3) | const KASHIDA_PRIORITY = 0; constant NULL_PRIORITY (line 4) | const NULL_PRIORITY = 3; FILE: packages/textkit/src/engines/justification/getFactors.ts type Direction (line 5) | enum Direction { constant WHITESPACE_PRIORITY (line 10) | const WHITESPACE_PRIORITY = 1; constant LETTER_PRIORITY (line 11) | const LETTER_PRIORITY = 2; constant EXPAND_WHITESPACE_FACTOR (line 13) | const EXPAND_WHITESPACE_FACTOR = { constant EXPAND_CHAR_FACTOR (line 20) | const EXPAND_CHAR_FACTOR = { constant SHRINK_WHITESPACE_FACTOR (line 27) | const SHRINK_WHITESPACE_FACTOR = { constant SHRINK_CHAR_FACTOR (line 34) | const SHRINK_CHAR_FACTOR = { FILE: packages/textkit/src/engines/justification/types.ts type Factor (line 1) | type Factor = { FILE: packages/textkit/src/engines/linebreaker/bestFit.ts constant INFINITY (line 3) | const INFINITY = 10000; FILE: packages/textkit/src/engines/linebreaker/index.ts constant HYPHEN (line 9) | const HYPHEN = 0x002d; constant TOLERANCE_STEPS (line 10) | const TOLERANCE_STEPS = 5; constant TOLERANCE_LIMIT (line 11) | const TOLERANCE_LIMIT = 50; FILE: packages/textkit/src/engines/linebreaker/knuthPlass.ts type Sum (line 10) | type Sum = { function breakpoint (line 16) | function breakpoint( function computeCost (line 38) | function computeCost( function computeSum (line 89) | function computeSum(nodes: Node[], sum: Sum, breakPointIndex: number) { function findBestBreakpoints (line 116) | function findBestBreakpoints(activeNodes) { function mainLoop (line 170) | function mainLoop(node: Node, index: number, nodes: Node[]) { FILE: packages/textkit/src/engines/linebreaker/linkedList.ts class LinkedListNode (line 2) | class LinkedListNode { method constructor (line 7) | constructor(data: any) { class LinkedList (line 14) | class LinkedList { method constructor (line 22) | constructor() { method isLinked (line 29) | isLinked(node: LinkedListNode) { method size (line 40) | size() { method isEmpty (line 44) | isEmpty() { method first (line 48) | first() { method last (line 52) | last() { method forEach (line 56) | forEach(callback: (node: LinkedListNode) => void) { method at (line 65) | at(i: number) { method insertAfter (line 83) | insertAfter(node: LinkedListNode, newNode: LinkedListNode) { method insertBefore (line 102) | insertBefore(node: LinkedListNode, newNode: LinkedListNode) { method push (line 121) | push(node: LinkedListNode) { method unshift (line 131) | unshift(node: LinkedListNode) { method remove (line 145) | remove(node: LinkedListNode) { FILE: packages/textkit/src/engines/linebreaker/types.ts type LinebreakOptions (line 1) | type LinebreakOptions = { type PenaltyNode (line 5) | type PenaltyNode = { type BoxNode (line 12) | type BoxNode = { type GlueNode (line 20) | type GlueNode = { type Node (line 29) | type Node = PenaltyNode | BoxNode | GlueNode; FILE: packages/textkit/src/engines/textDecoration/index.ts constant BASE_FONT_SIZE (line 8) | const BASE_FONT_SIZE = 12; FILE: packages/textkit/src/engines/wordHyphenation/index.ts constant SOFT_HYPHEN (line 5) | const SOFT_HYPHEN = '\u00ad'; FILE: packages/textkit/src/glyph/isWhiteSpace.ts constant SPACE_CODE (line 8) | const SPACE_CODE = 32; FILE: packages/textkit/src/layout/finalizeFragments.ts constant ALIGNMENT_FACTORS (line 14) | const ALIGNMENT_FACTORS = { center: 0.5, right: 1 }; FILE: packages/textkit/src/layout/layoutParagraph.ts constant ATTACHMENT_CODE (line 13) | const ATTACHMENT_CODE = '\ufffc'; type layoutParagraphEngines (line 74) | type layoutParagraphEngines = Pick; FILE: packages/textkit/src/layout/preprocessRuns.ts type ProcessRunsEngines (line 19) | type ProcessRunsEngines = Pick< FILE: packages/textkit/src/layout/resolveAttachments.ts constant ATTACHMENT_CODE (line 3) | const ATTACHMENT_CODE = 0xfffc; FILE: packages/textkit/src/layout/wrapWords.ts constant SOFT_HYPHEN (line 5) | const SOFT_HYPHEN = '\u00ad'; FILE: packages/textkit/src/paragraph/truncate.ts constant ELLIPSIS_UNICODE (line 7) | const ELLIPSIS_UNICODE = 8230; constant ELLIPSIS_STRING (line 8) | const ELLIPSIS_STRING = String.fromCharCode(ELLIPSIS_UNICODE); FILE: packages/textkit/src/rect/bottomLeft.ts constant ZERO (line 4) | const ZERO = { x: 0, y: 0 }; FILE: packages/textkit/src/rect/bottomRight.ts constant ZERO (line 5) | const ZERO = { x: 0, y: 0 }; FILE: packages/textkit/src/run/flatten.ts type Point (line 5) | type Point = ['start' | 'end', number, Attributes, number]; FILE: packages/textkit/src/types.ts type Coordinate (line 5) | type Coordinate = { type Rect (line 10) | type Rect = { type Container (line 17) | type Container = Rect & { type Glyph (line 23) | type Glyph = FontkitGlyph; type Position (line 25) | type Position = { type Attachment (line 34) | type Attachment = { type Attributes (line 44) | type Attributes = { type Run (line 87) | type Run = { type DecorationLine (line 101) | type DecorationLine = { type AttributedString (line 108) | type AttributedString = { type Fragment (line 122) | type Fragment = { type Paragraph (line 127) | type Paragraph = AttributedString[]; type LayoutOptions (line 129) | type LayoutOptions = { FILE: packages/textkit/tests/layout/applyDefaultStyles.test.ts constant DEFAULTS (line 9) | const DEFAULTS = { constant OVERRIDES (line 44) | const OVERRIDES = { FILE: packages/types/bookmark.d.ts type ExpandedBookmark (line 1) | interface ExpandedBookmark { type Bookmark (line 10) | type Bookmark = string | ExpandedBookmark; FILE: packages/types/context.d.ts type DocumentInfo (line 18) | interface DocumentInfo { type PageOption (line 28) | interface PageOption { type ImageOption (line 33) | interface ImageOption { type ColorValue (line 38) | type ColorValue = string; type Context (line 40) | interface Context { FILE: packages/types/image.d.ts type HTTPMethod (line 1) | type HTTPMethod = 'GET' | 'HEAD' | 'POST' | 'PUT' | 'DELETE' | 'PATCH'; type SourceURL (line 3) | type SourceURL = string; type SourceBuffer (line 5) | type SourceBuffer = Buffer; type SourceBlob (line 7) | type SourceBlob = Blob; type SourceDataBuffer (line 9) | type SourceDataBuffer = { data: Buffer; format: 'png' | 'jpg' }; type SourceURLObject (line 11) | type SourceURLObject = { type Source (line 19) | type Source = type SourceFactory (line 27) | type SourceFactory = () => Source; type SourceAsync (line 29) | type SourceAsync = Promise; type SourceAsyncFactory (line 31) | type SourceAsyncFactory = () => Promise; type SourceObject (line 33) | type SourceObject = FILE: packages/types/node.d.ts type BaseProps (line 7) | interface BaseProps { type DynamicRenderCallback (line 16) | type DynamicRenderCallback = (props: { type TextProps (line 21) | interface TextProps extends BaseProps { type ViewProps (line 29) | interface ViewProps extends BaseProps { type PageProps (line 34) | interface PageProps extends BaseProps { type PageLayout (line 41) | type PageLayout = type PageMode (line 49) | type PageMode = type DocumentProps (line 57) | interface DocumentProps { type TextInstanceNode (line 70) | interface TextInstanceNode { type TextNode (line 75) | interface TextNode { type ViewNode (line 83) | interface ViewNode { type PageNode (line 90) | interface PageNode { type DocumentNode (line 97) | interface DocumentNode { type Node (line 103) | type Node = DocumentNode | PageNode | ViewNode; FILE: packages/types/page.d.ts type Orientation (line 1) | type Orientation = 'portrait' | 'landscape'; type StandardPageSize (line 3) | type StandardPageSize = type StaticSize (line 56) | type StaticSize = number | string; type PageSize (line 58) | type PageSize = FILE: packages/types/pdf.d.ts type PDFVersion (line 1) | type PDFVersion = '1.3' | '1.4' | '1.5' | '1.6' | '1.7' | '1.7ext3'; FILE: packages/types/primitive.d.ts type Primitive (line 3) | enum Primitive { FILE: packages/types/svg.d.ts type SVGPresentationAttributes (line 1) | interface SVGPresentationAttributes {