Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
struct
ImGui::ImColor
Inherits
ImGui::StructType
<
Struct
<
Value
<
Object
Constructors
new
(r :
Float32
, g :
Float32
, b :
Float32
, a :
Float32
= 1.0) :
ImColor
Source
new
(r :
Int32
, g :
Int32
, b :
Int32
, a :
Int32
= 255) :
ImColor
Source
new
(col :
ImVec4
) :
ImColor
Source
new
(rgba :
UInt32
) :
ImColor
Source
new
Source
Instance methods
hsv
(h :
Float32
, s :
Float32
, v :
Float32
, a :
Float32
= 1.0) :
ImGui::ImColor
Source
set_hsv
(h :
Float32
, s :
Float32
, v :
Float32
, a :
Float32
= 1.0) :
Void
Source
value
Source
value=
(value :
ImVec4
)
Source