Table of Contents

Class Brush

Namespace
Aspose.Imaging
Assembly
Aspose.Imaging.dll

The base brush class.

public abstract class Brush : DisposableObject, IDisposable
Inheritance
Brush
Implements
Derived
Inherited Members

Constructors

Brush()

protected Brush()

Properties

Opacity

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

public float Opacity { get; set; }

Property Value

float

The brush opacity value.

Methods

DeepClone()

Creates a new deep clone of the current Brush.

public virtual Brush DeepClone()

Returns

Brush

A new Brush which is the deep clone of this Brush instance.

Equals(Brush)

Check if objects are equal.

protected bool Equals(Brush other)

Parameters

other Brush

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.