Table of Contents

Method DrawLine

Namespace
Alternet.Editor
Assembly
Alternet.Editor.v10.dll

DrawLine(int, Point, Rectangle)

Draws line given by its index at the specified position.

public virtual void DrawLine(int index, Point position, Rectangle clipRect)

Parameters

index int

Index of line to draw.

position Point

Position to start drawing.

clipRect Rectangle

Rectangular area of the control to draw line in.

DrawLine(int, string, StringItemInfo[], Point, Rectangle)

Draws line given by its index at the specified position.

public virtual void DrawLine(int index, string line, StringItemInfo[] colorData, Point position, Rectangle clipRect)

Parameters

index int

Index of line to draw.

line string

Specifies text to draw.

colorData StringItemInfo[]

Specifies array containing color data for given string.

position Point

Position to start drawing.

clipRect Rectangle

Rectangular area of the control to draw line in.

DrawLine(int, PointD, RectD)

public virtual void DrawLine(int index, PointD position, RectD clipRect)

Parameters

index int
position PointD
clipRect RectD

DrawLine(int, string, StringItemInfo[], PointD, RectD)

public virtual void DrawLine(int index, string line, StringItemInfo[] colorData, PointD position, RectD clipRect)

Parameters

index int
line string
colorData StringItemInfo[]
position PointD
clipRect RectD