We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6c261b2 commit eefc04dCopy full SHA for eefc04d
src/main/scala/paperjs/Styling/Color.scala
@@ -27,7 +27,7 @@ trait Gradient extends js.Object {
27
28
@js.native
29
@JSName("paper.Color")
30
-class Color(red: Double, green: Double, blue: Double, alpha: Double) extends js.Object {
+class Color(var red: Double, var green: Double, var blue: Double, var alpha: Double) extends js.Object {
31
def this(gray: Double, alpha: Double) = this(0,0,0,0)
32
def this(gradient: Gradient, origin: Point, destination: Point,
33
highlight: Point = Point(0,0)) = this(0,0,0,0)
0 commit comments