<PackageReference Include="System.Drawing.Common" Version="11.0.0-preview.2.26159.112" />

System.Drawing.TextureBrush

public sealed class TextureBrush : Brush
Each property of the TextureBrush class is a Brush object that uses an image to fill the interior of a shape. This class cannot be inherited.
namespace System.Drawing { public sealed class TextureBrush : Brush { public Image Image { get; } public Matrix Transform { get; set; } public WrapMode WrapMode { get; set; } public TextureBrush(Image bitmap); public TextureBrush(Image image, WrapMode wrapMode); public TextureBrush(Image image, WrapMode wrapMode, Rectangle dstRect); public TextureBrush(Image image, WrapMode wrapMode, RectangleF dstRect); public TextureBrush(Image image, Rectangle dstRect); public TextureBrush(Image image, Rectangle dstRect, ImageAttributes imageAttr); public TextureBrush(Image image, RectangleF dstRect); public TextureBrush(Image image, RectangleF dstRect, ImageAttributes imageAttr); public void MultiplyTransform(Matrix matrix); public void MultiplyTransform(Matrix matrix, MatrixOrder order); public void ResetTransform(); public void RotateTransform(float angle); public void RotateTransform(float angle, MatrixOrder order); public void ScaleTransform(float sx, float sy); public void ScaleTransform(float sx, float sy, MatrixOrder order); public void TranslateTransform(float dx, float dy); public void TranslateTransform(float dx, float dy, MatrixOrder order); } }