Rectangle Insets

This class is used to specify left, right, top and bottom insets relative to an arbitrary rectangle. The space can be specified in absolute terms (pixels) or relative terms (a percentage of the height or width of the rectangle).

Properties

Property

Name

Type

Description

Top

top

Float

The top value of the insets.

Left

left

Float

The left value of the insets.

Bottom

bottom

Float

The bottom value of the insets.

Right

right

Float

The right value of the insets.

Unit Type

unitType

Integer

Absolute or Relative.

Was this page helpful?