Constructors
GH_Border
#Create a new border.
Parameters:
| rectangle (RectangleF) | Shape of border. |
| topology (GH_BorderTopology) | Border topology. |
Properties
Methods
Contains
#Test a point for border inclusion.
Parameters:
| pt (PointF) | Point to test. |
Returns: True if pt is inside or on this border.
CreateBorders
#Static (Shared) method for creating a set of borders.
Parameters:
| box (RectangleF) | Box for border creation. |
| borderLeft (int) | Width of the leftmost border. |
| borderRight (int) | Width of the rightmost border. |
| borderTop (int) | Width of the topmost border. |
| borderBottom (int) | Width of the bottommost border. |
Returns: A list of borders.
CreateBorders
#Static (Shared) method for creating a set of borders.
Parameters:
| box (RectangleF) | Box for border creation. |
| borderSize (int) | The width of all borders. |
Returns: A list of borders.
CreateBorders
#Static (Shared) method for creating a set of borders.
Parameters:
| box (RectangleF) | Box for border creation. |
| borderWidth (int) | The width of all vertical. |
| borderHeight (int) | The height of all horizontal borders. |
Returns: A list of borders.
CreateBorders
#Static (Shared) method for creating a set of borders.
Parameters:
| box (RectangleF) | Box for border creation. |
| padding (Padding) | The size of the borders along all four edges. |
Returns: A list of borders.