[]
Draws line of the specified width, color, style and alignment
public static void DrawLine(IDrawingCanvas canvas, float width, Color color, PenStyleEx styleEx, PenAlignment alignment, PointF from, PointF to)
Type | Name | Description |
---|---|---|
IDrawingCanvas | canvas | |
float | width | |
Color | color | |
PenStyleEx | styleEx | |
PenAlignment | alignment | |
PointF | from | |
PointF | to |
Draws line of the specified width, color, style, line caps and alignment
public static void DrawLine(IDrawingCanvas canvas, float width, Color color, PenStyleEx styleEx, PointF from, PointF to, PenAlignment alignment, LineCap startCap, LineCap endCap)
Type | Name | Description |
---|---|---|
IDrawingCanvas | canvas | |
float | width | |
Color | color | |
PenStyleEx | styleEx | |
PointF | from | |
PointF | to | |
PenAlignment | alignment | |
LineCap | startCap | |
LineCap | endCap |