User Tools

Site Tools


api:dk11:java:tatukgis.jdk.tgis_rendererabstract.canvasdrawline_integer_integer_integer_integer

Table of Contents

TGIS_RendererAbstract.CanvasDrawLine method

DK11 for Java | tatukgis.jdk.TGIS_RendererAbstract.CanvasDrawLine | Fields | Methods | Properties

Draw a line on the Canvas object.

Available also on: Delphi | .NET | ActiveX.

Syntax

// Java
public abstract void CanvasDrawLine(
  int _x1,
  int _y1,
  int _x2,
  int _y2
);
// 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:18