Detailed Description

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...
 

Constructor & Destructor Documentation

Css.BoxStyle.BoxStyle ( float  t,
float  r,
float  b,
float  l 
)
inline

Member Function Documentation

override string Css.BoxStyle.ToString ( )
inline

Member Data Documentation

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.

Property Documentation

float Css.BoxStyle.this[int i]
getset

Gets the size at a numeric index.

Parameters
iThe index. Goes around clockwise: 0=Top, 1=Right, 2=Bottom, 3=Left.