mapscript.colorObj¶
- class mapscript.colorObj(red: int = 0, green: int = 0, blue: int = 0, alpha: int = 255)¶
An object representing a color.
Attributes
alpha
int Alpha (opacity) component of color in range [0-255]
blue
int Blue component of color in range [0-255]
green
int Green component of color in range [0-255]
red
int Red component of color in range [0-255]
thisown
The membership flag
Methods