From 20aceb391b4ba13d9f670cefa62066ab2ab5b90a Mon Sep 17 00:00:00 2001 From: Mike Wey Date: Sun, 16 Oct 2011 19:18:55 +0200 Subject: Add a drawing example. --- dmagick/DrawingContext.d | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'dmagick') 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++; -- cgit v1.2.3