public class PointShapeFactory extends Object
Modifier and Type | Method and Description |
---|---|
static PointShape |
createImagePointShape(Image image)
Creates an image point shape.
|
static PointShape |
createPointShape(int size,
boolean filled)
Creates a square shape.
|
public static PointShape createPointShape(int size, boolean filled)
size
- the sizefilled
- if true, then the shape is filledpublic static PointShape createImagePointShape(Image image)
image
- the image