Class TransparencySupporter

Class TransparencySupporter

Namespace: Aspose.Imaging
Assembly: Aspose.Imaging.dll (25.2.0)

The object supporting transparency.

public class TransparencySupporter

Inheritance

objectTransparencySupporter

Derived

Pen

Inherited Members

object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Constructors

TransparencySupporter()

public TransparencySupporter()

Properties

Opacity

Gets or sets the object’s opacity. The value should be between 0 and 1. Value of 0 means that object is fully visible, value of 1 means the object is fully opaque.

public float Opacity { get; set; }

Property Value

float

Methods

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.

Equals(TransparencySupporter)

Check if objects are equal.

protected bool Equals(TransparencySupporter other)

Parameters

other TransparencySupporter

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.