GH_BorderCreateBorders Method (RectangleF, Padding) |
Static (Shared) method for creating a set of borders.
Namespace:
Grasshopper.GUI.Canvas
Assembly:
Grasshopper (in Grasshopper.dll)
Syntax public static List<GH_Border> CreateBorders(
RectangleF box,
Padding padding
)
Public Shared Function CreateBorders (
box As RectangleF,
padding As Padding
) As List(Of GH_Border)
Parameters
- box
- Type: System.DrawingRectangleF
Box for border creation. - padding
- Type: System.Windows.FormsPadding
The size of the borders along all four edges.
Return Value
Type:
ListGH_BorderA list of borders.
See Also