The classic CSS box. Used when computing the box model, such as for margins and padding.
Public Member Functions | |
BoxStyle (float t, float r, float b, float l) | |
override string | ToString () |
Public Attributes | |
float | Top |
Value for the top edge. More... | |
float | Right |
Value for the right edge. More... | |
float | Bottom |
Value for the bottom edge. More... | |
float | Left |
Value for the left edge. More... | |
Properties | |
float | this[int i] [get, set] |
Gets the size at a numeric index. More... | |
|
inline |
|
inline |
float Css.BoxStyle.Bottom |
Value for the bottom edge.
float Css.BoxStyle.Left |
Value for the left edge.
float Css.BoxStyle.Right |
Value for the right edge.
float Css.BoxStyle.Top |
Value for the top edge.
|
getset |
Gets the size at a numeric index.
i | The index. Goes around clockwise: 0=Top, 1=Right, 2=Bottom, 3=Left. |