Color
Overview
Color is a class in Aspose.Slides FOSS for Python.
Represents an ARGB color, equivalent to System.Drawing.Color.
This class declares 4 methods for Color objects in Python programs.
Available methods include: __eq__, __init__, __repr__, from_argb.
Public members are accessible to any Python application after installing the Aspose.Slides FOSS for Python package.
Properties: a, b, g, r.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
r | int | Read | Gets the r. |
g | int | Read | Gets the g. |
b | int | Read | Gets the b. |
a | int | Read | Gets the a. |
Methods
| Signature | Description |
|---|---|
__init__(a: int, r: int, g: int, b: int) | Calls init(a, r, g, b) on this Color instance. |
from_argb() → Color | Create a Color from ARGB components. |
__eq__(other) | Calls eq(other) on this Color instance. |
__repr__() | Calls repr on this Color instance. |