Table of Contents

Method DrawDotLine

Namespace
Alternet.Common
Assembly
Alternet.Common.v9.dll

DrawDotLine(int, int, int, int, Color, Color, int)

When implemented by a class, draws a dotted line from the given start position up to the specified end point.

void DrawDotLine(int x1, int y1, int x2, int y2, Color color1, Color color2, int size = 1)

Parameters

x1 int

X-coordinate of the line's start point.

y1 int

Y-coordinate of the line's start point.

x2 int

X-coordinate of the line's ending point.

y2 int

Y-coordinate of the line's ending point.

color1 Color

Specifies line color.

color2 Color

Specifies background color.

size int

Specifies dot size