Class OdGradientBrush
Class OdGradientBrush
Namespace: Aspose.Imaging.FileFormats.OpenDocument.Objects.Brush
Assembly: Aspose.Imaging.dll (25.2.0)
The gradient fill
[JsonObject(MemberSerialization.OptIn)]
public class OdGradientBrush : OdBrush, ICloneable
Inheritance
object ← OdBrush ← OdGradientBrush
Implements
Inherited Members
OdBrush.Clone(), OdBrush.BrushStyle, object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
OdGradientBrush()
public OdGradientBrush()
Properties
Angle
Gets or sets the angle.
[JsonProperty]
public float Angle { get; set; }
Property Value
BrushStyle
Gets the style.
public override OdBrushStyle BrushStyle { get; }
Property Value
EndColor
Gets or sets the end color.
[JsonProperty]
public int EndColor { get; set; }
Property Value
GradientStyle
Gets or sets the gradient style.
[JsonProperty]
public OdGradientStyle GradientStyle { get; set; }
Property Value
StartColor
Gets or sets the start color.
[JsonProperty]
public int StartColor { get; set; }
Property Value
Methods
Clone()
Clone this instance.
public override object Clone()
Returns
The return new instance of source brush