Click or drag to resize

GH_CapsuleRenderEngineCreateHighlightBar Method (Rectangle, Int32, Int32, Int32, Boolean, Boolean)

Static (Shared in VB) method for creating Grasshopper Capsule highlight fills.

Namespace:  Grasshopper.GUI.Canvas
Assembly:  Grasshopper (in Grasshopper.dll)
Syntax
public static GraphicsPath CreateHighlightBar(
	Rectangle rec,
	int R0,
	int R1,
	int size,
	bool jaggedLeft,
	bool jaggedRight
)

Parameters

rec
Type: System.DrawingRectangle
Rectangle for entire fill.
R0
Type: SystemInt32
Radius of upper left corner.
R1
Type: SystemInt32
Radius of upper right corner.
size
Type: SystemInt32
Highlight fill height.
jaggedLeft
Type: SystemBoolean
jaggedRight
Type: SystemBoolean

Return Value

Type: GraphicsPath
Graphics path that describes the highlight fill shape.
See Also