Attention: Here be dragons
This is the latest
(unstable) version of this documentation, which may document features
not available in or compatible with released stable versions of Godot.
Checking the stable version of the documentation...
StyleBoxLine
繼承: StyleBox < Resource < RefCounted < Object
顯示一條線的 StyleBox,可以給定顏色和粗細。
說明
顯示一條線的 StyleBox,可以給定顏色和粗細。可以是橫線也可以是分隔號。可用作分隔符。
屬性
|
||
|
||
|
||
|
||
|
屬性說明
Color color = Color(0, 0, 0, 1) 🔗
線的顏色。
線將在 StyleBoxLine 的邊界之前延伸的圖元數。如果設定為負值,則該線將從 StyleBoxLine 的邊界內開始。
線將超出 StyleBoxLine 邊界的圖元數。如果設定為負值,則該線將在 StyleBoxLine 的邊界內結束。
線條的粗細(以圖元為單位)。
如果為 true,則該線將是垂直的。如果 false,該線將是水平的。