Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
OdDbHatch::setShadeTintValueAndColor2 Method
Syntax
C++
OdResult setShadeTintValueAndColor2(double value);

Calculate second hatch gradient color from first color with applied luminance value. 

 

Parameters
Description
value
[in] Luminance value in the range from 0.0 to 1.0.

eOk if successful. eInvalidContext if single color mode is false or gradient colors list is empty or hatch object type not kGradientObject. eInvalidInput if the luminance value is out of range.

Copyright © 2002-2022. Open Design Alliance All rights reserved.