API Reference > Classes > PRC Graphical Classes > OdPrcCategory1LineStyle Class
OdPrcCategory1LineStyle Class
OdPrcCategory1LineStyleOdPrcCategory1LineStyleOdPrcCategory1LineStyle
Syntax
C++
class OdPrcCategory1LineStyle : public OdPrcReferencedBase;

PrcCategory1LineStyle.h

Class stores data of line styles.

Clears the information about the first additional data. 
Clears the information about second additional data. 
Clears the information about third additional data. 
Clears the identifier of the line pattern. 
Clears the material identifier. 
Clears the information about the line style's transparency. 
Puts new RGB color in file structure globals, creates new LineStyle that uses that color and returns its object id  
This is the overview for the createByMaterial method overload. 
Returns true if current lineStyle has AdditionalData1.
 
Returns true if current lineStyle has AdditionalData2.
 
Returns true if current lineStyle has AdditionalData3.
 
Returns the current color index of the line style. Color index is an index in OdPrcFileStructureGlobals.colors() array. Will throw an exception if no color attached. 
Returns the current line pattern identifier of the line style. 
Returns the current material identifier of the line style. 
Returns the current picture index of the line style. 
Returns true if current lineStyle has transparency.
 
Returns the current color of the line style. Will throw an exception in case of uninitialized object. 
Returns the current line width of the line style. 
Sets new first additional data of the line style.
 
Sets new second additional data of the line style.
 
Sets new third additional data of the line style.
 
This is the overview for the setColor method overload. 
Sets a new line pattern identifier of the line style. The method sets the picture index to zero.
 
Sets a new line width of the line style.
 
Sets a new material identifier of the line style. This method sets the color index to zero.
 
Sets a new picture index of the line style. The method sets the line pattern identifier to zero.
 
Sets a new transparency value of the line style.
 
Copyright (c) 2002-2021. Open Design Alliance. All rights reserved.