@nativescript-community/ui-massifmaps
    Preparing search index...

    Interface ElementstyleSpec_text

    interface ElementstyleSpec_text {
        anchorPointX?: number;
        anchorPointY?: number;
        animationStyle?: Handle;
        attachAnchorPointX?: number;
        attachAnchorPointY?: number;
        backgroundColor?: number;
        borderColor?: number;
        borderWidth?: number;
        breakLines?: boolean;
        causesOverlap?: boolean;
        color?: number;
        flippable?: boolean;
        fontName?: string;
        fontSize?: number;
        hideIfOverlapped?: boolean;
        horizontalOffset?: number;
        orientationMode?:
            | number
            | "BILLBOARD_ORIENTATION_FACE_CAMERA"
            | "BILLBOARD_ORIENTATION_FACE_CAMERA_GROUND"
            | "BILLBOARD_ORIENTATION_GROUND";
        placementPriority?: number;
        renderScale?: number;
        scaleWithDPI?: boolean;
        scalingMode?: | number
        | "BILLBOARD_SCALING_WORLD_SIZE"
        | "BILLBOARD_SCALING_SCREEN_SIZE"
        | "BILLBOARD_SCALING_CONST_SCREEN_SIZE";
        strokeColor?: number;
        strokeWidth?: number;
        textField?: string;
        textMargins?: Json;
        type: "text";
        verticalOffset?: number;
    }
    Index

    Properties

    anchorPointX?: number

    Returns the horizontal anchor point of the label.

    anchorPointY?: number

    Returns the vertical anchor point of the label.

    animationStyle?: Handle

    Returns the animation style of the billboard.

    attachAnchorPointX?: number

    Returns the horizontal attaching anchor point of the billboard.

    attachAnchorPointY?: number

    Returns the vertical attaching anchor point of the billboard.

    backgroundColor?: number

    Returns the background color for the text label.

    borderColor?: number

    Returns the border color for the text label.

    borderWidth?: number

    Returns the border width for the text label.

    breakLines?: boolean

    Returns the state of the 'break lines' flag.

    causesOverlap?: boolean

    Returns the state of the causes overlap flag.

    color?: number

    Returns the color of the vector element.

    flippable?: boolean

    Returns the state of the flippable flag.

    fontName?: string

    Returns the font name for the text label.

    fontSize?: number

    Returns the font size for the text label.

    hideIfOverlapped?: boolean

    Returns the state of the allow overlap flag.

    horizontalOffset?: number

    Returns the horizontal offset of the billboard.

    orientationMode?:
        | number
        | "BILLBOARD_ORIENTATION_FACE_CAMERA"
        | "BILLBOARD_ORIENTATION_FACE_CAMERA_GROUND"
        | "BILLBOARD_ORIENTATION_GROUND"

    Returns the orientation mode of the label.

    placementPriority?: number

    Returns the placement priority of the billboard.

    renderScale?: number

    Returns the relative rendering scale for the label.

    scaleWithDPI?: boolean

    Returns the state of the scale with DPI flag.

    scalingMode?:
        | number
        | "BILLBOARD_SCALING_WORLD_SIZE"
        | "BILLBOARD_SCALING_SCREEN_SIZE"
        | "BILLBOARD_SCALING_CONST_SCREEN_SIZE"

    Returns the scaling mode of the label.

    strokeColor?: number

    Returns the stroke color for the text label.

    strokeWidth?: number

    Returns the stroke width for the text label.

    textField?: string

    Returns the text field variable. If not empty, this variable is used to read actual text string from object meta info.

    textMargins?: Json

    Returns the margins for the text.

    type: "text"
    verticalOffset?: number

    Returns the vertical offset of the billboard.