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 LEFT
Scalar
Number of pixels on the left. RIGHT
Scalar
Number of pixels on the right. TOP
Scalar
Number of pixels on the top. BOTTOM
Scalar
Number of pixels on the bottom. H
Scalar
Sets the number of pixels on both the left and right. Reading returns LEFT. V
Scalar
Sets the number of pixels on both the top and bottom. Reading returns TOP.