Question
GrayColor
What's the weird logic in ExtendScript's GrayColor definition?
JavaScript Object Reference grayColor.gray description: “The tint of the gray. Range: 0.0 to 100.0, where 0.0 is black and 100.0 is white.”
We know that in Illustrator grayscale 0 is white and vice versa.
If you want to create white fill:
point.fillColor = new GrayColor();
point.fillColor.gray = 0;
