[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.Document.Section.DrawCanvas.DrawRoundRect

DrawRoundRect Method

DrawRoundRect(float, float, float, float, float, float)

DrawRoundRect

Declaration
public void DrawRoundRect(float left, float top, float width, float height, float edgeWidth, float edgeHeight)
Parameters
Type Name Description
float left
float top
float width
float height
float edgeWidth
float edgeHeight

DrawRoundRect(float, float, float, float, float, float, float, float, float)

Renders a rounded rectangle with different corner radii.

Declaration
public void DrawRoundRect(float left, float top, float width, float height, float topLeftEdge, float topRightEdge, float bottomLeftEdge, float bottomRightEdge, float precision)
Parameters
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