diff options
Diffstat (limited to 'dmagick/DrawingContext.d')
| -rw-r--r-- | dmagick/DrawingContext.d | 4 |
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++; |
