Type
Rectangle
Specifies a rectangular region where all quantities must be non-negative integers.
ts
type Rectangle = {
left: number;
top: number;
width: number;
height: number;
};Used by
Properties
left
ts
left: number;The distance in pixels to the left edge of the rectangle .
top
ts
top: number;The distance in pixels to the top edge of the rectangle.
width
ts
width: number;The width in pixels of the rectangle.
height
ts
height: number;The height in pixels of the rectangle.