Icon StrokeRect Method

procedure StrokeRect(X,Y: Double; Width,Height: Double)

Available In: Visual Client Applications

Use this method to stroke the specified rectangle with the color, gradient, or pattern specified by the StrokeStyle, StrokeColor, StrokeGradient, or StrokePattern properties. The LineCapStyle, LineJoinStyle, MiterLimit and LineWidth properties control how the lines that make up the rectangle are drawn.

Information This method does not affect the current path or current point of the canvas.
Image