![]() | InDesign SDK 20.5 |

Public Types | |
| enum | { kDefaultIID = IID_ICONVERTSHAPECMDDATA } |
Public Member Functions | |
| virtual void | Set (IConvertShapeSuite::ShapeType shapeType, const ClassID corner=kInvalidClass, const PMReal &cornerRadius=12.0, const int32 numSides=6, const int32 starInset=0)=0 |
| virtual const IConvertShapeSuite::ShapeType | GetShapeType () const =0 |
| virtual const ClassID | GetCornerEffectClass () const =0 |
| virtual const PMReal & | GetCornerRadius () const =0 |
| virtual const int32 & | GetNumSides () const =0 |
| virtual const int32 & | GetStarInset () const =0 |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
| pure virtual |
Get corner effect provider Class
| none |
| pure virtual |
Get corner effect radius
| none |
| pure virtual |
GetNumSides
| none |
| pure virtual |
GetShapeType
| none |
| pure virtual |
GetStarInset
| none |
| pure virtual |
Set convert shape command data
| shapeType | Shape type for converting to |
| corner | ClassID of corner effect type (service provider of kPathCornerService) default = kInvalidClass means no corner effect |
| cornerRadius | PMReal value in points for radius to be used for corner effect (service provider of kPathCornerService) default = 12 points. Used only when corner class is not kInvalidClass |
| numSides | number of sides of polygon for converting to, default is 6. Can range from kMinPolygonSides to kMaxPolygonSides. unused if the shapetype is not polygon, such as triangle, rectangle, oval etc. Use -1 to leave unchanged. |
| starInset | amount of star inset of polygon for converting to, default is 0. Can range from kMinPolygonInset to kMaxPolygonInset. unused if the shapetype is not polygon, such as triangle, rectangle, oval etc. Use -1 to leave unchanged. |