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

objectCmxColor

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

ColorModels

Value

Gets or sets the color value.

[JsonProperty]
public uint Value { get; set; }

Property Value

uint

Methods

Equals(CmxColor)

Check if objects are equal.

protected bool Equals(CmxColor other)

Parameters

other CmxColor

The other object.

Returns

bool

The equality comparison result.

Equals(object)

Check if objects are equal.

public override bool Equals(object obj)

Parameters

obj object

The other object.

Returns

bool

The equality comparison result.

GetHashCode()

Get hash code of the current object.

public override int GetHashCode()

Returns

int

The hash code.

ToString()

Returns a System.String that represents this instance.

public override string ToString()

Returns

string

A System.String that represents this instance.