ShopToolsUtilDrawLine Method

Draw a line using floating point coordinates, scaling, and translation.

Definition

Namespace: ShopTools
Assembly: ShopTools (in ShopTools.exe) Version: 25.2429.4649
C#
public static void DrawLine(
	FPoint start,
	FPoint end,
	Graphics graphics,
	Pen pen,
	Rectangle workspaceArea,
	float scale
)

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.

See Also