API Reference > OdDb Classes > OdDbLinetypeTableRecord Class > OdDbLinetypeTableRecord Methods > OdDbLinetypeTableRecord::shapeRotationAt Method
OdDbLinetypeTableRecord::shapeRotationAt Method
Syntax
C++
double shapeRotationAt(int dashIndex) const;
Parameters 
Description 
int dashIndex 
[in] Dash index as an Integer value in range [0 <= dashIndex < numDashes]. 

Returns the angle on which the inclusion (shape or text) is rotated within the dash at the specified index (DXF 50) counterclockwise relative to the direction vector of the linetype in the range -2PI to 2PI radians. If the angle is positive, the inclusion is rotated counterclockwise. If the angle is negative, the inclusion is rotated clockwise. If the angle is zero, the direction of the linetype and inclusion are the same. 

 

Example of Working with the Linetype Dash 

Working with the Linetype Pattern 

OdDbLinetypeTableRecord::setShapeRotationAt() method

Copyright © 2002–2020. Open Design Alliance. All rights reserved.