GH_CapsuleRender Method (Graphics, Image, 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,
Image icon,
bool selected,
bool locked,
bool hidden
)
Public Sub Render (
G As Graphics,
icon As Image,
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. - icon
- Type: System.DrawingImage
Icon to render in center of content/bounding box. - 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