A CSS property alias. For example, border-top-left-radius is an alias for border-radius[0]. When an alias property is parsed, it maps the value through to the actual target property.
|
| CssPropertyAlias () |
|
| CssPropertyAlias (CssProperty target, int[] index) |
|
virtual int | RemapIndex (Css.Style style) |
| Used to map a logical index to a physical one. More...
|
|
override Css.Value | GetValue (Style styleBlock) |
| Called to get a this properties value from the given style. This exists as it may be an alias property. More...
|
|
override void | OnReadValue (Style styleBlock, Css.Value value) |
| Called when a value is read from the CSS stream. More...
|
|
override Css.Value | GetOrCreateValue (Node context, Style styleBlock, bool allowInherit, out Css.Value hostValue) |
| Called to get a this properties value from the given style. This exists as it may be an alias property. More...
|
|
virtual string[] | GetProperties () |
| The set of all properties that this one will handle. Usually just one. e.g. "v-align", "vertical-align". More...
|
|
virtual float | GetNormalValue (RenderableData context) |
| The value of the 'normal' keyword. More...
|
|
CssProperty | GetAliased (int index) |
| Gets the aliased property for the given index. E.g. color-r is index 0 of color. More...
|
|
CssProperty | GetAliased (int index, bool orThis) |
| Gets the aliased property for the given index. E.g. color-r is index 0 of color. More...
|
|
virtual void | Aliases () |
| The set of aliases for this property. For example, the border-radius property can declare an alias of border-top-left which maps to e.g. "1", i.e. the first inner index. More...
|
|
virtual ApplyState | Apply (ComputedStyle style, Value value) |
| Apply this CSS style to the given computed style. Note that you can grab the element from the computed style if you need that. More...
|
|
virtual void | ApplyText (TextRenderingProperty text, RenderableData data, ComputedStyle style, Value value) |
| Apply this CSS style to the given computed style. Note that you can grab the element from the computed style if you need that. More...
|
|
Css.Value | GetOrCreateValue (Node context, Style styleBlock, bool allowInherit) |
| Called to get a this properties value from the given style. This overload should not be used with alias properties - it always returns the 'host' value. More...
|
|
void | Reapply (ComputedStyle computed, string propertyName) |
| Causes the named property to apply its value. More...
|
|
void | Reapply (ComputedStyle style, CssProperty property) |
| Sets the named css property from the given style if the property exists in the style. More...
|
|
BackgroundImage | GetBackground (ComputedStyle style) |
| Call this if the current property requires a background image object. More...
|
|
BorderProperty | GetBorder (ComputedStyle style) |
| Call this if the current property requies a border object. More...
|
|
TextRenderingProperty | GetText (ComputedStyle style) |
| Call this if the current property requires a text object. NOTE: This one may be null. More...
|
|
TextRenderingProperty3D | GetText3D (ComputedStyle style) |
| Call this if the current property requires a text object. NOTE: This one may be null. More...
|
|
|
virtual Css.Spec.Value | GetSpecification () |
| Loads the values spec. More...
|
|
void | ColourAliases (string property, ValueAxis axis, int index) |
| Loads a set of colour aliases for a given property name. E.g. name-r,name-g,name-b and name-a. The alias may also be mapped to a sub-index. It must be an empty string otherwise. More...
|
|
void | SquareAliases (string property, int index) |
| Loads a set of square aliases. E.g. name-top or name-bottom. More...
|
|
void | ColourAliases () |
| Loads a set of colour aliases. E.g. name-r,name-g,name-b and name-a. More...
|
|
void | PointAliases2D () |
| Loads a set of point aliases. E.g. name-x, name-y and name-z. More...
|
|
void | PointAliases3D () |
| Loads a set of point aliases. E.g. name-x, name-y and name-z. More...
|
|
void | SquareAliases () |
| Loads a set of square aliases. E.g. name-top or name-bottom. More...
|
|
void | LogicalAlias (string name, ValueAxis axis, params int[] target) |
| Adds a logical alias for the given CSS property to the given target. A numeric target, e.g. 1, means that inner index of this property, which is a set. More...
|
|
void | Alias (string name, ValueAxis axis, params int[] target) |
| Adds an alias for the given CSS property to the given target. A numeric target, e.g. 1, means that inner index of this property, which is a set. More...
|
|
static Css.Value | NONE =new Css.Keywords.None() |
| Shared default values. More...
|
|
static Css.Value | ZERO =new Css.Units.DecimalUnit(0) |
|
static Css.Value | AUTO =new Css.Keywords.Auto() |
|