Search
Shape.draw Method
See Also
 

Draws this shape on the specified Graphics2D surface.

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

 Syntax

Java  Copy Code

public void draw (
    Graphics2D 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