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
| Name | Type | Access | Description |
|---|---|---|---|
A | byte | Read | Gets the a. |
R | byte | Read | Gets the r. |
G | byte | Read | Gets the g. |
B | byte | Read | Gets the b. |
Empty | Color | Read | Gets the empty. |
Methods
| Signature | Description |
|---|---|
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. |