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