CustomGraphicsCoordinates.setColor Method
Parent Object:
CustomGraphicsCoordinatesDefined in namespace "adsk::fusion" and the header file is <Fusion/Graphics/CustomGraphicsCoordinates.h>
Description
Sets the color of the coordinate at the specified index.
Syntax
"customGraphicsCoordinates_var" is a variable referencing a CustomGraphicsCoordinates object.returnValue = customGraphicsCoordinates_var.setColor(index, color)
|
"customGraphicsCoordinates_var" is a variable referencing a CustomGraphicsCoordinates object.
#include <Fusion/Graphics/CustomGraphicsCoordinates.h>
returnValue = customGraphicsCoordinates_var->setColor(index, color);
|
Return Value
boolean |
Returns true if setting the color was successful. |
Parameters
index |
integer |
The index of the coordinate to set. The first coordinate has an index of 0. |
color |
Color |
The color value as a Color object. |
Version
Introduced in version September 2017