StyleRectOffset¶
- structure StyleRectOffset¶
A sub-structure of
Style
.This is used in places where you need to define a zone around the edges of a widget. (Margins, padding, defining the segments of a 9-segment stretchable image, etc).
Suffix
Type
Description
Number of pixels on the left.
Number of pixels on the right.
Number of pixels on the top.
Number of pixels on the bottom.
Sets the number of pixels on both the left and right. Reading returns LEFT.
Sets the number of pixels on both the top and bottom. Reading returns TOP.
- StyleRectOffset:H¶
- Type
- Access
Get/Set
Sets the number of pixels on both the left and right to this same value. Getting the value returns just the value of LEFT (it does not test to see if RIGHT is the same value).