Grasshopper API
GH_BorderCreateBorders Method (RectangleF, Int32) |
Static (Shared) method for creating a set of borders.
Namespace: Grasshopper.GUI.Canvas
Assembly: Grasshopper (in Grasshopper.dll)
public static List<GH_Border> CreateBorders( RectangleF box, int borderSize )
Public Shared Function CreateBorders ( box As RectangleF, borderSize As Integer ) As List(Of GH_Border)
Parameters
- box
- Type: System.DrawingRectangleF
Box for border creation. - borderSize
- Type: SystemInt32
The width of all borders.
Return Value
Type: ListGH_BorderA list of borders.