GD2::Palette
Iterate through every color allocated in this palette.
# File lib/gd2/palette.rb, line 198 def each #:yields: color (0...MAX_COLORS).each do |i| color = self[i] yield color unless color.nil? end self end
[Validate]
Generated with the Darkfish Rdoc Generator 2.