API Reference > OdDb Classes > OdDbHatch Class > OdDbHatch Methods > OdDbHatch::setGradientShift Method
OdDbHatch::setGradientShift Method
Syntax
C++
void setGradientShift(double gradientShift);
Parameters 
Description 
double gradientShift 
[in] Shift value. 

Sets the interpolation value between the default and shifted values of the gradient's definition. 

 

A gradientShift of 0 indicates a fully unshifted gradient. A gradientShift of 1 indicates a fully shifted gradient.

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