Class CmxFillStyle
Namespace: Aspose.Imaging.FileFormats.Cmx.ObjectModel.Styles
Assembly: Aspose.Imaging.dll (25.2.0)
Fill style for shapes.
[JsonObject(MemberSerialization.OptIn)]
public class CmxFillStyle
Inheritance
Inherited Members
object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
CmxFillStyle()
public CmxFillStyle()
Properties
Color1
Gets or sets the primary color.
[JsonProperty]
public CmxColor Color1 { get; set; }
Property Value
Color2
Gets or sets the secondary color.
[JsonProperty]
public CmxColor Color2 { get; set; }
Property Value
FillType
Gets or sets the type of the fill.
[JsonProperty]
public FillTypes FillType { get; set; }
Property Value
Gradient
Gets or sets the gradient info.
[JsonProperty]
public CmxGradient Gradient { get; set; }
Property Value
ImageFill
Gets or sets the image fill info.
[JsonProperty]
public CmxImageFill ImageFill { get; set; }
Property Value
Transform
Gets or sets the fill transform.
[JsonProperty]
public Matrix Transform { get; set; }
Property Value
Methods
Equals(CmxFillStyle)
Check if objects are equal.
protected bool Equals(CmxFillStyle other)
Parameters
other
CmxFillStyle
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.