Grasshopper API
GH_GraphicsUtilRenderRoundBar Method |
Render a cylinder shaped object with round caps.
Namespace: Grasshopper.GUI
Assembly: Grasshopper (in Grasshopper.dll)

public static void RenderRoundBar( Graphics graphics, RectangleF rec, Color colour )
Public Shared Sub RenderRoundBar ( graphics As Graphics, rec As RectangleF, colour As Color )
Parameters
- graphics
- Type: System.DrawingGraphics
Graphics object to draw with. - rec
- Type: System.DrawingRectangleF
Rectangle containing shape. - colour
- Type: System.DrawingColor
Fill colour of shape.
