# RGBAColor

class `RGBAColor`

  Public Functions

  `inline HPS_INLINE bool Equals (RGBAColor const &c, int in_tolerance=32) const`
  `inline HPS_INLINE float Gray () const`
  `inline HPS_INLINE bool IsGray () const`
  `inline HPS_INLINE bool IsValid () const`
  `inline HPS_INLINE bool operator!= (RGBAColor const &c) const`

    Determines RGBA non-equivalency between this object and argument.

    Parameters: | c – The color object to test against
    Returns: | true if the objects are not equivalent, false otherwise

  `inline HPS_INLINE RGBAColor const operator* (float s) const`
  `inline HPS_INLINE RGBAColor const operator* (RGBAColor const &c) const`
  `inline HPS_INLINE RGBAColor const operator* (RGBColor const &c) const`
  `inline HPS_INLINE RGBAColor & operator*= (float s)`
  `inline HPS_INLINE RGBAColor & operator*= (RGBAColor const &c)`
  `inline HPS_INLINE RGBAColor & operator*= (RGBColor const &c)`
  `inline HPS_INLINE RGBAColor const operator+ (float s) const`
  `inline HPS_INLINE RGBAColor const operator+ (RGBAColor const &c) const`
  `inline HPS_INLINE RGBAColor const operator+ (RGBColor const &c) const`
  `inline HPS_INLINE RGBAColor & operator+= (float s)`
  `inline HPS_INLINE RGBAColor & operator+= (RGBAColor const &c)`
  `inline HPS_INLINE RGBAColor & operator+= (RGBColor const &c)`
  `inline HPS_INLINE RGBAColor const operator- (float s) const`
  `inline HPS_INLINE RGBAColor const operator- (RGBAColor const &c) const`
  `inline HPS_INLINE RGBAColor const operator- (RGBColor const &c) const`
  `inline HPS_INLINE RGBAColor & operator-= (float s)`
  `inline HPS_INLINE RGBAColor & operator-= (RGBAColor const &c)`
  `inline HPS_INLINE RGBAColor & operator-= (RGBColor const &c)`
  `inline HPS_INLINE RGBAColor const operator/ (float s) const`
  `inline HPS_INLINE RGBAColor & operator/= (float s)`
  `inline HPS_INLINE bool operator== (RGBAColor const &c) const`

    Determines RGBA equivalency between this object and argument.

    Parameters: | c – The color object to test against
    Returns: | true if the objects are equivalent, false otherwise

  inline HPS_INLINE `RGBAColor`()
  inline explicit HPS_INLINE `RGBAColor`(float gray, float a = 1)
  inline HPS_INLINE `RGBAColor`(float r, float g, float b, float a = 1)
  explicit HPS_INLINE `RGBAColor`(RGBA32Color const &c32)
  explicit HPS_INLINE `RGBAColor`(RGBAS32Color const &c32)
  inline HPS_INLINE `RGBAColor`(RGBColor const &c)
  inline HPS_INLINE `RGBAColor`(RGBColor const &c, float a)

  Public Members

  float `alpha`

    Alpha component of this color object, from 0.0 to 1.0

  float `blue`

    Blue component of this color object, from 0.0 to 1.0

  float `green`

    Green component of this color object, from 0.0 to 1.0

  float `red`

    Red component of this color object, from 0.0 to 1.0

  Public Static Functions

  `static inline HPS_INLINE RGBAColor Black ()`
  `static inline HPS_INLINE RGBAColor Invalid ()`
  `static inline HPS_INLINE RGBAColor Nothing ()`
  `static inline HPS_INLINE RGBAColor White ()`

Conversation saved
HOOPSY BETA

### Hello! I'm HOOPSY

Your Docs generative AI assistant. Ask me anything about HOOPS Visualize Desktop or choose a sample question below to start a conversation:

What is HOOPS Visualize Desktop?
What are the latest release notes for HOOPS Visualize Desktop?
How do I start evaluating HOOPS Visualize Desktop?
How do I write my first sample application?
How can I get assistance?

HOOPSY may store conversations according to OpenAI's policy. Responses may not always be accurate.

HOOPSY is thinking...