Insets¶
Type
Insets is an immutable four-edge offset in UI points, created with Insets.new, Insets.all, or Insets.Zero. Insets supports +, -, and ==.
Example
Left¶
Left is the left edge offset in points.
Top¶
Top is the top edge offset in points.
Right¶
Right is the right edge offset in points.
Bottom¶
Bottom is the bottom edge offset in points.
__add¶
__add adds each edge of two Insets values component-wise.
__sub¶
__sub subtracts each edge of other from this Insets value component-wise.