| Modifier and Type | Method and Description |
|---|---|
| public void | applyTransform(Graphics2D
the graphics whose transform matrix will be modified graphics)Implements org. Apply 2-D transforms before drawing this shape. |
| public void | draw(Graphics2D
the graphics to draw into graphics)Implements org. Draw this shape into the supplied canvas |
| public void | drawContent(Graphics2D
the graphics to draw into graphics)Implements org. draw any content within this shape (image, text, etc.). |
| private void | |
| private void | |
| public static Rectangle2D | |
| public static Rectangle2D | |
| protected Shape | |
| protected static BasicStroke | |
| pack-priv static boolean | |
| private void | |
| private static double |
| shape | back to summary |
|---|---|
| protected final Shape<?, ?> shape | |
| DrawShape | back to summary |
|---|---|
| public DrawShape(Shape<?, ?> shape) | |
| applyTransform | back to summary |
|---|---|
| public void applyTransform(Graphics2D graphics) Implements org. Apply 2-D transforms before drawing this shape. This includes rotation and flipping.
| |
| draw | back to summary |
|---|---|
| public void draw(Graphics2D graphics) Implements org. Doc from org. Draw this shape into the supplied canvas
| |
| drawContent | back to summary |
|---|---|
| public void drawContent(Graphics2D graphics) Implements org. Doc from org. draw any content within this shape (image, text, etc.).
| |
| flipHorizontal | back to summary |
|---|---|
| private void flipHorizontal(Graphics2D graphics, Rectangle2D anchor) | |
| flipVertical | back to summary |
|---|---|
| private void flipVertical(Graphics2D graphics, Rectangle2D anchor) | |
| getAnchor | back to summary |
|---|---|
| public static Rectangle2D getAnchor(Graphics2D graphics, PlaceableShape<?, ?> shape) | |
| getAnchor | back to summary |
|---|---|
| public static Rectangle2D getAnchor(Graphics2D graphics, Rectangle2D anchor) | |
| getShape | back to summary |
|---|---|
| protected Shape | |
| getStroke | back to summary |
|---|---|
| protected static BasicStroke getStroke(StrokeStyle strokeStyle) | |
| isHSLF | back to summary |
|---|---|
| pack-priv static boolean isHSLF(Object shape) Sometimes it's necessary to distinguish between XSLF/HSLF for the rendering. Use this method on the shape to determine, if we work on the BIFF implementation
| |
| rotate | back to summary |
|---|---|
| private void rotate(Graphics2D graphics, Rectangle2D anchor) | |
| safeScale | back to summary |
|---|---|
| private static double safeScale(double dim1, double dim2) | |