Class: Color
- Inherits:
-
Object
- Object
- Color
- Defined in:
- lib/eidolon/rgssx/color.rb
Overview
RGSSx
This class is present and consistent across all RGSS versions.
Color
The RGBA color class. Each component is handled with a floating-point value (Float).
Instance Attribute Summary collapse
-
#alpha ⇒ Object
The alpha value (0-255).
-
#blue ⇒ Object
The blue value (0-255).
-
#green ⇒ Object
The green value (0-255).
-
#red ⇒ Object
The red value (0-255).
Instance Attribute Details
#alpha ⇒ Object
The alpha value (0-255).
18 19 20 |
# File 'lib/eidolon/rgssx/color.rb', line 18 def alpha @alpha end |
#blue ⇒ Object
The blue value (0-255).
15 16 17 |
# File 'lib/eidolon/rgssx/color.rb', line 15 def blue @blue end |
#green ⇒ Object
The green value (0-255).
12 13 14 |
# File 'lib/eidolon/rgssx/color.rb', line 12 def green @green end |
#red ⇒ Object
The red value (0-255).
9 10 11 |
# File 'lib/eidolon/rgssx/color.rb', line 9 def red @red end |