Class TextureBrush
اسم الفضاء : Aspose.Imaging.Brushes تجميع: Aspose.Imaging.dll (25.4.0)
كل صفة من فئة Aspose.Imaging.Brushes.TextureBrush هي كائن Aspose.Imaging.Brush الذي يستخدم صورة لملء الداخلي لشكل.
[JsonObject(MemberSerialization.OptIn)]
public sealed class TextureBrush : TransformBrush, IDisposable
Inheritance
object ← DisposableObject ← Brush ← TransformBrush ← TextureBrush
Implements
الأعضاء الموروثين
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(الصورة , الصورة , الصورة)
يبدأ مثالًا جديدًا من فئة Aspose.Imaging.Brushes.TextureBrush التي تستخدم الصورة المحددة ، والمنحنيات المستقيمة ، وأصول الصورة.
public TextureBrush(Image image, Rectangle destinationRectangle, ImageAttributes imageAttributes)
Parameters
image
Image
الكائن Aspose.Imaging.Image الذي هذا الكائن Aspose.Imaging.Brushes.TextureBrush يملأ الداخلية.
destinationRectangle
Rectangle
هيكل Aspose.Imaging.Rectangle الذي يمثل المستطيل الحدودي لهذا الكائن Aspose.Imaging.Brushes.TextureBrush.
imageAttributes
ImageAttributes
يحتوي Aspose.Imaging.ImageAttributes على كائن يحتوي على معلومات إضافية عن الصورة المستخدمة من قبل هذا الكائن Aspose.Imaging.Brushes.TextureBrush.
TextureBrush(الصورة , Rectangle)
يبدأ مثالًا جديدًا من فئة Aspose.Imaging.Brushes.TextureBrush التي تستخدم الصورة المحددة والمستطيل الحدودي.
public TextureBrush(Image image, Rectangle destinationRectangle)
Parameters
image
Image
الكائن Aspose.Imaging.Image الذي هذا الكائن Aspose.Imaging.Brushes.TextureBrush يملأ الداخلية.
destinationRectangle
Rectangle
هيكل Aspose.Imaging.Rectangle الذي يمثل المستطيل الحدودي لهذا الكائن Aspose.Imaging.Brushes.TextureBrush.
TextureBrush(الصورة، RectangleF)
يبدأ مثالًا جديدًا من فئة Aspose.Imaging.Brushes.TextureBrush التي تستخدم الصورة المحددة والمستطيل الحدودي.
public TextureBrush(Image image, RectangleF destinationRectangle)
Parameters
image
Image
الكائن Aspose.Imaging.Image الذي هذا الكائن Aspose.Imaging.Brushes.TextureBrush يملأ الداخلية.
destinationRectangle
RectangleF
هيكل Aspose.Imaging.RectangleF الذي يمثل المستطيل الحدودي لهذا الكائن Aspose.Imaging.Brushes.TextureBrush.
TextureBrush(الصورة، WrapMode، Rectangle)
يبدأ مثالًا جديدًا من فئة Aspose.Imaging.Brushes.TextureBrush التي تستخدم الصورة المحددة ، ووضع الحفر ، والمنحنى الحدودي.
public TextureBrush(Image image, WrapMode wrapMode, Rectangle destinationRectangle)
Parameters
image
Image
الكائن Aspose.Imaging.Image الذي هذا الكائن Aspose.Imaging.Brushes.TextureBrush يملأ الداخلية.
wrapMode
WrapMode
قائمة Aspose.Imaging.WrapMode التي تحدد كيفية تصفية هذا الكائن Aspose.Imaging.Brushes.TextureBrush.
destinationRectangle
Rectangle
هيكل Aspose.Imaging.Rectangle الذي يمثل المستطيل الحدودي لهذا الكائن Aspose.Imaging.Brushes.TextureBrush.
TextureBrush(صورة, WrapMode, RectangleF)
يبدأ مثالًا جديدًا من فئة Aspose.Imaging.Brushes.TextureBrush التي تستخدم الصورة المحددة ، ووضع الحفر ، والمنحنى الحدودي.
public TextureBrush(Image image, WrapMode wrapMode, RectangleF destinationRectangle)
Parameters
image
Image
الكائن Aspose.Imaging.Image الذي هذا الكائن Aspose.Imaging.Brushes.TextureBrush يملأ الداخلية.
wrapMode
WrapMode
قائمة Aspose.Imaging.WrapMode التي تحدد كيفية تصفية هذا الكائن Aspose.Imaging.Brushes.TextureBrush.
destinationRectangle
RectangleF
هيكل Aspose.Imaging.RectangleF الذي يمثل المستطيل الحدودي لهذا الكائن Aspose.Imaging.Brushes.TextureBrush.
TextureBrush(صورة , WrapMode)
يبدأ مثالًا جديدًا من فئة Aspose.Imaging.Brushes.TextureBrush التي تستخدم الصورة المحددة ووضع الحفر.
public TextureBrush(Image image, WrapMode wrapMode)
Parameters
image
Image
الكائن Aspose.Imaging.Image الذي هذا الكائن Aspose.Imaging.Brushes.TextureBrush يملأ الداخلية.
wrapMode
WrapMode
قائمة Aspose.Imaging.WrapMode التي تحدد كيفية تصفية هذا الكائن Aspose.Imaging.Brushes.TextureBrush.
TextureBrush(Image)
يبدأ مثالًا جديدًا من فئة Aspose.Imaging.Brushes.TextureBrush التي تستخدم الصورة المحددة.
public TextureBrush(Image image)
Parameters
image
Image
الكائن Aspose.Imaging.Image الذي هذا الكائن Aspose.Imaging.Brushes.TextureBrush يملأ الداخلية.
TextureBrush(صورة, RectangleF, ImageAttributes)
يبدأ مثالًا جديدًا من فئة Aspose.Imaging.Brushes.TextureBrush التي تستخدم الصورة المحددة ، والمنحنيات المستقيمة ، وأصول الصورة.
public TextureBrush(Image image, RectangleF destinationRectangle, ImageAttributes imageAttributes)
Parameters
image
Image
الكائن Aspose.Imaging.Image الذي هذا الكائن Aspose.Imaging.Brushes.TextureBrush يملأ الداخلية.
destinationRectangle
RectangleF
هيكل Aspose.Imaging.RectangleF الذي يمثل المستطيل الحدودي لهذا الكائن Aspose.Imaging.Brushes.TextureBrush.
imageAttributes
ImageAttributes
يحتوي Aspose.Imaging.ImageAttributes على كائن يحتوي على معلومات إضافية عن الصورة المستخدمة من قبل هذا الكائن Aspose.Imaging.Brushes.TextureBrush.
Properties
Image
يحصل على كائن Aspose.Imaging.Image المرتبط بهذا الكائن Aspose.Imaging.Brushes.TextureBrush.
public Image Image { get; }
قيمة الممتلكات
ImageAttributes
احصل على Aspose.Imaging.Brushes.TextureBrush.ImageAttributes المرتبطة بهذا Aspose.Imaging.Brushes.TextureBrush.
public ImageAttributes ImageAttributes { get; }
قيمة الممتلكات
ImageRectangle
احصل على Aspose.Imaging.Rectangle المرتبط بهذا Aspose.Imaging.Brushes.TextureBrush.
public RectangleF ImageRectangle { get; }
قيمة الممتلكات
Methods
ReleaseManagedResources()
تأكد من عدم إطلاق الموارد غير المعالجة هنا، لأنها قد تكون قد تم إطلاقها بالفعل.
protected override void ReleaseManagedResources()