public final class AutoShapes extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static ShapeOutline[] |
shapes |
| Constructor and Description |
|---|
AutoShapes() |
| Modifier and Type | Method and Description |
|---|---|
static ShapeOutline |
getShapeOutline(int type)
Return shape outline by shape type
|
static Shape |
transform(Shape outline,
Rectangle2D anchor)
Auto-shapes are defined in the [0,21600] coordinate system.
|
protected static ShapeOutline[] shapes
public static ShapeOutline getShapeOutline(int type)
type - shape type see ShapeTypespublic static Shape transform(Shape outline, Rectangle2D anchor)
Copyright © 2020. All rights reserved.