Class TextureBrush
Namespace: Aspose.Imaging.Brushes
Assembly: Aspose.Imaging.dll (25.2.0)
แต่ละคุณสมบัติของคลาส Aspose.Imaging.Brushes.TextureBrush เป็นวัตถุ Aspose.Imaging.Brush ที่ใช้ภาพในการเติมภายในรูปทรง คลาสนี้ไม่สามารถสืบทอดได้
[JsonObject(MemberSerialization.OptIn)]
public sealed class TextureBrush : TransformBrush, IDisposable
การสืบทอด
object ← DisposableObject ← Brush ← TransformBrush ← TextureBrush
การใช้งาน
สมาชิกที่สืบทอด
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()
ตัวสร้าง
TextureBrush(Image, Rectangle, ImageAttributes)
สร้างอินสแตนซ์ใหม่ของคลาส Aspose.Imaging.Brushes.TextureBrush ที่ใช้ภาพที่ระบุ, สี่เหลี่ยมผืนผ้า, และคุณสมบัติของภาพ
public TextureBrush(Image image, Rectangle destinationRectangle, ImageAttributes imageAttributes)
พารามิเตอร์
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(Image, Rectangle)
สร้างอินสแตนซ์ใหม่ของคลาส Aspose.Imaging.Brushes.TextureBrush ที่ใช้ภาพและสี่เหลี่ยมผืนผ้าที่ระบุ
public TextureBrush(Image image, Rectangle destinationRectangle)
พารามิเตอร์
image
Image
วัตถุ Aspose.Imaging.Image ที่ใช้ในการเติมภายในของวัตถุ Aspose.Imaging.Brushes.TextureBrush นี้
destinationRectangle
Rectangle
โครงสร้าง Aspose.Imaging.Rectangle ที่แสดงถึงสี่เหลี่ยมผืนผ้าสำหรับวัตถุ Aspose.Imaging.Brushes.TextureBrush นี้
TextureBrush(Image, RectangleF)
สร้างอินสแตนซ์ใหม่ของคลาส Aspose.Imaging.Brushes.TextureBrush ที่ใช้ภาพและสี่เหลี่ยมผืนผ้าที่ระบุ
public TextureBrush(Image image, RectangleF destinationRectangle)
พารามิเตอร์
image
Image
วัตถุ Aspose.Imaging.Image ที่ใช้ในการเติมภายในของวัตถุ Aspose.Imaging.Brushes.TextureBrush นี้
destinationRectangle
RectangleF
โครงสร้าง Aspose.Imaging.RectangleF ที่แสดงถึงสี่เหลี่ยมผืนผ้าสำหรับวัตถุ Aspose.Imaging.Brushes.TextureBrush นี้
TextureBrush(Image, WrapMode, Rectangle)
สร้างอินสแตนซ์ใหม่ของคลาส Aspose.Imaging.Brushes.TextureBrush ที่ใช้ภาพ, โหมดการห่อ, และสี่เหลี่ยมผืนผ้าที่ระบุ
public TextureBrush(Image image, WrapMode wrapMode, Rectangle destinationRectangle)
พารามิเตอร์
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(Image, WrapMode, RectangleF)
สร้างอินสแตนซ์ใหม่ของคลาส Aspose.Imaging.Brushes.TextureBrush ที่ใช้ภาพ, โหมดการห่อ, และสี่เหลี่ยมผืนผ้าที่ระบุ
public TextureBrush(Image image, WrapMode wrapMode, RectangleF destinationRectangle)
พารามิเตอร์
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(Image, WrapMode)
สร้างอินสแตนซ์ใหม่ของคลาส Aspose.Imaging.Brushes.TextureBrush ที่ใช้ภาพและโหมดการห่อที่ระบุ
public TextureBrush(Image image, WrapMode wrapMode)
พารามิเตอร์
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)
พารามิเตอร์
image
Image
วัตถุ Aspose.Imaging.Image ที่ใช้ในการเติมภายในของวัตถุ Aspose.Imaging.Brushes.TextureBrush นี้
TextureBrush(Image, RectangleF, ImageAttributes)
สร้างอินสแตนซ์ใหม่ของคลาส Aspose.Imaging.Brushes.TextureBrush ที่ใช้ภาพ, สี่เหลี่ยมผืนผ้า, และคุณสมบัติของภาพที่ระบุ
public TextureBrush(Image image, RectangleF destinationRectangle, ImageAttributes imageAttributes)
พารามิเตอร์
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 นี้
คุณสมบัติ
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; }
ค่าของคุณสมบัติ
วิธีการ
ReleaseManagedResources()
ปล่อยทรัพยากรที่จัดการแล้ว ตรวจสอบให้แน่ใจว่าไม่มีทรัพยากรที่ไม่ได้จัดการถูกปล่อยที่นี่ เนื่องจากอาจถูกปล่อยไปแล้ว
protected override void ReleaseManagedResources()