Skip to content

Commit 9269ea9

Browse files
committed
typeos
1 parent e7f368f commit 9269ea9

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/ImageSharp.Drawing/Processing/ImageBrush.cs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ public class ImageBrush : Brush
2222
private readonly RectangleF region;
2323

2424
/// <summary>
25-
/// The an offet to apply to the source image while applying the imagebrush
25+
/// The offet to apply to the source image while applying the imagebrush
2626
/// </summary>
27-
private readonly Point offet;
27+
private readonly Point offset;
2828

2929
/// <summary>
3030
/// Initializes a new instance of the <see cref="ImageBrush"/> class.
@@ -68,14 +68,14 @@ internal ImageBrush(Image image, RectangleF region)
6868
/// The region of interest.
6969
/// This overrides any region used to initialize the brush applicator.
7070
/// </param>
71-
/// <param name="offet">
71+
/// <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 offet)
74+
internal ImageBrush(Image image, RectangleF region, Point offset)
7575
{
7676
this.image = image;
7777
this.region = RectangleF.Intersect(image.Bounds, region);
78-
this.offet = offet;
78+
this.offset = offset;
7979
}
8080

8181
/// <inheritdoc />
@@ -101,11 +101,11 @@ public override BrushApplicator<TPixel> CreateApplicator<TPixel>(
101101
{
102102
if (this.image is Image<TPixel> specificImage)
103103
{
104-
return new ImageBrushApplicator<TPixel>(configuration, options, source, specificImage, region, this.region, this.offet, false);
104+
return new ImageBrushApplicator<TPixel>(configuration, options, source, specificImage, region, this.region, this.offset, false);
105105
}
106106

107107
specificImage = this.image.CloneAs<TPixel>();
108-
return new ImageBrushApplicator<TPixel>(configuration, options, source, specificImage, region, this.region, this.offet, true);
108+
return new ImageBrushApplicator<TPixel>(configuration, options, source, specificImage, region, this.region, this.offset, true);
109109
}
110110

111111
/// <summary>

0 commit comments

Comments
 (0)