Color

Overview

Color is a struct in Aspose.Cells FOSS for .NET. Inherits from: IEquatable<Color>.

Represents color.

This struct provides 4 methods for working with Color objects in .NET programs. Available methods include: Color, Equals, FromArgb, GetHashCode. All exported members are accessible to any .NET application after installing the Aspose.Cells FOSS for .NET package. Properties: A, B, Empty, G, R.

Description

Color is a class in the Aspose.Cells FOSS library for .NET that exposes 4 methods and 5 properties for programmatic use. It extends IEquatable<Color>, inheriting shared functionality from its parent type.

The class also provides the A property (gets the a), the R property (gets the r), the G property (gets the g).

Instances are created through a single constructor that initializes the object with default values.

Properties

NameTypeAccessDescription
AbyteReadGets the a.
RbyteReadGets the r.
GbyteReadGets the g.
BbyteReadGets the b.
EmptyColorReadGets the empty.

Methods

SignatureDescription
Color(a: byte, r: byte, g: byte, b: byte)The b.
FromArgb(a: int, r: int, g: int, b: int)The color.
Equals(other: Color)if the condition is met; otherwise, .
Equals(obj: object)if the condition is met; otherwise, .
GetHashCode()The int.

See Also

 English