Hide Comments
Hide Comments

TRSGPCanvas.RoundRect(Integer,Integer,Integer,Integer,Integer,Integer) Method

Comments (0)

Draws a rectangle with rounded corners on the canvas.

Implements drawing a rounded rectangle using the current pen and fill it with the current brush. The rectangle will have edges defined by the points (X1,Y1), (X2,Y1), (X2,Y2), (X1,Y2), but the corners will be shaved to create a rounded appearance. The curve of the rounded corners matches the curvature of an ellipse with width X3 and height Y3.

To draw an ellipse instead, use    Ellipse. To draw a true rectangle, use    Rectangle.
 
 

Namespace: RSGdiPlusGraphics

expandingSyntax

Parameters

X1

Type: Integer

Y1

Type: Integer

X2

Type: Integer

Y2

Type: Integer

X3

Type: Integer

Y3

Type: Integer

expandingSee Also

Comments (0)

RiverSoftAVG SVG Component Library (RSCL) © 2013-2016, Thomas G. Grubb