class

Godot::StyleBox

Inherits Godot::Resource < Godot::RefCounted < Godot::Object < Reference < Object

Constructors

new(pointer : Pointer(Void) = Pointer(Void).null)
Source

Instance methods

content_margin_bottom

Property content_margin_bottom getter

Source
content_margin_bottom=(val : Number)

Property content_margin_bottom setter

Source
content_margin_left

Property content_margin_left getter

Source
content_margin_left=(val : Number)

Property content_margin_left setter

Source
content_margin_right

Property content_margin_right getter

Source
content_margin_right=(val : Number)

Property content_margin_right setter

Source
content_margin_top

Property content_margin_top getter

Source
content_margin_top=(val : Number)

Property content_margin_top setter

Source
draw(canvas_item : Int64, rect : Rect2) : Void
Source
get_content_margin(margin : Int64) : Float64
Source
get_current_item_drawn
Source
get_margin(margin : Int64) : Float64
Source
get_minimum_size
Source
get_offset
Source
set_content_margin(margin : Int64, offset : Float64) : Void
Source
set_content_margin_all(offset : Float64) : Void
Source
test_mask(point : Vector2, rect : Rect2) : Bool
Source