<PackageReference Include="System.Drawing.Common" Version="10.0.0-rc.1.25451.107" />

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.
using System.Drawing.Drawing2D; using System.Drawing.Imaging; using System.Runtime.CompilerServices; namespace System.Drawing { [System.Runtime.CompilerServices.NullableContext(1)] [System.Runtime.CompilerServices.Nullable(0)] public sealed class TextureBrush : Brush { public Image Image { get { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } } public Matrix Transform { get { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } set { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } } public WrapMode WrapMode { get { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } set { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } } public TextureBrush(Image bitmap) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public TextureBrush(Image image, WrapMode wrapMode) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public TextureBrush(Image image, WrapMode wrapMode, Rectangle dstRect) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public TextureBrush(Image image, WrapMode wrapMode, RectangleF dstRect) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public TextureBrush(Image image, Rectangle dstRect) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public TextureBrush(Image image, Rectangle dstRect, [System.Runtime.CompilerServices.Nullable(2)] ImageAttributes imageAttr) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public TextureBrush(Image image, RectangleF dstRect) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public TextureBrush(Image image, RectangleF dstRect, [System.Runtime.CompilerServices.Nullable(2)] ImageAttributes imageAttr) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public override object Clone() { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void MultiplyTransform(Matrix matrix) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void MultiplyTransform(Matrix matrix, MatrixOrder order) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void ResetTransform() { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void RotateTransform(float angle) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void RotateTransform(float angle, MatrixOrder order) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void ScaleTransform(float sx, float sy) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void ScaleTransform(float sx, float sy, MatrixOrder order) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void TranslateTransform(float dx, float dy) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void TranslateTransform(float dx, float dy, MatrixOrder order) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } } }