GSDL::Slider
Inherits GSDL::Tweenable < Reference < Object
Constructors
new(x : Float32 | Int32 = 0, y : Float32 | Int32 = 0, width : Float32 | Int32 = 200, height : Float32 | Int32 = 20, min_value : Float32 = 0.0_f32, max_value : Float32 = 1.0_f32, value : Float32 = 0.5_f32, handle_size : Float32 | Int32 = 24, orientation : GSDL::Slider::Orientation = Orientation::Horizontal, origin : Tuple(Float32, Float32) = {0_f32, 0_f32}, scale : Tuple(Float32 | Int32, Float32 | Int32) = {1_f32, 1_f32}, on_change : Nil | Float32 -> _ = nil, z_index : Int32 = 0, draw_relative_to_camera : Bool = false)
SourceInstance methods
active?
Sourcebackground_color
Sourcebackground_color=(background_color : Color)
Sourcedraw(draw : GSDL::Draw)
Sourcedraw_relative_to_camera?
Sourceglobal_x
Sourceglobal_y
Sourcehandle_color
Sourcehandle_color=(handle_color : Color)
Sourcehandle_size
Sourcehandle_size=(handle_size : Num)
Sourceheight
Sourceheight=(height : Num)
Sourcemax_value
Sourcemin_value
Sourcenormalized_value
Sourceon_change
Sourceon_change=(on_change : OnChangeCallback | Nil)
Sourceorientation
Sourceorientation=(orientation : Orientation)
Sourceorigin
Sourceorigin_x
Sourceorigin_y
Sourcerender_height
Sourcerender_width
Sourcerender_x
Sourcerender_y
Sourcescale
Sourcescale_x
Sourcescale_x=(scale_x : Num)
Sourcescale_y
Sourcescale_y=(scale_y : Num)
Sourcescreen_x
Sourcescreen_y
Sourcetrack_color
Sourcetrack_color=(track_color : Color)
Sourcetweens
Sourcevalue
Sourcewidth
Sourcewidth=(width : Num)
Sourcex=(x : Num)
Sourcey=(y : Num)
Sourcez_index
Source