ShopToolsUtilDrawHole Method
Draw the drill hole symbol.
Namespace: ShopToolsAssembly: ShopTools (in ShopTools.exe) Version: 25.2429.4649
public static void DrawHole(
FPoint displayLocation,
Graphics graphics,
Rectangle workspaceArea,
float scale,
bool selected = false
)
Public Shared Sub DrawHole (
displayLocation As FPoint,
graphics As Graphics,
workspaceArea As Rectangle,
scale As Single,
Optional selected As Boolean = false
)
No code example is currently available or this language may not be supported.
Parameters
- displayLocation FPoint
-
Reference to the raw display-space location at which the symbol will
be centered.
- graphics Graphics
-
Reference to the currently active graphics device.
- workspaceArea Rectangle
-
Workspace area representing the client offset from the control.
- scale Single
-
Scale to apply to the positioning of the symbol on the drawing area.
- selected Boolean (Optional)
-
Value indicating whether the hole and its offset should be drawn as
selected.