Grasshopper API
GH_GDI_UtilFilletRectangle Method |
Create a rectangle with filleted corners.
Namespace: Grasshopper.GUI
Assembly: Grasshopper (in Grasshopper.dll)

public static GraphicsPath FilletRectangle( Rectangle box, int radius )
Public Shared Function FilletRectangle ( box As Rectangle, radius As Integer ) As GraphicsPath
Parameters
- box
- Type: System.DrawingRectangle
Rectangle to fillet. - radius
- Type: SystemInt32
Fillet radius, radius will be limited if too large.
Return Value
Type: GraphicsPathGraphicsPath describing filletted rectangle.
