from_name method
from_name
Creates a Color structure from the specified name of a predefined color.
Returns
The Color that this method creates.
def from_name(self, name):
...
| Parameter | Type | Description |
|---|---|---|
| name | str | A string that is the name of a predefined color. Valid names are the same as the names of the elements of the KnownColor enumeration. |
See Also
- module
aspose.cad - class
Color - class
KnownColor