Struct StyleBoxLine

StyleBox that displays a single line.

struct StyleBoxLine ;

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

Properties

NameTypeDescription
color[get, set] ColorThe line's color.
growBegin[get, set] doubleThe 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.
growEnd[get, set] doubleThe 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.
thickness[get, set] longThe line's thickness in pixels.
vertical[get, set] boolIf true, the line will be vertical. If false, the line will be horizontal.

Methods

NameDescription
getColor
getGrowBegin
getGrowEnd
getThickness
isVertical
setColor
setGrowBegin
setGrowEnd
setThickness
setVertical