Method DrawLine
- Namespace
- Alternet.Editor.CodeCompletion
- Assembly
- Alternet.Editor.v9.dll
DrawLine(int, Point, Rectangle)
Draws specific line in of the hint control to the graphic surface.
public virtual void DrawLine(int index, Point position, Rectangle clipRect)
Parameters
index
intSpecifies index of line to draw.
position
PointThe Point value that specifies start position to draw.
clipRect
RectangleRectangular area of hint control to draw 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
intIndex of line to draw.
line
stringSpecifies text to draw.
colorData
StringItemInfo[]Specifies array containing color data for given string.
position
PointPosition to start drawing.
clipRect
RectangleRectangular area of the control to draw line in.