Package smile.plot.swing
Class Shape
java.lang.Object
smile.plot.swing.Shape
Abstract object that knows how to use a renderer to paint onto the canvas.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Shape
public Shape()Constructor. -
Shape
Constructor.- Parameters:
color
- the color of shape.
-
-
Method Details
-
paint
Draws the shape.- Parameters:
g
- the renderer.
-