ViewBorders
Table of contents
Describes the top, right, bottom, and left border of a view
type ViewBorders struct {
Top, Right, Bottom, Left ViewBorder
}
Member | Type | Description |
---|---|---|
Top | ViewBorder |
Top view border |
Right | ViewBorder |
Right view border |
Bottom | ViewBorder |
Bottom view border |
Left | ViewBorder |
Left view border |
Related global functions
func GetBorder(view View, subviewID ...string) ViewBorders
Returns ViewBorders of the subview. If the second argument (subviewID) is not specified or is an empty string then a ViewBorders of the first argument (view) is returned