[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'fpg_base' (#fpgui)

TfpgCanvasBase.DrawRectangle

Draws a rectangle.

Declaration

Source position: line 0

public procedure TfpgCanvasBase.DrawRectangle(

  x: TfpgCoord;

  y: TfpgCoord;

  w: TfpgCoord;

  h: TfpgCoord

); overload;

procedure TfpgCanvasBase.DrawRectangle(

  r: TfpgRect

); overload;

Description

Draws a rectangle. You can specify the size of the rectangle via X, Y, Width and Height parameters or via a TfpgRect parameter.


Documentation generated on: 2012-01-26