--- !ruby/object:RI::ClassDescription 
attributes: 
- !ruby/object:RI::Attribute 
  comment: 
  - !ruby/struct:SM::Flow::P 
    body: The Image associated with this Palette
  name: image
  rw: R
class_methods: []

comment: 
- !ruby/struct:SM::Flow::H 
  level: 1
  text: Description
- !ruby/struct:SM::Flow::P 
  body: Palette objects are associated with an Image and hold the selection of pixel colors available to the Image. This is primarily a concern for Image::IndexedColor images, but their use with Image::TrueColor images is supported for consistency.
- !ruby/struct:SM::Flow::H 
  level: 2
  text: Obtaining
- !ruby/struct:SM::Flow::P 
  body: "Obtain a Palette object from the associated Image:"
- !ruby/struct:SM::Flow::VERB 
  body: "  palette = image.palette\n"
constants: []

full_name: GD2::Palette
includes: []

instance_methods: 
- !ruby/object:RI::MethodSummary 
  name: "<<"
- !ruby/object:RI::MethodSummary 
  name: "[]"
- !ruby/object:RI::MethodSummary 
  name: "[]="
- !ruby/object:RI::MethodSummary 
  name: allocate
- !ruby/object:RI::MethodSummary 
  name: available
- !ruby/object:RI::MethodSummary 
  name: closest
- !ruby/object:RI::MethodSummary 
  name: closest_hwb
- !ruby/object:RI::MethodSummary 
  name: deallocate
- !ruby/object:RI::MethodSummary 
  name: deallocate_unused
- !ruby/object:RI::MethodSummary 
  name: exact
- !ruby/object:RI::MethodSummary 
  name: exact!
- !ruby/object:RI::MethodSummary 
  name: length
- !ruby/object:RI::MethodSummary 
  name: resolve
- !ruby/object:RI::MethodSummary 
  name: size
- !ruby/object:RI::MethodSummary 
  name: used
name: Palette
superclass: Object
