ShopToolsUtilDrawLine Method
Draw a line using floating point coordinates, scaling, and translation.
Namespace: ShopToolsAssembly: ShopTools (in ShopTools.exe) Version: 25.2429.4649
public static void DrawLine(
FPoint start,
FPoint end,
Graphics graphics,
Pen pen,
Rectangle workspaceArea,
float scale
)
Public Shared Sub DrawLine (
start As FPoint,
end As FPoint,
graphics As Graphics,
pen As Pen,
workspaceArea As Rectangle,
scale As Single
)
No code example is currently available or this language may not be supported.
Parameters
- start FPoint
-
Raw starting coordinate.
- end FPoint
-
Raw ending coordinate.
- graphics Graphics
-
Reference to the graphics device to which the line will be painted.
- pen Pen
-
Reference to the pen used to draw the line.
- workspaceArea Rectangle
-
Target workspace on the current canvas.
- scale Single
-
Scale to apply to the points.