2017-11-13 08:24:36 +00:00
<?xml version="1.0" encoding="UTF-8" ?>
2023-03-01 00:44:37 +00:00
<class name= "StyleBoxLine" inherits= "StyleBox" version= "4.1" xmlns:xsi= "http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation= "../class.xsd" >
2017-11-13 08:24:36 +00:00
<brief_description >
2023-04-30 14:26:09 +00:00
A [StyleBox] that displays a single line of a given color and thickness.
2017-11-13 08:24:36 +00:00
</brief_description>
<description >
2023-04-30 14:26:09 +00:00
A [StyleBox] that displays a single line of a given color and thickness. The line can be either horizontal or vertical. Useful for separators.
2017-11-13 08:24:36 +00:00
</description>
<tutorials >
</tutorials>
<members >
2019-09-24 17:45:03 +00:00
<member name= "color" type= "Color" setter= "set_color" getter= "get_color" default= "Color(0, 0, 0, 1)" >
2019-12-03 14:46:11 +00:00
The line's color.
2017-11-13 08:24:36 +00:00
</member>
2019-06-29 10:38:01 +00:00
<member name= "grow_begin" type= "float" setter= "set_grow_begin" getter= "get_grow_begin" default= "1.0" >
2019-12-03 14:46:11 +00:00
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.
2018-07-26 09:56:21 +00:00
</member>
2019-06-29 10:38:01 +00:00
<member name= "grow_end" type= "float" setter= "set_grow_end" getter= "get_grow_end" default= "1.0" >
2019-12-03 14:46:11 +00:00
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.
2018-01-11 22:38:35 +00:00
</member>
2019-06-29 10:38:01 +00:00
<member name= "thickness" type= "int" setter= "set_thickness" getter= "get_thickness" default= "1" >
2019-12-03 14:46:11 +00:00
The line's thickness in pixels.
2017-11-13 08:24:36 +00:00
</member>
2019-06-29 10:38:01 +00:00
<member name= "vertical" type= "bool" setter= "set_vertical" getter= "is_vertical" default= "false" >
2019-12-03 14:46:11 +00:00
If [code]true[/code], the line will be vertical. If [code]false[/code], the line will be horizontal.
2017-11-13 08:24:36 +00:00
</member>
</members>
</class>