from_known_color method

from_known_color

Creates a Color structure from the specified predefined color.

Returns

The Color that this method creates.

def from_known_color(self, color):
    ...
ParameterTypeDescription
colorKnownColorAn element of the KnownColor enumeration.

See Also