Interface MutableTransformer
-
- All Superinterfaces:
BidirectionalTransformer
,ChangeEventSupport
,ShapeTransformer
- All Known Implementing Classes:
HyperbolicShapeTransformer
,HyperbolicTransformer
,LensTransformer
,LensTransformSupport
,MagnifyShapeTransformer
,MagnifyTransformer
,MutableAffineTransformer
,MutableTransformerDecorator
,TransformSupport
public interface MutableTransformer extends ShapeTransformer, ChangeEventSupport
Provides an API for the mutation of a Function and for adding listeners for changes on the Function- Author:
- Tom Nelson
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
concatenate(AffineTransform transform)
double
getRotation()
double
getScale()
double
getScaleX()
double
getScaleY()
double
getShearX()
double
getShearY()
AffineTransform
getTransform()
double
getTranslateX()
double
getTranslateY()
void
preConcatenate(AffineTransform transform)
void
rotate(double radians, double x, double y)
void
rotate(double radians, Point2D point)
double
scale()
void
scale(double sx, double sy, Point2D point)
void
setScale(double sx, double sy, Point2D point)
void
setToIdentity()
void
setTranslate(double dx, double dy)
void
shear(double shx, double shy, Point2D from)
void
translate(double dx, double dy)
-
Methods inherited from interface org.jungrapht.visualization.transform.BidirectionalTransformer
inverseTransform, inverseTransform, transform, transform
-
Methods inherited from interface org.jungrapht.visualization.util.ChangeEventSupport
addChangeListener, fireStateChanged, getChangeListeners, removeChangeListener
-
Methods inherited from interface org.jungrapht.visualization.transform.shape.ShapeTransformer
inverseTransform, transform
-
-
-
-
Method Detail
-
translate
void translate(double dx, double dy)
-
setTranslate
void setTranslate(double dx, double dy)
-
scale
void scale(double sx, double sy, Point2D point)
-
setScale
void setScale(double sx, double sy, Point2D point)
-
rotate
void rotate(double radians, Point2D point)
-
rotate
void rotate(double radians, double x, double y)
-
shear
void shear(double shx, double shy, Point2D from)
-
concatenate
void concatenate(AffineTransform transform)
-
preConcatenate
void preConcatenate(AffineTransform transform)
-
getScaleX
double getScaleX()
-
getScaleY
double getScaleY()
-
getScale
double getScale()
-
scale
double scale()
-
getTranslateX
double getTranslateX()
-
getTranslateY
double getTranslateY()
-
getShearX
double getShearX()
-
getShearY
double getShearY()
-
getTransform
AffineTransform getTransform()
-
setToIdentity
void setToIdentity()
-
getRotation
double getRotation()
-
-