proc initColor*(r, g, b: float32; a: float32 = 1.0'f32): Color {.inline
.}
-
Source
Edit
proc initColor*(): Color {.inline
.}
-
Initializes black color with 1.0 alpha
Source
Edit
proc h*(self: Color): float32 {.importc: "godot_color_get_h"
.}
-
Source
Edit
proc s*(self: Color): float32 {.importc: "godot_color_get_s"
.}
-
Source
Edit
proc v*(self: Color): float32 {.importc: "godot_color_get_v"
.}
-
Source
Edit
proc `$`*(self: Color): string {.inline
.}
-
Source
Edit
proc toHtml*(self: Color; withAlpha: bool): string
-
Source
Edit
proc toARGB32*(self: Color): uint32 {.inline
.}
-
Source
Edit
proc gray*(self: Color): float32 {.importc: "godot_color_gray"
.}
-
Source
Edit
proc inverted*(self: Color): Color {.importc: "godot_color_inverted"
.}
-
Source
Edit
proc contrasted*(self: Color): Color {.importc: "godot_color_contrasted"
.}
-
Source
Edit
proc lerp*(self: Color; b: Color; t: float32): Color {.
importc: "godot_color_linear_interpolate"
.}
-
Source
Edit
proc blend*(self: Color; over: Color): Color {.importc: "godot_color_blend"
.}
-
Source
Edit
proc `==`*(a, b: Color): bool {.inline
.}
-
Source
Edit
proc `<`*(a, b: Color): bool
-
Source
Edit