public class ModelShapeFactory extends Object implements ShapeFactory
| Constructor and Description |
|---|
ModelShapeFactory() |
| Modifier and Type | Method and Description |
|---|---|
Shape |
circle(double radius,
int slices) |
Shape |
offset(Construction c,
double offset) |
Shape |
polygon(List<Vector> points) |
Shape |
square(double sizeX,
double sizeY,
boolean centered) |
Shape |
text(String text,
int size,
String font) |
public Shape offset(Construction c, double offset)
offset in interface ShapeFactorypublic Shape circle(double radius, int slices)
circle in interface ShapeFactorypublic Shape square(double sizeX, double sizeY, boolean centered)
square in interface ShapeFactorypublic Shape polygon(List<Vector> points)
polygon in interface ShapeFactorypublic Shape text(String text, int size, String font)
text in interface ShapeFactoryCopyright © 2018. All rights reserved.