Skip to content
This repository has been archived by the owner on Apr 10, 2018. It is now read-only.

Add colorSpace enum property to functions to enable color space aware… #515

Merged
merged 1 commit into from
Oct 5, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions reference/v8.json
Original file line number Diff line number Diff line change
Expand Up @@ -1452,6 +1452,22 @@
},
"doc": "The interpolation strategy to use in function evaluation.",
"default": "exponential"
},
"colorSpace": {
"type": "enum",
"values": {
"rgb": {
"doc": "Use the RGB color space to interpolate color values"
},
"lab": {
"doc": "Use the LAB color space to interpolate color values."
},
"interval": {
"doc": "Use the HCL color space to interpolate color values, interpolating the Hue, Chroma, and Luminance channels individually."
}
},
"doc": "The color space in which colors interpolated. Interpolating colors in perceptual color spaces like LAB and HCL tend to produce color ramps that look more consistent and produce colors that can be differentiated more easily than those interpolated in RGB space.",
"default": "rgb"
}
},
"function_stop": {
Expand Down
Loading