VMPrint API Reference - v1.0.0
    Preparing search index...

    Interface ElementStyle

    interface ElementStyle {
        allowLineSplit?: boolean;
        backgroundColor?: string;
        baselineShift?: number;
        borderBottomColor?: string;
        borderBottomWidth?: number;
        borderColor?: string;
        borderLeftColor?: string;
        borderLeftWidth?: number;
        borderRadius?: number;
        borderRightColor?: string;
        borderRightWidth?: number;
        borderTopColor?: string;
        borderTopWidth?: number;
        borderWidth?: number;
        color?: string;
        direction?: TextDirection;
        fontFamily?: string;
        fontSize?: number;
        fontStyle?: string;
        fontWeight?: string | number;
        height?: number;
        hyphenateCaps?: boolean;
        hyphenation?: HyphenationMode;
        hyphenMinPrefix?: number;
        hyphenMinSuffix?: number;
        hyphenMinWordLength?: number;
        inlineMarginLeft?: number;
        inlineMarginRight?: number;
        inlineOpticalInsetBottom?: number;
        inlineOpticalInsetLeft?: number;
        inlineOpticalInsetRight?: number;
        inlineOpticalInsetTop?: number;
        justifyEngine?: JustifyEngineMode;
        justifyStrategy?: JustifyStrategy;
        keepWithNext?: boolean;
        lang?: string;
        letterSpacing?: number;
        lineHeight?: number;
        marginBottom?: number;
        marginLeft?: number;
        marginRight?: number;
        marginTop?: number;
        opacity?: number;
        orphans?: number;
        overflowPolicy?: OverflowPolicy;
        padding?: number;
        paddingBottom?: number;
        paddingLeft?: number;
        paddingRight?: number;
        paddingTop?: number;
        pageBreakBefore?: boolean;
        textAlign?: "left" | "right" | "center" | "justify";
        textIndent?: number;
        verticalAlign?:
            | "baseline"
            | "text-top"
            | "middle"
            | "text-bottom"
            | "bottom";
        widows?: number;
        width?: number;
        zIndex?: number;
    }
    Index

    Properties

    allowLineSplit?: boolean
    backgroundColor?: string
    baselineShift?: number
    borderBottomColor?: string
    borderBottomWidth?: number
    borderColor?: string
    borderLeftColor?: string
    borderLeftWidth?: number
    borderRadius?: number
    borderRightColor?: string
    borderRightWidth?: number
    borderTopColor?: string
    borderTopWidth?: number
    borderWidth?: number
    color?: string
    direction?: TextDirection
    fontFamily?: string
    fontSize?: number
    fontStyle?: string
    fontWeight?: string | number
    height?: number
    hyphenateCaps?: boolean
    hyphenation?: HyphenationMode
    hyphenMinPrefix?: number
    hyphenMinSuffix?: number
    hyphenMinWordLength?: number
    inlineMarginLeft?: number
    inlineMarginRight?: number
    inlineOpticalInsetBottom?: number
    inlineOpticalInsetLeft?: number
    inlineOpticalInsetRight?: number
    inlineOpticalInsetTop?: number
    justifyEngine?: JustifyEngineMode
    justifyStrategy?: JustifyStrategy
    keepWithNext?: boolean
    lang?: string
    letterSpacing?: number
    lineHeight?: number
    marginBottom?: number
    marginLeft?: number
    marginRight?: number
    marginTop?: number
    opacity?: number
    orphans?: number
    overflowPolicy?: OverflowPolicy
    padding?: number
    paddingBottom?: number
    paddingLeft?: number
    paddingRight?: number
    paddingTop?: number
    pageBreakBefore?: boolean
    textAlign?: "left" | "right" | "center" | "justify"
    textIndent?: number
    verticalAlign?: "baseline" | "text-top" | "middle" | "text-bottom" | "bottom"
    widows?: number
    width?: number
    zIndex?: number