Interface Rectangle

interface Rectangle {
    center: Vec2;
    cornerRadius: Num;
    drag: boolean;
    dragConstraint: DragConstraint;
    ensureOnCanvas: boolean;
    fillColor: Color;
    height: Num;
    interactiveOnly: boolean;
    name: string;
    rotation: Num;
    shapeType: Rectangle;
    strokeColor: Color;
    strokeDasharray: string;
    strokeStyle: string;
    strokeWidth: Num;
    width: Num;
}

Hierarchy (view full)

Properties

center: Vec2
cornerRadius: Num
drag: boolean
dragConstraint: DragConstraint
ensureOnCanvas: boolean
fillColor: Color
height: Num
interactiveOnly: boolean
name: string
rotation: Num
shapeType: Rectangle
strokeColor: Color
strokeDasharray: string
strokeStyle: string
strokeWidth: Num
width: Num