API Reference > OdDb Classes > OdDbMPolygon Class > OdDbMPolygon Methods > OdDbMPolygon::setGradientShift Method
OdDbMPolygon::setGradientShift Method
Syntax
C++
void setGradientShift(float shiftValue);
Parameters 
Description 
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.