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

/**
 * Contain all available options to create a Label.
 */
export interface LabelCreateOptions {
    /**
     * POI owning current label.
     */
    readonly poi: POI;
    /**
     * Position in WGS84 coordinates.
     * @see {@link Position}
     */
    readonly position: Position;
    /**
     * Width of the label in meters.
     */
    readonly width: number;
    /**
     * Height of the label in meters.
     */
    readonly height?: number;
    /**
     * Text that'll be displayed in current label.
     */
    readonly text: string;
    /**
     * Font color of the text.
     */
    readonly color?: Color;
    /**
     * Rotation, in degrees, of the label.
     * Note that angle is related to map's orientation.
     */
    readonly rotation?: number;
}
