[]
Constructs the class with the specified unit type.
public CSSValue(eCSSUnit aUnit)
Type | Name | Description |
---|---|---|
eCSSUnit | aUnit |
Constructs the class with the specified unit type, and integer value.
public CSSValue(int aValue, eCSSUnit aUnit)
Type | Name | Description |
---|---|---|
int | aValue | The integer value to construct the class with. |
eCSSUnit | aUnit | The unit type to construct the class with. Shold be Integer or Enumerated. |
Constructs the class with the specified unit type, and value.
public CSSValue(float aValue, eCSSUnit aUnit)
Type | Name | Description |
---|---|---|
float | aValue | The value to construct the class with. |
eCSSUnit | aUnit | The unit type to construct the class with. Should be eCSSUnit.Percent. |
Constructs the class with the specified unit type, and string value.
public CSSValue(string aValue, eCSSUnit aUnit)
Type | Name | Description |
---|---|---|
string | aValue | The string value to construct the class with. |
eCSSUnit | aUnit | The unit type to construct the class with. Should be eCSSUnit.String, or eCSSUnit.Counters |
Constructs the class with the specified color.
public CSSValue(eCSSUnit eColorUnit, Color aValue, string sOriginalSyntax)
Type | Name | Description |
---|---|---|
eCSSUnit | eColorUnit | The type of color being stored. |
Color | aValue | The Color value to construct the class with. |
string | sOriginalSyntax | The way that the color value should be outputed when outputed as a string. |