phina.js.d.ts
    Preparing search index...

    Interface LabelStatic

    interface LabelStatic {
        new LabelStatic(options?: LabelOptions): phina.display.Label;
        new LabelStatic(text?: string): phina.display.Label;
        defaults: {
            align: string;
            backgroundColor: string;
            baseline: string;
            fill: string;
            fontFamily: string;
            fontSize: number;
            fontWeight: string;
            lineHeight: number;
            stroke: null;
            strokeWidth: number;
            text: string;
        };
        (options?: LabelOptions): phina.display.Label;
        (text?: string): phina.display.Label;
    }
    Index

    Constructors

    Properties

    Constructors

    Properties

    defaults: {
        align: string;
        backgroundColor: string;
        baseline: string;
        fill: string;
        fontFamily: string;
        fontSize: number;
        fontWeight: string;
        lineHeight: number;
        stroke: null;
        strokeWidth: number;
        text: string;
    }