Represents the border: composite css property.
Public Member Functions | |
override string[] | GetProperties () |
The set of all properties that this one will handle. Usually just one. e.g. "v-align", "vertical-align". More... | |
override void | OnReadValue (Style styleBlock, Css.Value value) |
Called when a value is read from the CSS stream. More... | |
Public Member Functions inherited from Css.CssCompositeProperty | |
CssCompositeProperty () | |
CssPropertySetInfo | GetPropertySetInfo (CssProperty prop) |
In order to know when certain properties have been set and which have not, each property that a composite property updates has a 'set info' object. When reading a composite value, all the set info values are checked to see which ones were not set. It then proceeds to update those to their initial value. 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... | |
Public Member Functions inherited from Css.CssPropertyAlias | |
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 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... | |
Public Member Functions inherited from Css.CssProperty | |
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... | |
Additional Inherited Members | |
Public Attributes inherited from Css.CssCompositeProperty | |
Dictionary< CssProperty, CssPropertySetInfo > | AllProperties =new Dictionary<CssProperty,CssPropertySetInfo>() |
The lookup of all properties which get set by this one. Computed when the spec is obtained. More... | |
Protected Member Functions inherited from Css.CssProperty | |
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 Package Attributes inherited from Css.CssProperty | |
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() |
Properties inherited from Css.CssPropertyAlias | |
override bool | NonStandard [get] |
True if this property is specific to Spark. More... | |
|
inlinevirtual |
The set of all properties that this one will handle. Usually just one. e.g. "v-align", "vertical-align".
Reimplemented from Css.CssProperty.
|
inlinevirtual |
Called when a value is read from the CSS stream.
Reimplemented from Css.CssCompositeProperty.