Documentation
¶
Overview ¶
Package LabelSettings provides methods for working with LabelSettings object instances.
Index ¶
- type Advanced
- type Any
- type Instance
- func (self Instance) AsLabelSettings() Instance
- func (self Instance) AsObject() [1]gd.Object
- func (self Instance) AsRefCounted() [1]gd.RefCounted
- func (self Instance) AsResource() Resource.Instance
- func (self Instance) Font() [1]gdclass.Font
- func (self Instance) FontColor() Color.RGBA
- func (self Instance) FontSize() int
- func (self Instance) LineSpacing() Float.X
- func (self Instance) OutlineColor() Color.RGBA
- func (self Instance) OutlineSize() int
- func (self Instance) SetFont(value [1]gdclass.Font)
- func (self Instance) SetFontColor(value Color.RGBA)
- func (self Instance) SetFontSize(value int)
- func (self Instance) SetLineSpacing(value Float.X)
- func (self Instance) SetOutlineColor(value Color.RGBA)
- func (self Instance) SetOutlineSize(value int)
- func (self Instance) SetShadowColor(value Color.RGBA)
- func (self Instance) SetShadowOffset(value Vector2.XY)
- func (self Instance) SetShadowSize(value int)
- func (self Instance) ShadowColor() Color.RGBA
- func (self Instance) ShadowOffset() Vector2.XY
- func (self Instance) ShadowSize() int
- func (self *Instance) UnsafePointer() unsafe.Pointer
- func (self Instance) Virtual(name string) reflect.Value
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Advanced ¶
type Advanced = class
Advanced exposes a 1:1 low-level instance of the class, undocumented, for those who know what they are doing.
type Instance ¶
type Instance [1]gdclass.LabelSettings
[LabelSettings] is a resource that provides common settings to customize the text in a [Label]. It will take priority over the properties defined in [member Control.theme]. The resource can be shared between multiple labels and changed on the fly, so it's convenient and flexible way to setup text style.
var Nil Instance
Nil is a nil/null instance of the class. Equivalent to the zero value.
func (Instance) AsLabelSettings ¶
func (Instance) AsRefCounted ¶
func (self Instance) AsRefCounted() [1]gd.RefCounted
func (Instance) AsResource ¶
func (Instance) LineSpacing ¶
func (Instance) OutlineColor ¶
func (Instance) OutlineSize ¶
func (Instance) SetFontColor ¶
func (Instance) SetFontSize ¶
func (Instance) SetLineSpacing ¶
func (Instance) SetOutlineColor ¶
func (Instance) SetOutlineSize ¶
func (Instance) SetShadowColor ¶
func (Instance) SetShadowOffset ¶
func (Instance) SetShadowSize ¶
func (Instance) ShadowColor ¶
func (Instance) ShadowOffset ¶
func (Instance) ShadowSize ¶
func (*Instance) UnsafePointer ¶
Click to show internal directories.
Click to hide internal directories.