Class XpsRadialGradientBrush

Class XpsRadialGradientBrush

Namespace: Aspose.Page.XPS.XpsModel
Assembly: Aspose.Page.dll (25.1.2)

Lớp bao encapsulating các tính năng của thuộc tính RadialGradientBrush.
Phần tử này được sử dụng để chỉ định một cọ gradient hình tròn.

public sealed class XpsRadialGradientBrush : XpsGradientBrush

Kế thừa

objectXpsObjectXpsBrushXpsTransformableBrushXpsGradientBrushXpsRadialGradientBrush

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

Center

Trả về/cài đặt điểm trung tâm của gradient hình tròn
(có nghĩa là, trung tâm của hình elip).

public PointF Center { get; set; }

Giá trị thuộc tính

PointF

GradientOrigin

Trả về/cài đặt điểm gốc của gradient hình tròn.

public PointF GradientOrigin { get; set; }

Giá trị thuộc tính

PointF

RadiusX

Trả về/cài đặt bán kính trong chiều x của hình elip xác định gradient hình tròn.

public float RadiusX { get; set; }

Giá trị thuộc tính

float

RadiusY

Trả về/cài đặt bán kính trong chiều y của hình elip xác định gradient hình tròn.

public float RadiusY { get; set; }

Giá trị thuộc tính

float

Phương thức

Clone()

Nhân bản cọ gradient hình tròn này.

public XpsRadialGradientBrush Clone()

Trả về

XpsRadialGradientBrush

Nhân bản của cọ gradient hình tròn này.

 Tiếng Việt