@moxijs/core - v0.3.4
    Preparing search index...

    Interface TextOptions

    Options for creating a Text instance

    interface TextOptions {
        pixelPerfect?: boolean;
        style?: {
            fill?: string | number;
            fontFamily?: string;
            fontSize?: number;
            fontStyle?: string;
            [key: string]: any;
        };
        text?: string
        | number
        | { toString: () => string };
        [key: string]: any;
    }

    Hierarchy (View Summary)

    Indexable

    • [key: string]: any
    Index

    Properties

    pixelPerfect?: boolean
    style?: {
        fill?: string | number;
        fontFamily?: string;
        fontSize?: number;
        fontStyle?: string;
        [key: string]: any;
    }
    text?: string | number | { toString: () => string }