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 imageBuilt on August 24 2014. | Portions Copyright 1997-2014 Sun Microsystems, Inc. All rights reserved.