S or /

SourceClass HsvaGamma

from egui import HsvaGamma
class HsvaGamma:

Like Hsva but with the v value (brightness) being gamma corrected so that it is somewhat perceptually even.

Properties§

@property def a(self, /) -> float§
@a.setter def a(self, /, a: float) -> None§
@property def h(self, /) -> float§
@h.setter def h(self, /, h: float) -> None§
@property def s(self, /) -> float§
@s.setter def s(self, /, s: float) -> None§
@property def v(self, /) -> float§
@v.setter def v(self, /, v: float) -> None§

Methods§

@staticmethod def default() -> HsvaGamma§
@staticmethod def from_color32(color: Color32) -> HsvaGamma§
@staticmethod def from_hsva(hsva: Hsva) -> HsvaGamma§
@staticmethod def from_rgba(rgba: Rgba) -> HsvaGamma§
def to_color32(self, /) -> Color32§
def to_hsva(self, /) -> Hsva§
def to_rgba(self, /) -> Rgba§