public class PointShapeFactory extends Object
Modifier and Type | Method | 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 imageBuilt on April 24 2018. | Portions Copyright 1997-2018 Oracle. All rights reserved.