public interface PointShapeFactory
Shape
s to represent
PointShapeFactory.Point
geometries. Java2D does not provide an actual point shape, so some other
shape must be used to render points (e.g. such as a Rectangle or Ellipse).Modifier and Type | Interface and Description |
---|---|
static class |
PointShapeFactory.BasePointShapeFactory |
static class |
PointShapeFactory.Circle |
static class |
PointShapeFactory.Cross |
static class |
PointShapeFactory.Point |
static class |
PointShapeFactory.Square |
static class |
PointShapeFactory.Star |
static class |
PointShapeFactory.Triangle |
static class |
PointShapeFactory.X |
Modifier and Type | Method and Description |
---|---|
Shape |
createPoint(Point2D point)
Creates a shape representing a
PointShapeFactory.Point . |
Shape createPoint(Point2D point)
PointShapeFactory.Point
.point
- the location of the pointCopyright © 2022. All rights reserved.