Represents the set of round corners for a particular border.
Public Member Functions | |
RoundedCorners (BorderProperty border) | |
void | SetCorner (ref RoundCorner corner, RoundCornerPosition position, float radius) |
Sets a round corner to this border. More... | |
void | PreLayout () |
Called right before round corners are about to be layed out. More... | |
void | Layout (Color colour, LayoutBox box, Renderman renderer, int i) |
Renders and performs a layout of the round corners. More... | |
void | ClearCorners () |
void | RenderCorners (LayoutBox box, Renderman renderer) |
Renders round corners. More... | |
Public Attributes | |
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... | |
Properties | |
float | TopLeftRadius [get] |
Top left radius. More... | |
float | TopRightRadius [get] |
Top right radius. More... | |
float | BottomRightRadius [get] |
Bottom right radius. More... | |
float | BottomLeftRadius [get] |
Bottom left radius. More... | |
|
inline |
|
inline |
Renders and performs a layout of the round corners.
|
inline |
Called right before round corners are about to be layed out.
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. |
BorderProperty Css.RoundedCorners.Border |
The parent border this set belongs to.
RoundCorner Css.RoundedCorners.BottomLeft |
A rounded corner in the bottom left, if any.
RoundCorner Css.RoundedCorners.BottomRight |
A rounded corner in the bottom right, if any.
ComputedStyle Css.RoundedCorners.Computed |
The computed style of the parent element.
RoundBorderInverseProperty Css.RoundedCorners.InverseBorder |
The inverse fragment renderer for this set.
RoundCorner Css.RoundedCorners.TopLeft |
A rounded corner in the top left, if any.
RoundCorner Css.RoundedCorners.TopRight |
A rounded corner in the top right, if any.
|
get |
Bottom left radius.
|
get |
Bottom right radius.
|
get |
Top left radius.
|
get |
Top right radius.