Interface IMarkupEllipseParams

Defines the parameters for creating a markup ellipse.

interface IMarkupEllipseParams {
    color?: string;
    id?: string;
    lineWidth?: number;
    position?: { x: number; y: number };
    position2?: { x: number; y: number };
    position3?: { x: number; y: number };
    radius?: { x: number; y: number };
}

Properties

color?: string

Line color as a string in hexadecimal color syntax #RGB color using its primary color components (red, green, blue) written as hexadecimal numbers.

"#ff0000"
id?: string

Internal markup object identifier.

lineWidth?: number

Line width.

4
position?: { x: number; y: number }

Screen coordinates of the center point (position) of the ellipse.

position2?: { x: number; y: number }

Screen coordinates of the center point (position) of the ellipse.

position3?: { x: number; y: number }

Screen coordinates of the center point (position) of the ellipse.

radius?: { x: number; y: number }

Screen radius of the ellipse along the X and Y axes. Ignored if position2 and position3 is defined.

25