ViewOutline

Table of contents

Describes parameters of a view's outline border

type ViewOutline struct {
    Color Color
    Style int
    Width SizeUnit
}
Member Type Description
Color Color Line color
Style int Line style, see below
Width SizeUnit Line width

where Style could be one of the following values:

Value Constant Description
0 NoneLine The outline will not be drawn
1 SolidLine Solid line as an outline
2 DashedLine Dashed line as an outline
3 DottedLine Dotted line as an outline
4 DoubleLine Double line as an outline
func GetOutline(view View, subviewID ...string) ViewOutline

Returns ViewOutline of the subview. If the second argument (subviewID) is not specified or is an empty string then a ViewOutline of the first argument (view) is returned