From 1cf2a087d5a0412bc2caf81f8c70029b0756139d Mon Sep 17 00:00:00 2001 From: Robert Beekman Date: Tue, 21 Mar 2017 18:26:02 +0100 Subject: [PATCH] Updated Drawing (markdown) --- Drawing.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Drawing.md b/Drawing.md index f6ad0ef..d6ad883 100644 --- a/Drawing.md +++ b/Drawing.md @@ -1,5 +1,5 @@ The Drawing variable lets you draw brushes to the keyboard in different shapes. -To get the Drawing variable you need to subscribe to the [ProfileDrawing](https://github.com/SpoinkyNL/Artemis/wiki/LUA-Events#profiledrawing) event, as shown in the examples paired with each funtion. +To get the Drawing variable you need to subscribe to the [DeviceDrawing](https://github.com/SpoinkyNL/Artemis/wiki/LUA-Events#devicedrawing) event, as shown in the examples paired with each funtion. ## Overview * [DrawEllipse](https://github.com/SpoinkyNL/Artemis/wiki/Drawing#drawellipse) @@ -33,7 +33,7 @@ function drawHandler(profile, eventArgs) end -- Subscribe to the event AFTER defining the function which must be subscribed. -Events.ProfileDrawing.add(drawHandler); +Events.DeviceDrawing.add(drawHandler); ``` #### Result: Drawing the ellipse would look like this: @@ -65,7 +65,7 @@ function drawHandler(profile, eventArgs) end -- Subscribe to the event AFTER defining the function which must be subscribed. -Events.ProfileDrawing.add(drawHandler); +Events.DeviceDrawing.add(drawHandler); ``` #### Result: Drawing the line would look like this: @@ -97,7 +97,7 @@ function drawHandler(profile, eventArgs) end -- Subscribe to the event AFTER defining the function which must be subscribed. -Events.ProfileDrawing.add(drawHandler); +Events.DeviceDrawing.add(drawHandler); ``` #### Result: Drawing the rectangle would look like this: @@ -132,7 +132,7 @@ function drawHandler(profile, eventArgs) end -- Subscribe to the event AFTER defining the function which must be subscribed. -Events.ProfileDrawing.add(drawHandler); +Events.DeviceDrawing.add(drawHandler); ``` #### Result: Drawing the text would look like this: