@nativescript-community/text
    Preparing search index...

    Interface ObjectSpans

    interface ObjectSpans {
        backgroundColor?: Color;
        color?: Color;
        fontFamily?: string;
        fontSize?: number;
        fontStyle?: FontStyleType;
        fontVariationSettings?: FontVariationSettingsType[];
        fontWeight?: FontWeightType;
        parent?: View;
        spans: any;
        style?: LightFormattedString;
        textAlignment?: TextAlignmentType;
        textDecoration?: TextDecorationType;
        verticalTextAlignment?: VerticalAlignmentTextType;
        _addArrayFromBuilder?(name: string, value: any[]): void;
        _addChildFromBuilder?(name: string, value: any): void;
        toNativeString?(): void;
        toString?(): string;
    }

    Hierarchy

    Index

    Properties

    backgroundColor?: Color
    color?: Color
    fontFamily?: string
    fontSize?: number
    fontStyle?: FontStyleType
    fontVariationSettings?: FontVariationSettingsType[]
    fontWeight?: FontWeightType
    parent?: View
    spans: any
    textAlignment?: TextAlignmentType
    textDecoration?: TextDecorationType
    verticalTextAlignment?: VerticalAlignmentTextType

    Methods

    • Returns a string representation of an object.

      Returns string