Draws this shape on the specified Canvas surface.
Namespace: com.mindfusion.diagramming
Package: com.mindfusion.diagramming
Java
![]() |
---|
public void draw ( |
The Graphics2D surface on which to draw the shape.
A Brush used to fill the shape.
A Pen used to draw the shape outline.
When shadow is true the brush and pen parameters have higher priority over shape's brush and pen.