We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9419136 commit 98bbb18Copy full SHA for 98bbb18
src/main/scala/introprog/Image.scala
@@ -1,6 +1,6 @@
1
package introprog
2
3
-/** Companion object to create Image instances */
+/** Companion object to create Image instances. */
4
object Image:
5
import java.awt.image.BufferedImage
6
/** Create new empty Image with specified dimensions `(width, height)`*/
@@ -23,7 +23,7 @@ class Image (val underlying: java.awt.image.BufferedImage):
23
for x <- 0 until width; y <- 0 until height do
24
update(x, y, f(x, y))
25
26
- /** Set color of pixels by passing `f(x, y)` and return self*/
+ /** Set color of pixels by passing `f(x, y)` and return self. */
27
def updated(f: (Int, Int) => Color): Image =
28
29
0 commit comments