Class XpsLinearGradientBrush
Namespace: Aspose.Page.XPS.XpsModel
Assembly: Aspose.Page.dll (25.1.2)
Lớp bao encapsulating các thuộc tính của phần tử LinearGradientBrush.
Phần tử này được sử dụng để chỉ định một bút vẽ gradient tuyến tính dọc theo một vector.
public sealed class XpsLinearGradientBrush : XpsGradientBrush
Kế thừa
object ← XpsObject ← XpsBrush ← XpsTransformableBrush ← XpsGradientBrush ← XpsLinearGradientBrush
Các thành viên kế thừa
XpsGradientBrush.GradientStops, XpsGradientBrush.ColorInterpolationMode, XpsGradientBrush.SpreadMethod, XpsTransformableBrush.Transform, XpsBrush.Opacity, object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Thuộc tính
EndPoint
Trả về/cài đặt điểm kết thúc của gradient tuyến tính.
public PointF EndPoint { get; set; }
Giá trị thuộc tính
StartPoint
Trả về/cài đặt điểm bắt đầu của gradient tuyến tính.
public PointF StartPoint { get; set; }
Giá trị thuộc tính
Phương thức
Clone()
Nhân bản bút vẽ gradient tuyến tính này.
public XpsLinearGradientBrush Clone()
Trả về
Bản sao của bút vẽ gradient tuyến tính này.