DroidDiagram Programmer's Guide
Shape.draw Method
See Also
 






Draws this shape on the specified Canvas surface.

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

 Syntax

Java  Copy Code

public void draw (
    Canvas drawingContext,
    Brush brush,
    Pen pen,
    boolean shadow
)

 Parameters

graphics

The Graphics2D surface on which to draw the shape.

brush

A Brush used to fill the shape.

pen

A Pen used to draw the shape outline.

shadow

When shadow is true the brush and pen parameters have higher priority over shape's brush and pen.

 See Also

Shape Members
Shape Class
com.mindfusion.diagramming Namespace