Rectangle markup object of the Viewpoint

interface IRectangle {
    color?: string;
    height?: number;
    id?: string;
    line_width?: number;
    position: IPoint;
    position2: IPoint;
    width?: number;
}

Properties

color?: string

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

height?: number

Deprecated. Use position2 instead. Height of the rectangle.

id?: string

Internal markup object identifier.

line_width?: number

Line width of the rectangle.

position: IPoint

Coordinates of the top-left point of the rectangle.

position2: IPoint

Coordinates of the bottom-right point of the rectangle.

width?: number

Deprecated. Use position2 instead. Width of the rectangle.