Skip to content

Commit 4d30fd9

Browse files
committed
make constructors public again
1 parent 9269ea9 commit 4d30fd9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ImageSharp.Drawing/Processing/ImageBrush.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public ImageBrush(Image image, Point offset)
5555
/// The region of interest.
5656
/// This overrides any region used to initialize the brush applicator.
5757
/// </param>
58-
internal ImageBrush(Image image, RectangleF region)
58+
public ImageBrush(Image image, RectangleF region)
5959
: this(image, region, Point.Empty)
6060
{
6161
}
@@ -71,7 +71,7 @@ internal ImageBrush(Image image, RectangleF region)
7171
/// <param name="offset">
7272
/// An offset to apply the to image image while drawing apply the texture.
7373
/// </param>
74-
internal ImageBrush(Image image, RectangleF region, Point offset)
74+
public ImageBrush(Image image, RectangleF region, Point offset)
7575
{
7676
this.image = image;
7777
this.region = RectangleF.Intersect(image.Bounds, region);

0 commit comments

Comments
 (0)