PrismatIQ::PaletteEntry
Inherits YAML::Serializable < JSON::Serializable < Struct < Value < Object
Constructors
new(rgb : RGB, count : Int32, percent : Float64)
new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
new(pull : JSON::PullParser)
new(*, __pull_for_json_serializable pull : JSON::PullParser)
new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)
Instance methods
count
count=(count : Int32)
percent
percent=(percent : Float64)
rgb
rgb=(rgb : RGB)