iink-ts - v3.2.1
    Preparing search index...

    Class StyleManager

    Index

    Accessors

    • get penStyleClasses(): string

      Returns string

    • get theme(): TTheme

      Returns TTheme

    Constructors

    • Parameters

      • OptionalpenStyle: {
            "-myscript-pen-fill-color"?: string;
            "-myscript-pen-fill-style"?: string;
            "-myscript-pen-width"?: number;
            color?: string;
            fill?: string;
            opacity?: number;
            width?: number;
            [key: string]: string | number | undefined;
        }
      • Optionaltheme: {
            ".math"?: { "font-family"?: string };
            ".math-solved"?: { color?: string; "font-family"?: string };
            ".text"?: { "font-family"?: string; "font-size"?: number };
            ink?: {
                "-myscript-pen-fill-color"?: string;
                "-myscript-pen-fill-style"?: string;
                "-myscript-pen-width"?: number;
                color?: string;
                fill?: string;
                opacity?: number;
                width?: number;
                [key: string]: string | number | undefined;
            };
            [key: string]: unknown;
        }

      Returns StyleManager

    Methods

    • Parameters

      • Optionalstyle: {
            "-myscript-pen-fill-color"?: string;
            "-myscript-pen-fill-style"?: string;
            "-myscript-pen-width"?: number;
            color?: string;
            fill?: string;
            opacity?: number;
            width?: number;
            [key: string]: string | number | undefined;
        }

      Returns void

    • Parameters

      • penStyleClass: string = ""

      Returns void

    • Parameters

      • Optionaltheme: {
            ".math"?: { "font-family"?: string };
            ".math-solved"?: { color?: string; "font-family"?: string };
            ".text"?: { "font-family"?: string; "font-size"?: number };
            ink?: {
                "-myscript-pen-fill-color"?: string;
                "-myscript-pen-fill-style"?: string;
                "-myscript-pen-width"?: number;
                color?: string;
                fill?: string;
                opacity?: number;
                width?: number;
                [key: string]: string | number | undefined;
            };
            [key: string]: unknown;
        }

      Returns void