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

NameTypeAccessDescription
rintReadGets the r.
gintReadGets the g.
bintReadGets the b.
aintReadGets the a.

Methods

SignatureDescription
__init__(a: int, r: int, g: int, b: int)Calls init(a, r, g, b) on this Color instance.
from_argb() → ColorCreate a Color from ARGB components.
__eq__(other)Calls eq(other) on this Color instance.
__repr__()Calls repr on this Color instance.

See Also

 English