[]
DrawRoundRect
public void DrawRoundRect(float left, float top, float width, float height, float edgeWidth, float edgeHeight)
| Type | Name | Description |
|---|---|---|
| float | left | |
| float | top | |
| float | width | |
| float | height | |
| float | edgeWidth | |
| float | edgeHeight |
Renders a rounded rectangle with different corner radii.
public void DrawRoundRect(float left, float top, float width, float height, float topLeftEdge, float topRightEdge, float bottomLeftEdge, float bottomRightEdge, float precision)
| Type | Name | Description |
|---|---|---|
| float | left | The x-coordinate of the upper-left corner of the rectangle. |
| float | top | The y-coordinate of the upper-left corner of the rectangle. |
| float | width | The width of the rectangle. |
| float | height | The height of the rectangle. |
| float | topLeftEdge | The radius of the top-left corner. |
| float | topRightEdge | The radius of the top-right corner. |
| float | bottomLeftEdge | The radius of the bottom-left corner. |
| float | bottomRightEdge | The radius of the bottom-right corner. |
| float | precision | Parameter to specify when we should fail back to old round rect with equals corners |