PokéRogue
    Preparing search index...

    Interface IStyle

    interface IStyle {
        backgroundColor: string | null;
        backgroundColor2: string | null;
        backgroundCornerIteration: number | undefined;
        backgroundCornerRadius: number;
        backgroundHorizontalGradient: boolean;
        backgroundStrokeColor: string | null;
        backgroundStrokeLineWidth: number;
        baselineX: number;
        baselineY: number;
        color: string | null;
        fixedHeight: number;
        fixedLineHeightMode: boolean;
        fixedWidth: number;
        fontFamily: string;
        fontSize: string;
        fontStyle: string;
        halign: string;
        letterSpacing: number;
        lineHeight: number;
        lineSpacing: number;
        maxLines: number;
        resolution: number;
        rtl: boolean;
        shadowBlur: number;
        shadowColor: string | null;
        shadowFill: boolean;
        shadowOffsetX: number;
        shadowOffsetY: number;
        shadowStroke: boolean;
        strikethroughColor: string | null;
        strikethroughOffset: number;
        strikethroughThickness: number;
        stroke: string | null;
        strokeThickness: number;
        testString: string;
        underlineColor: string | null;
        underlineOffset: number;
        underlineThickness: number;
        valign: string;
        wrapCallback: Function | null;
        wrapCallbackScope: unknown;
        wrapMode: number;
        wrapWidth: number | null;
        xOffset: number;
    }
    Index

    Properties

    backgroundColor: string | null

    Background color.

    backgroundColor2: string | null

    Secondary background color.

    backgroundCornerIteration: number | undefined

    Background corner iteration.

    backgroundCornerRadius: number

    Background corner radius.

    backgroundHorizontalGradient: boolean

    True for horizontal gradient background.

    backgroundStrokeColor: string | null

    Background stroke color.

    backgroundStrokeLineWidth: number

    Background stroke line width.

    baselineX: number

    Baseline x multiplier.

    baselineY: number

    Baseline y multiplier.

    color: string | null

    Fill color.

    fixedHeight: number

    Fixed height.

    fixedLineHeightMode: boolean

    True to use fixed line height mode.

    fixedWidth: number

    Fixed width.

    fontFamily: string

    Font family name.

    fontSize: string

    Font size value.

    fontStyle: string

    Font style string.

    halign: string

    Horizontal alignment.

    letterSpacing: number

    Letter spacing.

    lineHeight: number

    Line height.

    lineSpacing: number

    Line spacing.

    maxLines: number

    Maximum lines count.

    resolution: number

    Render resolution.

    rtl: boolean

    True to use right-to-left text layout.

    shadowBlur: number

    Shadow blur.

    shadowColor: string | null

    Shadow color.

    shadowFill: boolean

    True to apply shadow to fill.

    shadowOffsetX: number

    Shadow offset x.

    shadowOffsetY: number

    Shadow offset y.

    shadowStroke: boolean

    True to apply shadow to stroke.

    strikethroughColor: string | null

    Strikethrough color.

    strikethroughOffset: number

    Strikethrough offset.

    strikethroughThickness: number

    Strikethrough thickness.

    stroke: string | null

    Stroke color.

    strokeThickness: number

    Stroke thickness.

    testString: string

    Test string used for text metrics.

    underlineColor: string | null

    Underline color.

    underlineOffset: number

    Underline offset.

    underlineThickness: number

    Underline thickness.

    valign: string

    Vertical alignment.

    wrapCallback: Function | null

    Wrap callback function.

    wrapCallbackScope: unknown

    Scope object for wrap callback.

    wrapMode: number

    Wrap mode.

    wrapWidth: number | null

    Wrap width.

    xOffset: number

    Horizontal text offset.