ARGB
Canonical path: NemAll_Python_BasisElements.ARGB
Represents true color with transparency
Methods:
-
GetARGB
–returns color as unsigned long
-
__eq__
–equal operator
-
__init__
–Overloaded function. See individual overloads.
-
__repr__
–Convert to string
Attributes:
-
ABGR
(int
) –returns color as ABGR
-
ARGB
(int
) –returns color as unsigned long
-
Alpha
(int
) –returns alpha component
-
BGR
(int
) –returns color as BGR
-
Blue
(int
) –returns blue component
-
Green
(int
) –returns green component
-
IRGB
(int
) –Get the indexed rgb color representation of the ARGB color
-
Red
(int
) –returns red component
BGR
property
writable
returns color as BGR
sets only RGB values from unsigned long BGR format
IRGB
property
writable
Get the indexed rgb color representation of the ARGB color
If color not found in the index table, the rgb color converted to integer value is returned
__eq__
__eq__(argb: ARGB) -> bool
__init__
overloaded
Initialize
constructor from unsigned long
Parameters:
-
argb
(int
) –windows argb value
constructor with RGBA components
Parameters:
-
red
(int
) –red component
-
green
(int
) –green component
-
blue
(int
) –blue component
-
alpha
(int
) –alpha component
__init__(argb: ARGB)