Grasshopper API
GH_GraphicsUtilRenderHighlightBox Method (Graphics, Rectangle, Int32) |
Render a typical blueish highlight rectangle
Namespace: Grasshopper.GUI
Assembly: Grasshopper (in Grasshopper.dll)

public static void RenderHighlightBox( Graphics g, Rectangle box, int cornerRadius )
Public Shared Sub RenderHighlightBox ( g As Graphics, box As Rectangle, cornerRadius As Integer )
Parameters
- g
- Type: System.DrawingGraphics
Graphics object to render with. - box
- Type: System.DrawingRectangle
Dimensions of selection box. - cornerRadius
- Type: SystemInt32
Radius (in pixels) of box corners, use zero or less to render crisp rectangles.
