JUCE  v5.4.1-191-g0ab5e696f
JUCE API
Looking for a senior C++ dev?
I'm looking for work. Hire me!
juce::OSCColour Struct Reference

Holds a 32-bit RGBA colour for passing to and from an OSCArgument. More...

#include <juce_OSCTypes.h>

Collaboration diagram for juce::OSCColour:

Public Member Functions

uint32 toInt32 () const
 

Static Public Member Functions

static OSCColour fromInt32 (uint32)
 

Public Attributes

uint8 alpha
 
uint8 blue
 
uint8 green
 
uint8 red
 

Detailed Description

Holds a 32-bit RGBA colour for passing to and from an OSCArgument.

See also
OSCArgument, OSCTypes::colour {OSC}

Member Function Documentation

◆ fromInt32()

static OSCColour juce::OSCColour::fromInt32 ( uint32  )
static

◆ toInt32()

uint32 juce::OSCColour::toInt32 ( ) const

Member Data Documentation

◆ alpha

uint8 juce::OSCColour::alpha

◆ blue

uint8 juce::OSCColour::blue

◆ green

uint8 juce::OSCColour::green

◆ red

uint8 juce::OSCColour::red

The documentation for this struct was generated from the following file: