ColumnSeparatorProperty

Description of the line style that will be drawn at column breaks, see ColumnLayout

Create from source

func NewColumnSeparator(params Params) ColumnSeparatorProperty

Creates the new ColumnSeparatorProperty object and return its interface

Create from resource

ColumnLayout {
    column-separator = _{
        style = solid,
        width = 1px,
        color = #FF000000,
    },
}

Interface description

Inherit methods from Properties, fmt.Stringer

ViewBorder(session Session) ViewBorder

Returns column separator description in a form of ViewBorder struct

Properties

"color"

Line color

Constant: ColorTag

Types: Color, string

Internal type is Color, other types converted to it during assignment

See Color description for more details

"style"

Line style

Constant: Style

Types: int, string

Values

int string Description
0(NoneLine) "none" The separator will not be drawn
1(SolidLine) "solid" Solid line as a separator
2(DashedLine) "dashed" Dashed line as a separator
3(DottedLine) "dotted" Dotted line as a separator
4(DoubleLine) "double" Double line as a separator

"width"

Line width

Constant: Width

Types: SizeUnit, string

Internal type is SizeUnit, other types converted to it during assignment

See SizeUnit description for more details