Grasshopper API
GH_CapsuleRenderEngineRenderMessage Method |
Render a text message underneath the capsule.
Namespace: Grasshopper.GUI.Canvas
Assembly: Grasshopper (in Grasshopper.dll)

public Rectangle RenderMessage( Graphics G, string message, GH_PaletteStyle style )
Public Function RenderMessage ( G As Graphics, message As String, style As GH_PaletteStyle ) As Rectangle
Parameters
- G
- Type: System.DrawingGraphics
Graphics object to draw with. - message
- Type: SystemString
Message to draw. - style
- Type: Grasshopper.GUI.CanvasGH_PaletteStyle
Style to use.
Return Value
Type: Rectangle