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.