Grasshopper API
GH_CapsuleRenderEngineCreateHighlightBar Method (Rectangle, Int32, Int32, Boolean, Boolean) |
Static (Shared in VB) method for creating Grasshopper Capsule highlight fills.
Namespace: Grasshopper.GUI.Canvas
Assembly: Grasshopper (in Grasshopper.dll)

public static GraphicsPath CreateHighlightBar( Rectangle rec, int radius, int size, bool jaggedLeft, bool jaggedRight )
Public Shared Function CreateHighlightBar ( rec As Rectangle, radius As Integer, size As Integer, jaggedLeft As Boolean, jaggedRight As Boolean ) As GraphicsPath
Parameters
- rec
- Type: System.DrawingRectangle
Rectangle for entire fill. - radius
- Type: SystemInt32
Corner radius. - size
- Type: SystemInt32
Highlight fill height. - jaggedLeft
- Type: SystemBoolean
- jaggedRight
- Type: SystemBoolean
Return Value
Type: GraphicsPathGraphics path that describes the highlight fill shape.
