import { Color, Position } from '../Core';

/**
 * Contain all updatable options of a Label.
 */
export interface LabelUpdateOptions {
    /**
     * Position in WGS84 coordinates.
     * @see {@link Position}
     */
    readonly position?: Position;
    /**
     * Width of the label in meters.
     * Note that if only width is provided, this will update width AND height
     */
    readonly width?: number;
    /**
     * Height of the label in meters.
     * Note that if only height is provided, this won't have any effect.
     */
    readonly height?: number;
    /**
     * Text that'll be displayed in current label.
     */
    readonly text?: string;
    /**
     * If set to false, current Label won't be rendered.
     */
    readonly isVisible?: boolean;
    /**
     * Font color of the text.
     */
    readonly color?: Color;
}
