Class GradientBrush

Class GradientBrush

İsim alanı : Aspose.Page.EPS Toplama: Aspose.Page.dll (25.4.0)

Bu sınıf, LinearGradientBrush ve PathGradientBrush’ı kapselleştirmek için kullanılır.Yerli gradient fırçalar her zaman bir istisna atar, birisi WrapMode özelliklerini WrapMode.Clamp’a ayarlamaya çalışır.

public class GradientBrush : Brush, ICloneable, IDisposable

Inheritance

object MarshalByRefObject Brush GradientBrush

Implements

ICloneable , IDisposable

mirasçı üyeleri

Brush.Clone() , Brush.SetNativeBrush(nint) , Brush.Dispose() , Brush.Dispose(bool) , MarshalByRefObject.GetLifetimeService() , MarshalByRefObject.InitializeLifetimeService() , MarshalByRefObject.MemberwiseClone(bool) , object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()

Constructors

GradientBrush(Brush)

Yeni bir GradientBrush örneği oluşturur.

LinearGradientBrush veya PathGradientBrush. eğer ArgumentException dışında başka bir şey atılır.

public GradientBrush(Brush nativeBrush)

Parameters

nativeBrush Brush

Properties

Bounds

Geri döner veya bu gradient fırçalar için sınırları belirler.

public RectangleF Bounds { get; set; }

Mülkiyet Değer

RectangleF

NativeBrush

Doğal gradient fırçası geri dönüyor.

public Brush NativeBrush { get; }

Mülkiyet Değer

Brush

WrapMode

Bu gradient fırçası için döndürme veya dökme modunu belirler. Bu, yerli gradient fırçalarında atma istisnası sonucu olan WrapMode.Clamp olabilir.

public WrapMode WrapMode { get; set; }

Mülkiyet Değer

WrapMode

Methods

Clone()

Bu fırçayı klonlayın.

public override object Clone()

Returns

object

Dispose()

Bu Aspose.Page.EPS.GradientBrush nesne tarafından kullanılan tüm kaynakları yayınlar.

public void Dispose()
 Türkçe