struct
GUIStyleSheetRules
Style rule for a particular state of a GUI element (e.g. normal, hover, focused, disabled, etc.).
Public
Constructors
GUIStyleSheetRules
Methods
Override
Overrides all the properties of this style with the set properties from style.
IsPropertySet
Returns true if that property has been assigned.
If false the property is using the default value.
staticGetRttiStatic
Fields
PseudoClass
Pseudo-class the rule is applied to, if any.
Margins
Empty space around the GUI element outside of the border.
In logical pixel units.
Padding
Empty space within the GUI element inside the border.
In logical pixel units.
Size
Size of the GUI element contents in logical pixel units.
Total size of the GUI element will be determined by content size, padding, border width and margins.
MinimumSize
If non-zero, GUI element size will expand to fill the available area, respecting the minimum and (optionally) maximum size.
In logical pixel units.
MaximumSize
If non-zero, GUI element size will expand to fill the available area, respecting the maximum and (optionally) minimum size.
In logical pixel units.
Opacity
Opacity of the GUI element.
This value will affect all aspects of the GUI element (border, background and contents). In range [0, 1].
BackgroundImage
Image to render as the background.
BorderTopLeftRadius
Radius of the top left border corner, if rounded corners are desired.
In logical pixel units.
BorderTopRightRadius
Radius of the top right border corner, if rounded corners are desired.
In logical pixel units.
BorderBottomLeftRadius
Radius of the bottom left border corner, if rounded corners are desired.
In logical pixel units.
BorderBottomRightRadius
Radius of the bottom right border corner, if rounded corners are desired.
In logical pixel units.
FontSize
Font size to render the text contents of the GUI element with, in logical point units.
HorizontalTextAlignment
Determines horizontal alignment of text within the GUI element.
VerticalTextAlignment
Determines vertical alignment of text within the GUI element.
OverridenProperties
Bit for each property that is different than the default will be set.
Used for determining which properties to override from parent rule.