User Tools

Site Tools


api:dk11:net:tatukgis.ndk.tgis_rendererabstract.canvasdrawline_integer_integer_integer_integer

Table of Contents

TGIS_RendererAbstract.CanvasDrawLine method

DK11 for .NET | TatukGIS.NDK.TGIS_RendererAbstract.CanvasDrawLine | Fields | Methods | Properties

Draw a line on the Canvas object.

Available also on: Delphi | Java | ActiveX.

Syntax

// C#
public abstract void CanvasDrawLine(
  int _x1,
  int _y1,
  int _x2,
  int _y2
);
' VisualBasic
Public MustOverride Sub CanvasDrawLine(
  ByVal _x1 As Integer,
  ByVal _y1 As Integer,
  ByVal _x2 As Integer,
  ByVal _y2 As Integer
)
// Oxygene
public
  procedure CanvasDrawLine(
    _x1 : Integer;
    _y1 : Integer;
    _x2 : Integer;
    _y2 : Integer
  ); virtual; abstract;

Parameters

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