EDrawAdapter::Line

Draws a line between two points.

Namespace: Euresys::Open_eVision

[C++]

void Line(
   int x1,
   int y1,
   int x2,
   int y2,
   EPen pen
)

Parameters

x1

X coordinate of line origin point

y1

Y coordinate of line origin point

x2

X coordinate of line end point

y2

Y coordinate of line end point

pen

Optional pen to use

EDrawAdapter.Line

Draws a line between two points.

Namespace: Euresys.Open_eVision

[C#]

void Line(
   int x1,
   int y1,
   int x2,
   int y2,
   EPen pen
)

Parameters

x1

X coordinate of line origin point

y1

Y coordinate of line origin point

x2

X coordinate of line end point

y2

Y coordinate of line end point

pen

Optional pen to use

EDrawAdapter.Line

Draws a line between two points.

Module: open_evision

[Python]

Line(
    x1: int
    y1: int
    x2: int
    y2: int
    pen: EPen
) -> None

Line(
    x1: int
    y1: int
    x2: int
    y2: int
) -> None

Parameters

x1

X coordinate of line origin point

y1

Y coordinate of line origin point

x2

X coordinate of line end point

y2

Y coordinate of line end point

pen

Optional pen to use