DroidDiagram Programmer's Guide
ShapeLibrary Class
Remarks See Also
 






The ShapeLibrary class represents a collection of shape definitions stored together.

Namespace: com.mindfusion.diagramming
Package: com.mindfusion.diagramming

 Syntax

Java  Copy Code

public class ShapeLibrary

 Remarks

Shape libraries can be created using the ShapeDesigner tool that comes with DroidDiagram. Use the loadFrom method to load a shape library from a file. The loaded shapes can be accessed through the getShapes method. They will be automatically added to the shared list of shapes kept in the Shape class, which lets you access them by the fromId method. A shape library can be saved into a file in XML based format using the saveTo method.

 Inheritance Hierarchy

java.lang.Object
    com.mindfusion.diagramming.ShapeLibrary

 See Also

ShapeLibrary Members
com.mindfusion.diagramming Namespace