GH_CapsuleRender Method (Graphics, GH_PaletteStyle) |
Have this capsule draw itself onto a Graphics surface with a custom Style override.
Namespace:
Grasshopper.GUI.Canvas
Assembly:
Grasshopper (in Grasshopper.dll)
Syntax public void Render(
Graphics G,
GH_PaletteStyle style
)
Public Sub Render (
G As Graphics,
style As GH_PaletteStyle
)
Parameters
- G
- Type: System.DrawingGraphics
Graphics object to draw with. Zoom factor is implied by the G.Transform property. - style
- Type: Grasshopper.GUI.CanvasGH_PaletteStyle
Style to draw capsule with.
See Also