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 LEFTScalarNumber of pixels on the left. RIGHTScalarNumber of pixels on the right. TOPScalarNumber of pixels on the top. BOTTOMScalarNumber of pixels on the bottom. HScalarSets the number of pixels on both the left and right. Reading returns LEFT. VScalarSets the number of pixels on both the top and bottom. Reading returns TOP.