User Tools

Site Tools


api:dk11:python:tatukgis.pdk.tgis_rendererabstract.canvasdrawline_integer_integer_integer_integer

Table of Contents

TGIS_RendererAbstract.CanvasDrawLine method

DK11 for Python | tatukgis.pdk.TGIS_RendererAbstract.CanvasDrawLine | Constructors | Methods | Properties

Draw a line on the Canvas object.

Available also on: Delphi | .NET | Java | ActiveX.

Syntax

# Python
def CanvasDrawLine(
  self
  _x1: int
  _y1: int
  _x2: int
  _y2: int
) -> None: 

Parameters

Name Type Description
_x1 int x of staring point (in pixels)
_y1 int y of staring point (in pixels)
_x2 int x of ending point (in pixels)
_y2 int y of ending point (in pixels)
2022/11/30 16:03

Page Tools