DroidDiagram Programmer's Guide
ShapeLibrary Members
Constructors Methods
 


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

The following tables list the members exposed by the ShapeLibrary type.

 Public Constructors

  Name Description

ShapeLibrary

 

 Public Methods

  Name Description

fromXmlElement

Creates a ShapeLibrary from a DOM tree.

getShapes

Gets the shapes contained in this library.

loadFrom

Overloaded.  

makeImagesRelativeTo

Makes image locations relative to specified shapeLibraryPath so that the shape library can be moved/distributed. This method is supposed to be called before serialization.

saveTo

Saves the shape library to the specified file.

setShapes

Sets the shape library shapes.

toDOM

Converts the ShapeLibrary to a DOM element.

 See Also

ShapeLibrary Class
com.mindfusion.diagramming Namespace