Show/Hide Toolbars

RiverSoftAVG Products Help

Navigation: Code Documentation > RSVML > RSGdiPlusGraphics > Classes > TRSGPCanvas > Methods

TRSGPCanvas.Rectangle(Integer,Integer,Integer,Integer) Method

Scroll Prev Top Next More

Draws a rectangle on the canvas.

Implements drawing a rectangle using the pen and filling it with the current brush.

To fill a rectangular region without drawing the boundary in the current pen, use FillRect. To outline a rectangular region without filling it, use FrameRect or Polygon. To draw a rectangle with rounded corners, use RoundRect.
 

Namespace: RSGdiPlusGraphics

Parameters

X1

Type: Integer

Y1

Type: Integer

X2

Type: Integer

Y2

Type: Integer

RiverSoftAVG Products Help © 1996-2016 Thomas G. Grubb