@Beta(2020, 6) open static fun create(color: Int): ColorValue!
Creates ColorValue object wrapping color value.
color
- Int: Color value to be wrapped
Return
ColorValue!: ColorValue wrapping boolean value.
@Beta(2020, 6) open static fun create(red: Int, green: Int, blue: Int, alpha: Int): ColorValue!
Creates ColorValue object wrapping color value.
red
- Int: The red component of the color.
green
- Int: The green component of the color.
blue
- Int: The blue component of the color.
alpha
- Int: The alpha component of the color.
Return
ColorValue!: ColorValue wrapping boolean value.