PowerUI.Css.RoundedCorners Class Reference

Detailed Description

Represents the set of round corners for a particular border.

Public Member Functions

 RoundedCorners (BorderProperty border)
 
void SetCorner (ref RoundCorner corner, RoundCornerPosition position, int radius)
 Sets a round corner to this border. More...
 
void Transform (Transformation topTransform)
 Transforms all the blocks that this property has allocated. Note that transformations are a post process. Special case for borders as it may also internally transform its corners. 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 PreLayout ()
 Called right before round corners are about to be layed out. More...
 
void Layout (int i, ref int cornerX, ref int cornerY, ref int lineWidth, ref int lineHeight)
 Renders and performs a layout of the round corners. More...
 
void Recompute ()
 
void RenderCorners ()
 Renders round corners. More...
 

Public Attributes

Renderman Renderer
 The renderer which will render these corners. More...
 
RoundCorner TopLeft
 A rounded corner in the top left, if any. More...
 
RoundCorner TopRight
 A rounded corner in the top right, if any. More...
 
BorderProperty Border
 The parent border this set belongs to. More...
 
RoundCorner BottomLeft
 A rounded corner in the bottom left, if any. More...
 
ComputedStyle Computed
 The computed style of the parent element. More...
 
RoundCorner BottomRight
 A rounded corner in the bottom right, if any. More...
 
RoundBorderInverseProperty InverseBorder
 The inverse fragment renderer for this set. More...
 

Constructor & Destructor Documentation

PowerUI.Css.RoundedCorners.RoundedCorners ( BorderProperty  border)
inline

Member Function Documentation

void PowerUI.Css.RoundedCorners.ApplyTransform ( )
inline

Applies any transforms (rotate,scale etc) now. Note that tranforms are post-processes so they are very fast and mostly done by paint events.

void PowerUI.Css.RoundedCorners.Layout ( int  i,
ref int  cornerX,
ref int  cornerY,
ref int  lineWidth,
ref int  lineHeight 
)
inline

Renders and performs a layout of the round corners.

void PowerUI.Css.RoundedCorners.PreLayout ( )
inline

Called right before round corners are about to be layed out.

void PowerUI.Css.RoundedCorners.Recompute ( )
inline
void PowerUI.Css.RoundedCorners.RenderCorners ( )
inline

Renders round corners.

void PowerUI.Css.RoundedCorners.SetCorner ( ref RoundCorner  corner,
RoundCornerPosition  position,
int  radius 
)
inline

Sets a round corner to this border.

Parameters
cornerThe property that it's going onto or coming from.
positionThe type of corner that it is.
radiusThe border radius.
void PowerUI.Css.RoundedCorners.Transform ( Transformation  topTransform)
inline

Transforms all the blocks that this property has allocated. Note that transformations are a post process. Special case for borders as it may also internally transform its corners.

Parameters
topTransformThe transform that should be applied to this property.

Member Data Documentation

BorderProperty PowerUI.Css.RoundedCorners.Border

The parent border this set belongs to.

RoundCorner PowerUI.Css.RoundedCorners.BottomLeft

A rounded corner in the bottom left, if any.

RoundCorner PowerUI.Css.RoundedCorners.BottomRight

A rounded corner in the bottom right, if any.

ComputedStyle PowerUI.Css.RoundedCorners.Computed

The computed style of the parent element.

RoundBorderInverseProperty PowerUI.Css.RoundedCorners.InverseBorder

The inverse fragment renderer for this set.

Renderman PowerUI.Css.RoundedCorners.Renderer

The renderer which will render these corners.

RoundCorner PowerUI.Css.RoundedCorners.TopLeft

A rounded corner in the top left, if any.

RoundCorner PowerUI.Css.RoundedCorners.TopRight

A rounded corner in the top right, if any.