Grasshopper API
GH_AttributesTRenderToCanvas Method |
Render these attributes into a Canvas control. This function places calls to
PrepareForRender() and Render(), you should override those.
Namespace: Grasshopper.Kernel
Assembly: Grasshopper (in Grasshopper.dll)

public void RenderToCanvas( GH_Canvas canvas, GH_CanvasChannel channel )
Public Sub RenderToCanvas ( canvas As GH_Canvas, channel As GH_CanvasChannel )
Parameters
- canvas
- Type: Grasshopper.GUI.CanvasGH_Canvas
Canvas to draw on. - channel
- Type: Grasshopper.GUI.CanvasGH_CanvasChannel
Current drawing channel.
Implements
IGH_AttributesRenderToCanvas(GH_Canvas, GH_CanvasChannel)