Skip to content

Commit

Permalink
make constructors public again
Browse files Browse the repository at this point in the history
  • Loading branch information
tocsoft committed Dec 11, 2023
1 parent 9269ea9 commit 4d30fd9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ImageSharp.Drawing/Processing/ImageBrush.cs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public ImageBrush(Image image, Point offset)
/// The region of interest.
/// This overrides any region used to initialize the brush applicator.
/// </param>
internal ImageBrush(Image image, RectangleF region)
public ImageBrush(Image image, RectangleF region)
: this(image, region, Point.Empty)
{
}
Expand All @@ -71,7 +71,7 @@ internal ImageBrush(Image image, RectangleF region)
/// <param name="offset">
/// An offset to apply the to image image while drawing apply the texture.
/// </param>
internal ImageBrush(Image image, RectangleF region, Point offset)
public ImageBrush(Image image, RectangleF region, Point offset)
{
this.image = image;
this.region = RectangleF.Intersect(image.Bounds, region);
Expand Down

0 comments on commit 4d30fd9

Please sign in to comment.