UNPKG

@pdfme/schemas

Version:

TypeScript base PDF generator and React base UI. Open source, developed by the community, and completely free to use under the MIT license!

40 lines (39 loc) 2.25 kB
import { ALIGNMENT, VERTICAL_ALIGNMENT, DYNAMIC_FONT_SIZE_FIT } from './types.js'; export declare const DEFAULT_FONT_SIZE = 13; export declare const ALIGN_LEFT: ALIGNMENT; export declare const ALIGN_CENTER: ALIGNMENT; export declare const ALIGN_RIGHT: ALIGNMENT; export declare const ALIGN_JUSTIFY: ALIGNMENT; export declare const DEFAULT_ALIGNMENT: ALIGNMENT; export declare const VERTICAL_ALIGN_TOP: VERTICAL_ALIGNMENT; export declare const VERTICAL_ALIGN_MIDDLE: VERTICAL_ALIGNMENT; export declare const VERTICAL_ALIGN_BOTTOM: VERTICAL_ALIGNMENT; export declare const DEFAULT_VERTICAL_ALIGNMENT: VERTICAL_ALIGNMENT; export declare const DEFAULT_LINE_HEIGHT = 1; export declare const DEFAULT_CHARACTER_SPACING = 0; export declare const DEFAULT_FONT_COLOR = "#000000"; export declare const PLACEHOLDER_FONT_COLOR = "#A0A0A0"; export declare const TEXT_FORMAT_PLAIN: "plain"; export declare const TEXT_FORMAT_INLINE_MARKDOWN: "inline-markdown"; export declare const DEFAULT_TEXT_FORMAT: "plain"; export declare const TEXT_OVERFLOW_VISIBLE: "visible"; export declare const TEXT_OVERFLOW_EXPAND: "expand"; export declare const DEFAULT_TEXT_OVERFLOW: "visible"; export declare const FONT_VARIANT_FALLBACK_SYNTHETIC: "synthetic"; export declare const FONT_VARIANT_FALLBACK_PLAIN: "plain"; export declare const FONT_VARIANT_FALLBACK_ERROR: "error"; export declare const DEFAULT_FONT_VARIANT_FALLBACK: "synthetic"; export declare const SYNTHETIC_BOLD_OFFSET_RATIO = 0.03; export declare const SYNTHETIC_BOLD_PDF_EXTRA_DRAWS = 2; export declare const SYNTHETIC_BOLD_CSS_TEXT_SHADOW = "0.025em 0 0 currentColor"; export declare const SYNTHETIC_ITALIC_SKEW_DEGREES = 12; export declare const CODE_BACKGROUND_COLOR = "#f2f3f5"; export declare const CODE_HORIZONTAL_PADDING = 1.5; export declare const DYNAMIC_FIT_VERTICAL: DYNAMIC_FONT_SIZE_FIT; export declare const DYNAMIC_FIT_HORIZONTAL: DYNAMIC_FONT_SIZE_FIT; export declare const DEFAULT_DYNAMIC_FIT: DYNAMIC_FONT_SIZE_FIT; export declare const DEFAULT_DYNAMIC_MIN_FONT_SIZE = 4; export declare const DEFAULT_DYNAMIC_MAX_FONT_SIZE = 72; export declare const FONT_SIZE_ADJUSTMENT = 0.25; export declare const LINE_START_FORBIDDEN_CHARS: string[]; export declare const LINE_END_FORBIDDEN_CHARS: string[];