PowerUI.Css.Properties.OnAtlas Class Reference

Detailed Description

Represents the on-atlas: css property. Specific to PowerUI. This tells particular images to render off the main atlas.

Inheritance diagram for PowerUI.Css.Properties.OnAtlas:
PowerUI.Css.CssProperty

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 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...
 
- Public Member Functions inherited from PowerUI.Css.CssProperty
virtual void SetDefault (Css.Value value, ValueType type)
 Sets the default value for this property into the given value. 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...
 

Additional Inherited Members

- Public Attributes inherited from PowerUI.Css.CssProperty
string Name
 The main property name. Some properties use multiple names (e.g. content and inner-text). More...
 
bool IsTextual
 Does this css property apply to text? E.g. font-size, color etc. More...
 
bool IsXProperty
 True if this property occurs along the x axis. E.g. width, left, right. More...
 
bool IsWidthOrHeight
 True if this is width or height only. More...
 
ValueType Type =ValueType.Null
 The optional type of this property, if it defines it. More...
 

Member Function Documentation

override void PowerUI.Css.Properties.OnAtlas.Apply ( ComputedStyle  style,
Value  value 
)
inlinevirtual

Apply this CSS style to the given computed style. Note that you can grab the element from the computed style if you need that.

Parameters
styleThe computed style to apply the property to.
valueThe new value being applied.

Reimplemented from PowerUI.Css.CssProperty.

override string [] PowerUI.Css.Properties.OnAtlas.GetProperties ( )
inlinevirtual

The set of all properties that this one will handle. Usually just one. e.g. "v-align", "vertical-align".

Reimplemented from PowerUI.Css.CssProperty.