From bd6089308411a485f1b4fbb9b19de47681e5128c Mon Sep 17 00:00:00 2001 From: Robert Beekman Date: Thu, 1 Jun 2017 09:27:00 +0200 Subject: [PATCH] Updated Drawing (markdown) --- Drawing.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Drawing.md b/Drawing.md index d6ad883..b95217f 100644 --- a/Drawing.md +++ b/Drawing.md @@ -52,6 +52,7 @@ DrawLine(brush brush, double startX, double startY, double endX, double endY, do - **startY:** The Y-position of the starting point of the line - **endX:** The X-position of the end point of the line - **endY:** The Y-position of the end point of the line +- **thickness:** The thickness of the line #### Example: ```lua @@ -61,7 +62,7 @@ local redBrush = Brushes.GetSolidColorBrush(Brushes.GetColor(255, 255, 0, 0)); -- This function will be called after every profile draw. function drawHandler(profile, eventArgs) -- Draw a line from the top left to the bottom left - eventArgs.Drawing.DrawLine(redBrush, 0, 0, 5, 5); + eventArgs.Drawing.DrawLine(redBrush, 0, 0, 5, 5, 1); end -- Subscribe to the event AFTER defining the function which must be subscribed.