Class CmxFillStyle

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

objectCmxFillStyle

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

CmxColor

Color2

Gets or sets the secondary color.

[JsonProperty]
public CmxColor Color2 { get; set; }

Property Value

CmxColor

FillType

Gets or sets the type of the fill.

[JsonProperty]
public FillTypes FillType { get; set; }

Property Value

FillTypes

Gradient

Gets or sets the gradient info.

[JsonProperty]
public CmxGradient Gradient { get; set; }

Property Value

CmxGradient

ImageFill

Gets or sets the image fill info.

[JsonProperty]
public CmxImageFill ImageFill { get; set; }

Property Value

CmxImageFill

Transform

Gets or sets the fill transform.

[JsonProperty]
public Matrix Transform { get; set; }

Property Value

Matrix

Methods

Equals(CmxFillStyle)

Check if objects are equal.

protected bool Equals(CmxFillStyle other)

Parameters

other CmxFillStyle

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.