struct ImGui::ImColor
- ImGui::ImColor
- Struct
- Value
- Object
Overview
Included Modules
- ImGui::StructType
Defined in:
obj.crtypes.cr
Constructors
- .new(r : Float32, g : Float32, b : Float32, a : Float32 = 1.0) : ImColor
- .new(r : Int32, g : Int32, b : Int32, a : Int32 = 255) : ImColor
- .new(col : ImVec4) : ImColor
- .new(rgba : UInt32) : ImColor
- .new : ImColor
Instance Method Summary
- #hsv(h : Float32, s : Float32, v : Float32, a : Float32 = 1.0) : ImGui::ImColor
- #set_hsv(h : Float32, s : Float32, v : Float32, a : Float32 = 1.0) : Void
- #value : ImVec4
- #value=(value : ImVec4)
Instance methods inherited from module ImGui::StructType
to_unsafe
to_unsafe
Constructor Detail
Instance Method Detail
def set_hsv(h : Float32, s : Float32, v : Float32, a : Float32 = 1.0) : Void
#