[]
Initializes a new instance of the RoundRectEx class.
public RoundRectEx(float left, float top, float width, float height, float edgeWidth, float edgeHeight)
| Type | Name | Description |
|---|---|---|
| float | left | The left. |
| float | top | The top. |
| float | width | The width. |
| float | height | The height. |
| float | edgeWidth | Width of the edge. |
| float | edgeHeight | Height of the edge. |
Initializes a new instance of the RoundRectEx class.
public RoundRectEx(float left, float top, float width, float height, float topLeftEdge, float topRightEdge, float bottomLeftEdge, float bottomRightEdge)
| Type | Name | Description |
|---|---|---|
| float | left | The left. |
| float | top | The top. |
| float | width | The width. |
| float | height | The height. |
| float | topLeftEdge | The top left edge. |
| float | topRightEdge | The top right edge. |
| float | bottomLeftEdge | The bottom left edge. |
| float | bottomRightEdge | The bottom right edge. |
public void DrawRoundRect(float left, float top, float width, float height,
float topLeftEdge, float topRightEdge,
float bottomLeftEdge, float bottomRightEdge,
float precision)
{
CanvasItems.Add(new RoundRectEx(left, top,
width, height,
topLeftEdge, topRightEdge,
bottomLeftEdge, bottomRightEdge
));
}