|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ijchart.xychart.util.GraphicsUtil
public abstract class GraphicsUtil
Title: IJChart
Description: a chart library for the Java(tm) platform.
Nice static helpers for working with Graphics2D.Copyright: Copyright (c) 2013
Company:
| Constructor Summary | |
|---|---|
GraphicsUtil()
|
|
| Method Summary | |
|---|---|
static java.awt.Shape |
translateShapeByPath(java.awt.Shape shape,
float translateX,
float translateY)
Move the shape's coordinate to (-translateX, -translateY). |
static java.awt.Shape |
translateShapeByTransform(java.awt.Shape shape,
float translateX,
float translateY)
Move the shape's coordinate to (-translateX, -translateY). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GraphicsUtil()
| Method Detail |
|---|
public static java.awt.Shape translateShapeByPath(java.awt.Shape shape,
float translateX,
float translateY)
shape - Shape
The shape which need move coordinate.translateX -
The new x-coordinate of origin.translateY -
The new y-coordinate of origin.
public static java.awt.Shape translateShapeByTransform(java.awt.Shape shape,
float translateX,
float translateY)
shape - Shape
The shape which need move coordinate.translateX -
The new x-coordinate of origin.translateY -
The new y-coordinate of origin.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||