Table of Contents

Class TransparencySupporter

Namespace
Aspose.Imaging
Assembly
Aspose.Imaging.dll

The object supporting transparency.

public class TransparencySupporter
Inheritance
TransparencySupporter
Derived
Inherited Members

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

The opacity value.

Methods

Equals(TransparencySupporter)

Check if objects are equal.

protected bool Equals(TransparencySupporter other)

Parameters

other TransparencySupporter

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.