Skip to main content

What it does

Represents a rectangle.

Methods

DefinitionDescription
ToString() : stringRepresents a rectangle as a string of the form “[left,top,right,bottom]”.

Properties

NameTypeAccessDescription
BottomintRead-onlyThe coordinate of the bottom edge.
LeftintRead-onlyThe coordinate of the left edge.
RightintRead-onlyThe coordinate of the right edge.
TopintRead-onlyThe coordinate of the top edge.
The above coordinates are in pixels.