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... | |
|
inline |
|
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.
|
inline |
Renders and performs a layout of the round corners.
|
inline |
Called right before round corners are about to be layed out.
|
inline |
|
inline |
Renders round corners.
|
inline |
Sets a round corner to this border.
corner | The property that it's going onto or coming from. |
position | The type of corner that it is. |
radius | The border radius. |
|
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.
topTransform | The transform that should be applied to this property. |
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.