ShopToolsUtilDrawLine Method
Draw a line using floating point coordinates, scaling, and translation.
Namespace: ShopToolsAssembly: ShopTools (in ShopTools.exe) Version: 25.2715.4228
public static void DrawLine(
FVector2 start,
FVector2 end,
Graphics graphics,
Pen pen,
Rectangle workspaceArea,
float scale
)
Public Shared Sub DrawLine (
start As FVector2,
end As FVector2,
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 FVector2
-
Raw starting coordinate.
- end FVector2
-
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.