Class CmxGradient

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

objectCmxGradient

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

float

CenterXOffset

Gets or sets the center x offset.

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

Property Value

uint

CenterYOffset

Gets or sets the center y offset.

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

Property Value

uint

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

ushort

Mode

Gets or sets the mode.

[JsonProperty]
public ushort Mode { get; set; }

Property Value

ushort

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

ushort

RateValue

Gets or sets the rate value.

[JsonProperty]
public ushort RateValue { get; set; }

Property Value

ushort

Screen

Gets or sets the screen.

[JsonProperty]
public ushort Screen { get; set; }

Property Value

ushort

Steps

Gets or sets the steps.

[JsonProperty]
public ushort Steps { get; set; }

Property Value

ushort

Type

Gets or sets the type.

[JsonProperty]
public GradientTypes Type { get; set; }

Property Value

GradientTypes

Methods

Equals(CmxGradient)

Check if objects are equal.

protected bool Equals(CmxGradient other)

Parameters

other CmxGradient

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.