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 Go programs. Available methods include: Color, Equals, FromArgb, GetHashCode. All exported members are accessible to any Go application after adding the package via go get github.com/aspose-pdf-foss/aspose-pdf-foss-for-go. Properties: A, B, Empty, G, R.

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