Resource Base
Table of contents

Rect

Syntax

interface Rect {
	left: number;
	top: number;
	width: number;
	height: number;
}

Attributes

left

The x-coordinate of the upper-left corner of the area.

top

The y-coordinate of the upper-left corner of the area.

width

The width of the rectangle area. The unit is point.

height

The height of the rectangle area. The unit is point.

Rect

Is this page helpful?

YesYes NoNo

In this article: