Interface RectangleOptions

interface RectangleOptions {
    attitude?: SpinorLike;
    dashes?: number[];
    fillColor?: Color;
    fillOpacity?: number;
    height?: number | VectorLike;
    id?: string;
    opacity?: number;
    plumb?: boolean;
    position?: VectorLike;
    strokeColor?: Color;
    strokeOpacity?: number;
    strokeWidth?: number;
    sx?: number;
    sy?: number;
    vectorEffect?: "non-scaling-stroke" | "none";
    visibility?: "hidden" | "visible" | "collapse";
    width?: number | VectorLike;
}

Hierarchy (view full)

Properties

attitude?: SpinorLike
dashes?: number[]
fillColor?: Color

The value of what the path should be filled in with.

https://developer.mozilla.org/en-US/docs/Web/CSS/color_value for more information on CSS's colors as String.

fillOpacity?: number
height?: number | VectorLike
id?: string
opacity?: number
plumb?: boolean
position?: VectorLike
strokeColor?: Color

The value of what the path should be outlined in with.

https://developer.mozilla.org/en-US/docs/Web/CSS/color_value for more information on CSS's colors as String.

strokeOpacity?: number
strokeWidth?: number
sx?: number
sy?: number
vectorEffect?: "non-scaling-stroke" | "none"
visibility?: "hidden" | "visible" | "collapse"
width?: number | VectorLike