DroidDiagram Programmer's Guide
ElementTemplate Members
Constructors Methods
 


This is the base class for the elements that can be used in Shape definitions. You will use its descendants - LineTemplate, ArcTemplate and BezierTemplate - when defining custom shapes.

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

 Public Constructors

  Name Description

ElementTemplate

 

 Public Methods

  Name Description

getColor

Gets the color of this element.

getDashStyle

 

getWidth

 

setColor

 

setDashStyle

 

setWidth

 

 Protected Methods

  Name Description

getElementPen

Gets a pen used to render the element. If no pen properties are explicitly specified for this element, returns the pen passed as an argument.

 See Also

ElementTemplate Class
com.mindfusion.diagramming Namespace