Rectangle

Xojo provides a Rectangle control for desktop, mobile and web projects:

Common members

These events, methods and properties are both common amongst the desktop, mobile and web versions of the control and are the most commonly used. See the individual controls for more members and details.

Methods

Name

Description

Refresh

Causes the control to redraw itself.

Properties

Name

Description

BorderColor

The color of the rectangle's border. Not currently supported for web projects.

BorderThickness

The thickness of the rectangle's border. Not currently supported for web projects.

FillColor

The color used to fill the interior of the rectangle.

Height

The height of the rectangle.

Width

The width of the rectangle.