Ich will es jetzt in JS
This commit is contained in:
@@ -20,5 +20,6 @@ function draw()
|
||||
# Zeichnet einen einzelnen Punkt (Pixel) bei x=200, y=200
|
||||
# Da ein Pixel winzig ist, nutzt man oft ein kleines Rechteck
|
||||
# oder die Point-Funktion.
|
||||
draw(Rect(200, 200, 1, 1), :red, fill=true)
|
||||
draw(Rect((200, 200), (1, 1)), colorant"red", fill=true)
|
||||
|
||||
end
|
||||
Reference in New Issue
Block a user