PowerUI.Css.RoundBorderInverseProperty Class Reference

Detailed Description

Represents the inverse section of round borders. Simply acts as a block allocation container, separating the "inverse" corner from the main coloured corner.

Inheritance diagram for PowerUI.Css.RoundBorderInverseProperty:
PowerUI.Css.DisplayableProperty

Public Member Functions

 RoundBorderInverseProperty (Element element)
 Creates a new border property for the given element. More...
 
override void SetOverlayColour (Color colour)
 Called to apply the given colour overlay to this property. More...
 
override void Paint ()
 Called when a paint event occurs. Paint events don't relocate the whole UI so are quick and efficient. More...
 
- Public Member Functions inherited from PowerUI.Css.DisplayableProperty
 DisplayableProperty (Element element)
 Creates a new displayable property for the given element. More...
 
void SetVisibility (bool visible)
 Call this when the visibility of this property as a whole changes. More...
 
void SetOverlayColour ()
 Sets the overlay colour from the elements colour overlay property. More...
 
void ColourChanged ()
 Call this when any colour of this property has changed. More...
 
virtual void OnBatchDestroy ()
 Called when the isolation batch for this property gets removed. More...
 
void Change (string property, Value newValue)
 Called when a named css property changes. More...
 
void ClearBlocks ()
 Clears all mesh blocks that this property has allocated. More...
 
void WentOffScreen ()
 
Vector3 MapPX (float x, float y, float z)
 Maps the given pixel location to a world location. More...
 
void Render ()
 Make this property visible by forcing it to redraw. More...
 
void RequestPaint ()
 Requests for a paint event to occur. Note that paint events are more efficient than a layout as they only refresh the mesh colours and uvs rather than the whole mesh. More...
 
void RequestLayout ()
 Requests for a layout event to occur. Note that paint events are more efficient than a layout as they only refresh the mesh colours and uvs rather than the whole mesh. More...
 
MeshBlock Add ()
 Allocates a new mesh block for this property to use. Mesh blocks are the core of how PowerUI displays content. More...
 
void Transform (Transformation topTransform)
 Transforms all the blocks that this property has allocated. Note that transformations are a post process. More...
 
void ApplyTransform ()
 Applies any transforms (rotate,scale etc) now. Note that tranforms are post-processes so they are very fast and mostly done by paint events. More...
 
void Isolate ()
 Isolates this property from the rest of the UI such that it can have a custom mesh/shader/texture etc. More...
 
void Include ()
 Reverses PowerUI.Css.DisplayableProperty.Isolate by re-including this property in the main UI batch. More...
 
bool IsIsolated ()
 Checks if this is an isolated property - that's one which is seperate and takes its own drawcall. More...
 
void SetupBatch (TextureAtlas graphics, TextureAtlas font)
 
AtlasLocation RequireImage (AtlasEntity image)
 

Protected Member Functions

override void Layout ()
 Called when a layout event occurs. Layout events relocate the whole UI so should be used less frequently than a paint event. More...
 
- Protected Member Functions inherited from PowerUI.Css.DisplayableProperty
virtual bool NowOnScreen ()
 Called when this element goes on screen. More...
 
virtual void NowOffScreen ()
 Called when this element goes off screen (or is removed from the DOM). More...
 
virtual void OnChange (string property, Value newValue)
 Called when a named css property changes. More...
 

Additional Inherited Members

- Public Attributes inherited from PowerUI.Css.DisplayableProperty
bool Visible
 True if this is currently visible on screen. More...
 
bool Changed
 True if this property has changed its appearance. More...
 
bool Isolated
 True if this property is isolated and has a seperate mesh and material from everything else. More...
 
int BlockCount
 The number of mesh blocks that this property has allocated. More...
 
Element Element
 The parent element that this is a property of. More...
 
MeshBlock FirstBlock
 The first mesh block that this property has allocated. This is the head of a linked list. More...
 
bool GotBatchAlready
 Only applies to Isolated properties. Set to true when this property has allocated a UIBatch on the current layout. More...
 
- Properties inherited from PowerUI.Css.DisplayableProperty
bool Paintable [get]
 Checks if this property can be repainted. More...
 

Constructor & Destructor Documentation

PowerUI.Css.RoundBorderInverseProperty.RoundBorderInverseProperty ( Element  element)
inline

Creates a new border property for the given element.

Parameters
elementThe element to give a border to.

Member Function Documentation

override void PowerUI.Css.RoundBorderInverseProperty.Layout ( )
inlineprotectedvirtual

Called when a layout event occurs. Layout events relocate the whole UI so should be used less frequently than a paint event.

Reimplemented from PowerUI.Css.DisplayableProperty.

override void PowerUI.Css.RoundBorderInverseProperty.Paint ( )
inlinevirtual

Called when a paint event occurs. Paint events don't relocate the whole UI so are quick and efficient.

Reimplemented from PowerUI.Css.DisplayableProperty.

override void PowerUI.Css.RoundBorderInverseProperty.SetOverlayColour ( Color  colour)
inlinevirtual

Called to apply the given colour overlay to this property.

Parameters
colourThe colour overlay to apply.

Reimplemented from PowerUI.Css.DisplayableProperty.