RAD Studio
ContentsIndex
PreviousUpNext
Drawing Rounded Rectangles

To draw a rounded rectangle on a canvas, call the canvas's RoundRect method. 

The first four parameters passed to RoundRect are a bounding rectangle, just as for the Rectangle method or the Ellipse method. RoundRect takes two more parameters that indicate how to draw the rounded corners.

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!