Skip to content

Commit 90f8048

Browse files
committed
fix add to docs explanation of negative y-axis in coordinates #10
1 parent 74a56ca commit 90f8048

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/scala/introprog/PixelWindow.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ object PixelWindow:
9696
case _ =>
9797
throw new IllegalArgumentException(s"Unknown event number: $event")
9898

99-
/** A window with a canvas for pixel-based drawing.
99+
/** A window with a canvas for pixel-based drawing. Y-coordinates are increasing downwards.
100100
*
101101
* @constructor Create a new window for pixel-based drawing.
102102
* @param width the number of horizontal pixels

0 commit comments

Comments
 (0)