Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
osc-crystal
v0.1.1
OSC
BudleElement
Bundle
Client
Decode
Encode
Message
Server
Type
Blob
False
Inf
Midi
RGBA
True
Types
Util
Built with Crystal 1.9.2
2023-10-08 13:05:35 UTC
class
OSC::Type::RGBA
OSC::Type::RGBA
Reference
Object
Defined in:
osc-crystal/type.cr
Constructors
.new
(r : UInt8, g : UInt8, b : UInt8, a : UInt8)
Instance Method Summary
#==
(rgba : RGBA)
#a
: UInt8
#b
: UInt8
#g
: UInt8
#r
: UInt8
Constructor Detail
def self.
new
(r : UInt8, g : UInt8, b : UInt8, a : UInt8)
#
[
View source
]
Instance Method Detail
def
==
(rgba :
RGBA
)
#
[
View source
]
def
a
: UInt8
#
[
View source
]
def
b
: UInt8
#
[
View source
]
def
g
: UInt8
#
[
View source
]
def
r
: UInt8
#
[
View source
]