API Reference > OdDb Classes > OdDbHatch Class > OdDbHatch Methods > OdDbHatch::getGradientColors Method
OdDbHatch::getGradientColors Method
Syntax
C++
void getGradientColors(OdCmColorArray& colors, OdGeDoubleArray& values) const;
Parameters 
Description 
OdCmColorArray& colors 
[out] Array of colors defining the gradient.  
OdGeDoubleArray& values 
[out] Array of interpolation values for the gradient. 

Returns the colors and interpolation values describing the gradient fill for this Hatch entity. 

 

Copyright © 2002–2020. Open Design Alliance. All rights reserved.