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.

 
Name 
Description 
 
Destroys an instance of a PRC entity. 
 
Name 
Description 
 
This is the overview for the attributeData method overload. 
 
Returns the OdGsCache object currently assigned to the PRC entity. 
 
id 
Returns the PRC entity ID. 
 
Returns whether the PRC entity is persistent (true) or not (false). 
 
name 
This is the overview for the name method overload. 
 
Returns the type of the PRC entity. 
 
Assigns the specified OdGsCache to the PRC entity.
 
OdPrcReferencedBase Class
 
Name 
Description 
 
Returns the current CAD identifier for the PRC object. 
 
Returns the current persistent CAD identifier for the PRC object. 
 
Returns an explicit unique name for "this" entity that can be referenced through PDF or JavaScript. In the case of error, it returns an empty string.
 
 
id 
Returns the current object identifier for the object. 
 
Returns true if the object is persistent or false in the other case. 
 
Returns the PRC object identifier. 
 
Sets a new CAD identifier value for the PRC object.  
 
Sets a new persistent CAD identifier value for the PRC object.  
 
Sets a new PRC object identifier.  
OdPrcCategory1LineStyle Class
 
Name 
Description 
 
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-2020. Open Design Alliance. All rights reserved.