NShape Programmer Tasks
Developing a New Shape Class

<< Click to Display Table of Contents >>

Navigation:  Programmer Tasks >

NShape Programmer Tasks
Developing a New Shape Class

Previous pageReturn to chapter overviewNext page

To Develop a New Shape Class

1.Select or implement a library assembly, which will contain the new shape. After this step you will be able to load the new library but it will not offer any additional shapes.

2.Create the shape class. After this step, the library will display a working shape but a dumb one.

3.Draw the shape as it should look like.

4.Define the behavior of the control points.

5.Make the shape completely persistable.

6.Define shape specific commands.