User Tools

Site Tools


api:dk11:delphi:gisrendererabstract.tgis_rendererabstract.canvasdrawline_integer_integer_integer_integer

Table of Contents

TGIS_RendererAbstract.CanvasDrawLine method

DK11 for Delphi | GisRendererAbstract.TGIS_RendererAbstract.CanvasDrawLine | Fields | Methods | Properties

Draw a line on the Canvas object.

Available also on: .NET | Java | ActiveX.

Syntax

// Delphi
public
  procedure CanvasDrawLine(
    const _x1 : Integer;
    const _y1 : Integer;
    const _x2 : Integer;
    const _y2 : Integer
  ); overload; virtual; abstract;
// C++ Builder
public:
  virtual void CanvasDrawLine(
    const int _x1,
    const int _y1,
    const int _x2,
    const int _y2
  ) = 0 /* overload */;

Parameters

Name Type Description
_x1 Integer x of staring point (in pixels)
_y1 Integer y of staring point (in pixels)
_x2 Integer x of ending point (in pixels)
_y2 Integer y of ending point (in pixels)
2018/02/17 00:10