GH_CapsuleRender Method (Graphics, Color)
Have this capsule draw itself onto a Graphics surface with a custom colour override.
Grasshopper (in Grasshopper.dll)
public void Render(
Public Sub Render (
G As Graphics,
colour As Color
- Type: System.DrawingGraphics
Graphics object to draw with. Zoom factor is implied by the G.Transform property.
- Type: System.DrawingColor
Base colour for the capsule. Other colours will be derived from the base colour.
If you want full control over every colour involved, then use the overload that allows you
to supply a custom Style instead.