import * as em from "../Enums"; import { DrawingContext } from "../DrawingContext"; import { type PdfPage } from "./PdfPage"; /** * Represents a drawing context for a {@link PdfPage}. **/ export declare class PdfContext extends DrawingContext { /** * Gets the type of {@link DrawingContext}. **/ get type(): em.ContextType; /** * Gets or sets the resolution of the drawing context. Defaults to 72 dots per Inch. * Setting this property affects the {@link width} and {@link height} values. **/ get resolution(): number; /** * Gets or sets the resolution of the drawing context. Defaults to 72 dots per Inch. * Setting this property affects the {@link width} and {@link height} values. **/ set resolution(value: number); /** * Gets the width of the {@link PdfPage}, in current context units, * taking the {@link resolution} property into account. **/ get width(): number; /** * Gets the height of the {@link PdfPage}, in current context units, * taking the {@link resolution} property into account. **/ get height(): number; /** * Gets the {@link PdfPage} object associated with this drawing context. **/ get page(): PdfPage | null; /** * Gets or sets the current blend mode for drawing operations. **/ get blendMode(): em.PdfBlendMode; /** * Gets or sets the current blend mode for drawing operations. **/ set blendMode(blendMode: em.PdfBlendMode); }