We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6c261b2 commit cbe289dCopy full SHA for cbe289d
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(val red: Double, val green: Double, val blue: Double, val 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