Skip to content

Commit

Permalink
Use DrawableColor instead.
Browse files Browse the repository at this point in the history
  • Loading branch information
dlemstra committed Dec 18, 2023
1 parent 7b132e1 commit 999f477
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public void ShouldBeUsedWhenExtendingTheImage()
image.Settings.FillColor = MagickColors.Beige;
image.Settings.BorderColor = MagickColors.MediumTurquoise;
image.Extent(20, 20, Gravity.Center, MagickColors.Aqua);
image.Draw(new DrawableAlpha(0, 0, PaintMethod.FillToBorder));
image.Draw(new DrawableColor(0, 0, PaintMethod.FillToBorder));

ColorAssert.Equal(MagickColors.Beige, image, 0, 0);
ColorAssert.Equal(MagickColors.MediumTurquoise, image, 10, 10);
Expand Down

0 comments on commit 999f477

Please sign in to comment.