Debian Codegraph @

doc/classes/StyleBoxLine.xml

raw symbols SCIP
1 <?xml version="1.0" encoding="UTF-8" ?>
2 <class name="StyleBoxLine" inherits="StyleBox" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
3 <brief_description>
4 A [StyleBox] that displays a single line of a given color and thickness.
5 </brief_description>
6 <description>
7 A [StyleBox] that displays a single line of a given color and thickness. The line can be either horizontal or vertical. Useful for separators.
8 </description>
9 <tutorials>
10 </tutorials>
11 <members>
12 <member name="color" type="Color" setter="set_color" getter="get_color" default="Color(0, 0, 0, 1)" keywords="colour">
13 The line's color.
14 </member>
15 <member name="grow_begin" type="float" setter="set_grow_begin" getter="get_grow_begin" default="1.0">
16 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.
17 </member>
18 <member name="grow_end" type="float" setter="set_grow_end" getter="get_grow_end" default="1.0">
19 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.
20 </member>
21 <member name="thickness" type="int" setter="set_thickness" getter="get_thickness" default="1">
22 The line's thickness in pixels.
23 </member>
24 <member name="vertical" type="bool" setter="set_vertical" getter="is_vertical" default="false">
25 If [code]true[/code], the line will be vertical. If [code]false[/code], the line will be horizontal.
26 </member>
27 </members>
28 </class>