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

objectOdBrushOdGradientBrush

Implements

ICloneable

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

float

BrushStyle

Gets the style.

public override OdBrushStyle BrushStyle { get; }

Property Value

OdBrushStyle

EndColor

Gets or sets the end color.

[JsonProperty]
public int EndColor { get; set; }

Property Value

int

GradientStyle

Gets or sets the gradient style.

[JsonProperty]
public OdGradientStyle GradientStyle { get; set; }

Property Value

OdGradientStyle

StartColor

Gets or sets the start color.

[JsonProperty]
public int StartColor { get; set; }

Property Value

int

Methods

Clone()

Clone this instance.

public override object Clone()

Returns

object

The return new instance of source brush