Color::Palette::Schema - requirements for a palette


Color-Palette documentation  | view source Contained in the Color-Palette distribution.

Index


NAME

Top

Color::Palette::Schema - requirements for a palette

VERSION

Top

version 0.091400

DESCRIPTION

Top

Most of this is documented in Color::Palette. Below is just a bit more documentation.

ATTRIBUTES

Top

required_colors

This is an arrayref of color names that must be present in any palette checked against this schema.

METHODS

Top

check

    $schema->check($palette);

This method will throw an exception if the given palette doesn't meet the requirements of the schema.

AUTHOR

Top

  Ricardo SIGNES <rjbs@cpan.org>

COPYRIGHT AND LICENSE

Top


Color-Palette documentation  | view source Contained in the Color-Palette distribution.