GH_CapsuleRender Method (Graphics, Boolean, Boolean, Boolean) |
Render the capsule onto a graphics context.
Namespace:
Grasshopper.GUI.Canvas
Assembly:
Grasshopper (in Grasshopper.dll)
Syntax public void Render(
Graphics G,
bool selected,
bool locked,
bool hidden
)
Public Sub Render (
G As Graphics,
selected As Boolean,
locked As Boolean,
hidden As Boolean
)
Parameters
- G
- Type: System.DrawingGraphics
Graphics object to draw with. Zoom factor is implied by the G.Transform property. - selected
- Type: SystemBoolean
If true, the capsule will be drawn with selected colours. - locked
- Type: SystemBoolean
If True, the capcule will be drawn in Locked style. - hidden
- Type: SystemBoolean
If True, the capsule will be drawn in Hidden style.
See Also