API Reference > Classes > PRC Graphical Classes > OdPrcDottingPattern Class
OdPrcDottingPattern Class
OdPrcDottingPatternOdPrcDottingPatternOdPrcDottingPatternOdPrcDottingPattern
Syntax
C++
class OdPrcDottingPattern : public OdPrcFillPattern;

PrcDottingPattern.h

 

Class representing a two-dimensional dotting pattern with points.

 
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.  
OdPrcFillPattern Class
 
Name 
Description 
 
This is the overview for the nextPattern method overload. 
 
read 
Reads a fill pattern from a specified data stream and returns a pointer to an OdPrcFillPattern object.
 
 
Reads a fill pattern array from a data stream to an array of smart pointers to OdPrcFillPattern objects.
 
OdPrcDottingPattern Class
 
Name 
Description 
 
Returns the current value of the color index. 
 
Returns the current color of the pattern. Will throw an exception in case of uninitialized object. 
 
Returns the current value of the pitch of point spacing. 
 
This is the overview for the setColor method overload. 
 
Sets a new value for the pitch of point spacing.
 
 
Sets a new value for the zigzag flag. The zigzag flag indicates that points are offset along the X-axis at the value of pitch/2.0 for odd rows (if true). If the flag is equal to false, points are spaced with the pitch on a regular grid.
 
 
Returns the current value of the zigzag flag. The zigzag flag indicates that points are offset along the X-axis at the value of pitch/2.0 for odd rows (if true). If the flag is equal to false, points are spaced with the pitch on a regular grid. 
Copyright (c) 2002-2020. Open Design Alliance. All rights reserved.