Class TextureBrush

Class TextureBrush

Nazwa przestrzeń: Aspose.Imaging.Brushes Zgromadzenie: Aspose.Imaging.dll (25.4.0)

Każda właściwość klasy Aspose.Imaging.Brushes.Texture Brush to obiekt Wl17.brush, który używa obrazu do wypełnienia wnętrza kształtu.

[JsonObject(MemberSerialization.OptIn)]
public sealed class TextureBrush : TransformBrush, IDisposable

Inheritance

object DisposableObject Brush TransformBrush TextureBrush

Implements

IDisposable

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.Obiekt obrazu, z którymi ten obiekt WR17.Brushes.TextureBush wypełnia wnętrza.

destinationRectangle Rectangle

Struktura Aspose.Imaging.Rectangle, która reprezentuje obwodowy rektangl dla tego przedmiotu _www.brushes.TextureBrush.

imageAttributes ImageAttributes

Obiekt Aspose.Imaging.ImageAttributes, który zawiera dodatkowe informacje na temat obrazu wykorzystywanego przez ten obiektowy _www.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.Obiekt obrazu, z którymi ten obiekt WR17.Brushes.TextureBush wypełnia wnętrza.

destinationRectangle Rectangle

Struktura Aspose.Imaging.Rectangle, która reprezentuje obwodowy rektangl dla tego przedmiotu _www.brushes.TextureBrush.

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.Obiekt obrazu, z którymi ten obiekt WR17.Brushes.TextureBush wypełnia wnętrza.

destinationRectangle RectangleF

Struktura Aspose.Imaging.RectangleF reprezentująca obwodowy rektangl tego przedmiotu _www.brushes.TextureBrush.

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.Obiekt obrazu, z którymi ten obiekt WR17.Brushes.TextureBush wypełnia wnętrza.

wrapMode WrapMode

Wykaz Aspose.Imaging.WrapMode, który określa, w jaki sposób jest to obiekt Wl17.Brushes.Texture.

destinationRectangle Rectangle

Struktura Aspose.Imaging.Rectangle, która reprezentuje obwodowy rektangl dla tego przedmiotu _www.brushes.TextureBrush.

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.Obiekt obrazu, z którymi ten obiekt WR17.Brushes.TextureBush wypełnia wnętrza.

wrapMode WrapMode

Wykaz Aspose.Imaging.WrapMode, który określa, w jaki sposób jest to obiekt Wl17.Brushes.Texture.

destinationRectangle RectangleF

Struktura Aspose.Imaging.RectangleF reprezentująca obwodowy rektangl tego przedmiotu _www.brushes.TextureBrush.

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.Obiekt obrazu, z którymi ten obiekt WR17.Brushes.TextureBush wypełnia wnętrza.

wrapMode WrapMode

Wykaz Aspose.Imaging.WrapMode, który określa, w jaki sposób jest to obiekt Wl17.Brushes.Texture.

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.Obiekt obrazu, z którymi ten obiekt WR17.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.Obiekt obrazu, z którymi ten obiekt WR17.Brushes.TextureBush wypełnia wnętrza.

destinationRectangle RectangleF

Struktura Aspose.Imaging.RectangleF reprezentująca obwodowy rektangl tego przedmiotu _www.brushes.TextureBrush.

imageAttributes ImageAttributes

Obiekt Aspose.Imaging.ImageAttributes, który zawiera dodatkowe informacje na temat obrazu wykorzystywanego przez ten obiektowy _www.brushes.TextureBrush.

Properties

Image

Otrzymuje Aspose.Imaging.Obiekt obrazu połączony z tym obiektem Wl17.Brushes.Texture.

public Image Image { get; }

Wartość nieruchomości

Image

ImageAttributes

Otrzymuje Aspose.Imaging.Brushes.Texture Brush.ImageAttributes powiązane z tym Wl17.Brusze.

public ImageAttributes ImageAttributes { get; }

Wartość nieruchomości

ImageAttributes

ImageRectangle

Otrzymuje Aspose.Imaging.Rectangle powiązane z tym Wl17.brushes.TextureBrush.

public RectangleF ImageRectangle { get; }

Wartość nieruchomości

RectangleF

Methods

ReleaseManagedResources()

Upewnij się, że nie zarządzane zasoby nie są tutaj uwalniane, ponieważ mogą być już uwalniane.

protected override void ReleaseManagedResources()
 Polski