Class CmxGradient
Namespace: Aspose.Imaging.FileFormats.Cmx.ObjectModel.Styles
Assembly: Aspose.Imaging.dll (25.2.0)
Represents a gradient info.
[JsonObject(MemberSerialization.OptIn)]
public class CmxGradient
Inheritance
Inherited Members
object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
CmxGradient()
public CmxGradient()
Properties
Angle
Gets or sets the angle.
[JsonProperty]
public float Angle { get; set; }
Property Value
CenterXOffset
Gets or sets the center x offset.
[JsonProperty]
public uint CenterXOffset { get; set; }
Property Value
CenterYOffset
Gets or sets the center y offset.
[JsonProperty]
public uint CenterYOffset { get; set; }
Property Value
Colors
Gets or sets the colors.
[JsonProperty]
public CmxColor[] Colors { get; set; }
Property Value
CmxColor[]
EdgeOffset
Gets or sets the edge offset.
[JsonProperty]
public ushort EdgeOffset { get; set; }
Property Value
Mode
Gets or sets the mode.
[JsonProperty]
public ushort Mode { get; set; }
Property Value
Offsets
Gets or sets the offsets.
[JsonProperty]
public float[] Offsets { get; set; }
Property Value
float[]
RateMethod
Gets or sets the rate method.
[JsonProperty]
public ushort RateMethod { get; set; }
Property Value
RateValue
Gets or sets the rate value.
[JsonProperty]
public ushort RateValue { get; set; }
Property Value
Screen
Gets or sets the screen.
[JsonProperty]
public ushort Screen { get; set; }
Property Value
Steps
Gets or sets the steps.
[JsonProperty]
public ushort Steps { get; set; }
Property Value
Type
Gets or sets the type.
[JsonProperty]
public GradientTypes Type { get; set; }
Property Value
Methods
Equals(CmxGradient)
Check if objects are equal.
protected bool Equals(CmxGradient other)
Parameters
other
CmxGradient
The other object.
Returns
The equality comparison result.
Equals(object)
Check if objects are equal.
public override bool Equals(object obj)
Parameters
obj
object
The other object.
Returns
The equality comparison result.
GetHashCode()
Get hash code of the current object.
public override int GetHashCode()
Returns
The hash code.
ToString()
Returns a System.String that represents this instance.
public override string ToString()
Returns
A System.String that represents this instance.