Class TextureBrush
Nazwa przestrzeń: Aspose.Imaging.Brushes Zgromadzenie: Aspose.Imaging.dll (25.5.0)
Każda właściwość klasy Aspose.Imaging.Brushes.Texture Brush to obiekt Asposa.Imaging.brush, który wykorzystuje obraz do wypełnienia wnętrza kształtu.
[JsonObject(MemberSerialization.OptIn)]
public sealed class TextureBrush : TransformBrush, IDisposable
Inheritance
object ← DisposableObject ← Brush ← TransformBrush ← TextureBrush
Implements
Dziedziczeni członkowie
TransformBrush.ResetTransform() , TransformBrush.MultiplyTransform(Matrix) , TransformBrush.MultiplyTransform(Matrix, MatrixOrder) , TransformBrush.TranslateTransform(float, float) , TransformBrush.TranslateTransform(float, float, MatrixOrder) , TransformBrush.ScaleTransform(float, float) , TransformBrush.ScaleTransform(float, float, MatrixOrder) , TransformBrush.RotateTransform(float) , TransformBrush.RotateTransform(float, MatrixOrder) , TransformBrush.WrapMode , TransformBrush.Transform , TransformBrush.IsTransformChanged , Brush.DeepClone() , Brush.Equals(object) , Brush.GetHashCode() , Brush.Opacity , DisposableObject.Dispose() , DisposableObject.Disposed , object.GetType() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Constructors
TextureBrush(Zdjęcie, Rectangle, ImageAttributes)
Inicjalizuje nową instancję klasy Aspose.Imaging.Brushes.TextureBush, która wykorzystuje określone obrazy, graniczące rektangle i atrybuty obrazu.
public TextureBrush(Image image, Rectangle destinationRectangle, ImageAttributes imageAttributes)
Parameters
image
Image
Obiekt Aspose.Imaging.Image, z którymi ten obiekt Asposa.imaging.Brushes.TextureBush wypełnia wnętrza.
destinationRectangle
Rectangle
Struktura Aspose.Imaging.Rectangle, która reprezentuje obręczy rektanglu dla tego Obiekt Asposa.Imaging.Brushes.Texture.
imageAttributes
ImageAttributes
Aspose.Imaging.ImageAttributes obiekt, który zawiera dodatkowe informacje na temat obrazu wykorzystywanego przez ten obiekt Aspos.imaging.brushes.TextureBrush.
TextureBrush(Zdjęcie, Rectangle)
Inicjalizuje nową instancję klasy Aspose.Imaging.Brushes.TextureBush, która wykorzystuje określony obraz i rektangulę graniczną.
public TextureBrush(Image image, Rectangle destinationRectangle)
Parameters
image
Image
Obiekt Aspose.Imaging.Image, z którymi ten obiekt Asposa.imaging.Brushes.TextureBush wypełnia wnętrza.
destinationRectangle
Rectangle
Struktura Aspose.Imaging.Rectangle, która reprezentuje obręczy rektanglu dla tego Obiekt Asposa.Imaging.Brushes.Texture.
TextureBrush(Zdjęcie, RectangleF)
Inicjalizuje nową instancję klasy Aspose.Imaging.Brushes.TextureBush, która wykorzystuje określony obraz i rektangulę graniczną.
public TextureBrush(Image image, RectangleF destinationRectangle)
Parameters
image
Image
Obiekt Aspose.Imaging.Image, z którymi ten obiekt Asposa.imaging.Brushes.TextureBush wypełnia wnętrza.
destinationRectangle
RectangleF
Struktura Aspose.Imaging.RectangleF, która reprezentuje rektangulę graniczną tego obiektu Asposa.Imaging.Brushes.Texture.
TextureBrush(Zdjęcie, WrapMode, Rectangle)
Inicjalizuje nową instancję klasy Aspose.Imaging.Brushes.TextureBush, która wykorzystuje określony obraz, tryb wklejania i obwodowy rektangul.
public TextureBrush(Image image, WrapMode wrapMode, Rectangle destinationRectangle)
Parameters
image
Image
Obiekt Aspose.Imaging.Image, z którymi ten obiekt Asposa.imaging.Brushes.TextureBush wypełnia wnętrza.
wrapMode
WrapMode
Lista Aspose.Imaging.WrapMode, która określa, w jaki sposób ten obiekt Asposa.Imaging.Brushes.TextureBush jest ułożony.
destinationRectangle
Rectangle
Struktura Aspose.Imaging.Rectangle, która reprezentuje obręczy rektanglu dla tego Obiekt Asposa.Imaging.Brushes.Texture.
TextureBrush(Zdjęcie, WrapMode, RectangleF)
Inicjalizuje nową instancję klasy Aspose.Imaging.Brushes.TextureBush, która wykorzystuje określony obraz, tryb wklejania i obwodowy rektangul.
public TextureBrush(Image image, WrapMode wrapMode, RectangleF destinationRectangle)
Parameters
image
Image
Obiekt Aspose.Imaging.Image, z którymi ten obiekt Asposa.imaging.Brushes.TextureBush wypełnia wnętrza.
wrapMode
WrapMode
Lista Aspose.Imaging.WrapMode, która określa, w jaki sposób ten obiekt Asposa.Imaging.Brushes.TextureBush jest ułożony.
destinationRectangle
RectangleF
Struktura Aspose.Imaging.RectangleF, która reprezentuje rektangulę graniczną tego obiektu Asposa.Imaging.Brushes.Texture.
TextureBrush(Zdjęcie, WrapMode)
Inicjalizuje nową instancję klasy Aspose.Imaging.Brushes.Texture, która wykorzystuje określony tryb obrazu i wkładu.
public TextureBrush(Image image, WrapMode wrapMode)
Parameters
image
Image
Obiekt Aspose.Imaging.Image, z którymi ten obiekt Asposa.imaging.Brushes.TextureBush wypełnia wnętrza.
wrapMode
WrapMode
Lista Aspose.Imaging.WrapMode, która określa, w jaki sposób ten obiekt Asposa.Imaging.Brushes.TextureBush jest ułożony.
TextureBrush(Image)
Inicjalizuje nową instancję klasy Aspose.Imaging.Brushes.Texture Brush, która wykorzystuje określony obraz.
public TextureBrush(Image image)
Parameters
image
Image
Obiekt Aspose.Imaging.Image, z którymi ten obiekt Asposa.imaging.Brushes.TextureBush wypełnia wnętrza.
TextureBrush(Zdjęcie, RectangleF, ImageAttributes)
Inicjalizuje nową instancję klasy Aspose.Imaging.Brushes.TextureBush, która wykorzystuje określone obrazy, graniczące rektangle i atrybuty obrazu.
public TextureBrush(Image image, RectangleF destinationRectangle, ImageAttributes imageAttributes)
Parameters
image
Image
Obiekt Aspose.Imaging.Image, z którymi ten obiekt Asposa.imaging.Brushes.TextureBush wypełnia wnętrza.
destinationRectangle
RectangleF
Struktura Aspose.Imaging.RectangleF, która reprezentuje rektangulę graniczną tego obiektu Asposa.Imaging.Brushes.Texture.
imageAttributes
ImageAttributes
Aspose.Imaging.ImageAttributes obiekt, który zawiera dodatkowe informacje na temat obrazu wykorzystywanego przez ten obiekt Aspos.imaging.brushes.TextureBrush.
Properties
Image
Otrzymasz obiekt Aspose.Imaging.Image powiązany z tym obiektem Asposa.Mimage.Brushes.Texture.
public Image Image { get; }
Wartość nieruchomości
ImageAttributes
Otrzymuje Aspose.Imaging.Brushes.Texturebrush.ImageAttributes powiązane z tym Asposem.Wyobraźniającym się brushami.
public ImageAttributes ImageAttributes { get; }
Wartość nieruchomości
ImageRectangle
Otrzymuje Aspose.Imaging.Rectangle powiązane z tym Asposem.Imaging.Brushes.Texturebrush.
public RectangleF ImageRectangle { get; }
Wartość nieruchomości
Methods
ReleaseManagedResources()
Upewnij się, że nie zarządzane zasoby nie są tutaj uwalniane, ponieważ mogą być już uwalniane.
protected override void ReleaseManagedResources()