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

    Interface CelestialSpec_label

    interface CelestialSpec_label {
        backgroundColor?: number;
        backgroundRadius?: number;
        clickable?: boolean;
        color?: number;
        fontName?: string;
        fontSize?: number;
        haloColor?: number;
        haloWidth?: number;
        metaData?: Record<string, Json>;
        occludedByMap?: boolean;
        paddingX?: number;
        paddingY?: number;
        text?: string;
        textColor?: number;
        type: "label";
        visible?: boolean;
    }
    Index

    Properties

    backgroundColor?: number

    Returns the background colour.

    backgroundRadius?: number

    Returns the corner radius of the plate.

    clickable?: boolean

    Returns whether a click on the label hits it.

    color?: number

    Returns the color of the object.

    fontName?: string

    Returns the font list.

    fontSize?: number

    Returns the font size.

    haloColor?: number

    Returns the halo colour.

    haloWidth?: number

    Returns the halo width.

    metaData?: Record<string, Json>

    Returns a copy of the meta data map. Changes to the copy are not reflected in the object.

    occludedByMap?: boolean

    Returns whether the map in front hides the object.

    paddingX?: number

    Returns the horizontal padding between the text and the plate's edge.

    paddingY?: number

    Returns the vertical padding between the text and the plate's edge.

    text?: string

    Returns the text.

    textColor?: number

    Returns the text colour. The object's own colour tints the whole label, plate included.

    type: "label"
    visible?: boolean

    Returns the visibility of the object.