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: