User Tools

Site Tools


api:dk11:delphi:fmx.gisrenderer.tgis_rendererfmx.canvasdrawline_integer_integer_integer_integer

Table of Contents

TGIS_RendererFmx.CanvasDrawLine method

DK11 for Delphi | FMX.GisRenderer.TGIS_RendererFmx.CanvasDrawLine | Constructors | Fields | Methods | Properties

Draw a line on the Canvas object.

Overrides TGIS_RendererAbstract.CanvasDrawLine.

Syntax

// Delphi
public
  procedure CanvasDrawLine(
    const _x1 : Integer;
    const _y1 : Integer;
    const _x2 : Integer;
    const _y2 : Integer
  ); override;
// C++ Builder
public:
  virtual void CanvasDrawLine(
    const int _x1,
    const int _y1,
    const int _x2,
    const int _y2
  );

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/04/05 12:09