StyleBoxLine

Inherits: StyleBox < Resource < Reference < Object

StyleBox that displays a single line.

Description

StyleBox that displays a single line of a given color and thickness. It can be used to draw things like separators.

Properties

ColorcolorColor( 0, 0, 0, 1 )
floatgrow_begin1.0
floatgrow_end1.0
intthickness1
boolverticalfalse

Property Descriptions

DefaultColor( 0, 0, 0, 1 )
Setterset_color(value)
Getterget_color()

The line’s color.


Default1.0
Setterset_grow_begin(value)
Getterget_grow_begin()

The number of pixels the line will extend before the StyleBoxLine‘s bounds. If set to a negative value, the line will begin inside the StyleBoxLine‘s bounds.


Default1.0
Setterset_grow_end(value)
Getterget_grow_end()

The number of pixels the line will extend past the StyleBoxLine‘s bounds. If set to a negative value, the line will end inside the StyleBoxLine‘s bounds.


Default1
Setterset_thickness(value)
Getterget_thickness()

The line’s thickness in pixels.


Defaultfalse
Setterset_vertical(value)
Getteris_vertical()

If true, the line will be vertical. If false, the line will be horizontal.