summaryrefslogtreecommitdiff
path: root/dmagick
diff options
context:
space:
mode:
authorMike Wey2011-10-16 19:18:55 +0200
committerMike Wey2011-10-16 19:18:55 +0200
commit20aceb391b4ba13d9f670cefa62066ab2ab5b90a (patch)
treeb375fbc59239cbd6c81c7be201d272447fcec834 /dmagick
parentc9bc467b818f77e52a1302a01c8178d446755d77 (diff)
Add a drawing example.
Diffstat (limited to 'dmagick')
-rw-r--r--dmagick/DrawingContext.d4
1 files changed, 2 insertions, 2 deletions
diff --git a/dmagick/DrawingContext.d b/dmagick/DrawingContext.d
index 64da7dc..a4daa59 100644
--- a/dmagick/DrawingContext.d
+++ b/dmagick/DrawingContext.d
@@ -1033,13 +1033,13 @@ struct Gradient
* Define a linear gradient.
*
* Params:
- * size = The height or with of the gradient.
* startColor = The starting Color.
* endColor = The end Color.
+ * size = The height or with of the gradient.
* Direction = Determines is the gradient fades from top to bottom
* or from left to right.
*/
- this(size_t size, Color startColor, Color endColor, GradientDirection direction = GradientDirection.Vertical)
+ this(Color startColor, Color endColor, size_t size, GradientDirection direction = GradientDirection.Vertical)
{
currentCount = count++;