[]
Draws the round rect.
public void DrawRoundRect(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. |
Renders rounded rect with different corner radiuses.
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 | |
float | top | |
float | width | |
float | height | |
float | topLeftEdge | |
float | topRightEdge | |
float | bottomLeftEdge | |
float | bottomRightEdge | |
float | precision | Parameter to specify when we should fail back to old round rect with equals corners |