User Tools

Site Tools


api:dk11:delphi:vcl.gisgdiplus.tgis_gdipgraphics.drawrectangle_tgis_gdippen_integer_integer_integer_integer

Table of Contents

TGIS_GdipGraphics.DrawRectangle(TGIS_GdipPen; Integer; Integer; Integer; Integer) method

Syntax

// Delphi
public
  procedure DrawRectangle(
    _pen : TGIS_GdipPen;
    _left : Integer;
    _top : Integer;
    _width : Integer;
    _height : Integer
  ); overload;
// C++ Builder
public:
  void DrawRectangle(
    TGIS_GdipPen* _pen,
    int _left,
    int _top,
    int _width,
    int _height
  ) /* overload */;

Parameters

Name Type Description
_pen TGIS_GdipPen pen for the polygon
_left Integer x coordinate of the upper corner of the rectangle
_top Integer y coordinate of the upper corner of the rectangle
_width Integer width of the rectangle
_height Integer height of the rectangle
2017/09/04 11:18