Interface RectLike

Rectangle shape interface.

x and y are the rectangle's origin, width and height extend along the positive x/y axes.

interface RectLike {
    height: number;
    width: number;
    x: number;
    y: number;
}

Hierarchy (View Summary)

Properties

Properties

height: number
width: number
x: number
y: number