Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
OdDbVisualStyle::setTrait Method (OdGiVisualStyleProperties::Property, double, double, double, OdGiVisualStyleOperations::Operation)
Syntax
C++
void setTrait(OdGiVisualStyleProperties::Property prop, double red, double green, double blue, OdGiVisualStyleOperations::Operation op = OdGiVisualStyleOperations::kSet);

Sets a color property of the visual style with given RGB component values. 

 

Parameters
Description
prop
[in] OdGiVisualStyleProperties::Property to set.
red
[in] Red component value to set.
green
[in] Green component value to set.
blue
[in] Blue component value to set.
op
[in] OdGiVisualStyleOperations::Operation to use for setting the property.
Copyright © 2002-2022. Open Design Alliance All rights reserved.