@inweb/viewer-visualize
    Preparing search index...

    Interface IMarkupRectangleParams

    Defines the parameters for creating a markup rectangle.

    interface IMarkupRectangleParams {
        color?: string;
        height?: number;
        id?: string;
        lineWidth?: number;
        position?: { x: number; y: number };
        width?: number;
    }
    Index

    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"
    
    height?: number

    Height of the rectangle.

    200
    
    id?: string

    Internal markup object identifier.

    lineWidth?: number

    Line width.

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

    Coordinates of the top-left point (position) of the rectangle.

    width?: number

    Width of the rectangle.

    200