interface TextGroupStyle {
    antiAlias?: boolean;
    applyRoundingHack?: boolean;
    blendMode?: BlendMode;
    border?: boolean;
    borderColor?: Color;
    borderShader?: Shader;
    borderWidth?: number;
    cap?: StrokeCap;
    color?: Color;
    disableHinting?: boolean;
    ellipsis?: string;
    fill?: boolean;
    fillColor?: Color;
    fillShader?: Shader;
    heightMultiplier?: number;
    interval?: number[];
    join?: StrokeJoin;
    layout?: Layout;
    margin?: number | [number, number, number, number] | [number, number];
    maxLines?: number;
    offset?: number;
    replaceTabCharacters?: boolean;
    rotation?: number;
    scaleX?: number;
    scaleY?: number;
    shader?: Shader;
    textAlign?: TextAlign;
    textDirection?: TextDirection;
    textHeightBehavior?: TextHeightBehavior;
    transparency?: number;
}

Hierarchy (view full)

Properties

antiAlias?: boolean
applyRoundingHack?: boolean

Specifies whether to apply a rounding hack for the text.

blendMode?: BlendMode
border?: boolean

Specifies whether to draw a border around the text.

borderColor?: Color

The color of the border around the text.

borderShader?: Shader

The shader used to draw the border around the text.

borderWidth?: number

The width of the border around the text.

cap?: StrokeCap
color?: Color
disableHinting?: boolean

Specifies whether hinting should be disabled for the text.

ellipsis?: string

The ellipsis string to be used for truncating the text.

fill?: boolean

Specifies whether the text should be filled.

fillColor?: Color

The color used to fill the text.

fillShader?: Shader

The shader used to fill the text.

heightMultiplier?: number

Multiplier for height adjustment of the text.

interval?: number[]

The interval for the text.

join?: StrokeJoin
layout?: Layout
margin?: number | [number, number, number, number] | [number, number]
maxLines?: number

The maximum number of lines for the text.

offset?: number

The offset of the text.

replaceTabCharacters?: boolean

Specifies whether to replace tab characters with spaces in the text.

rotation?: number
scaleX?: number
scaleY?: number
shader?: Shader
textAlign?: TextAlign

The alignment of the text within its container.

textDirection?: TextDirection

The direction of the text.

textHeightBehavior?: TextHeightBehavior

The behavior of the text regarding its height.

transparency?: number