|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.poi.hslf.model.AutoShapes
public final class AutoShapes
Stores definition of auto-shapes. See the Office Drawing 97-2007 Binary Format Specification for details. TODO: follow the spec and define all the auto-shapes
Field Summary | |
---|---|
protected static ShapeOutline[] |
shapes
|
Constructor Summary | |
---|---|
AutoShapes()
|
Method Summary | |
---|---|
static ShapeOutline |
getShapeOutline(int type)
Return shape outline by shape type |
static java.awt.Shape |
transform(java.awt.Shape outline,
java.awt.geom.Rectangle2D anchor)
Auto-shapes are defined in the [0,21600] coordinate system. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static ShapeOutline[] shapes
Constructor Detail |
---|
public AutoShapes()
Method Detail |
---|
public static ShapeOutline getShapeOutline(int type)
type
- shape type see ShapeTypes
public static java.awt.Shape transform(java.awt.Shape outline, java.awt.geom.Rectangle2D anchor)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |