Class CmxColor
Class CmxColor
Namespace: Aspose.Imaging.FileFormats.Cmx.ObjectModel.Styles
Assembly: Aspose.Imaging.dll (25.2.0)
Represents a color value.
[JsonObject(MemberSerialization.OptIn)]
public class CmxColor
Inheritance
Inherited Members
object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
CmxColor()
public CmxColor()
Properties
ColorModel
Gets or sets the color model.
[JsonProperty]
public ColorModels ColorModel { get; set; }
Property Value
Value
Gets or sets the color value.
[JsonProperty]
public uint Value { get; set; }
Property Value
Methods
Equals(CmxColor)
Check if objects are equal.
protected bool Equals(CmxColor other)
Parameters
other
CmxColor
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.