layer.invert < number>
Inverts the color of a layer. Invert is defined with a number between 0 and 100. The invert property inverts all colors and brightness values of a layer. Setting invert to 100 on a colored layer replaces all hues with their complementary colors. The default value is 0.
译:反转一层的颜色。 反转定义0和100之间的一个数字。倒置层的属性颠倒所有颜色和亮度值。彩色层上反转设置为100将用其互补色替换所有色相。默认值为
layerA = new Layer
layerA.invert = 100