java.lang.Object
org.jhotdraw8.geom.AbstractPathBuilder<T>
org.jhotdraw8.geom.AffineTransformPathBuilder<T>
- Type Parameters:
T- the product type
- All Implemented Interfaces:
PathBuilder<T>
TransformPathBuilder.
- Author:
- Werner Randelshofer
-
Constructor Summary
ConstructorsConstructorDescriptionAffineTransformPathBuilder(PathBuilder<T> target) AffineTransformPathBuilder(PathBuilder<T> target, AffineTransform transform) -
Method Summary
Modifier and TypeMethodDescription@Nullable Tbuild()Builds something.protected voiddoClosePath(double lastX, double lastY, double lastMoveToX, double lastMoveToY) protected voiddoCurveTo(double lastX, double lastY, double x1, double y1, double x2, double y2, double x3, double y3) protected voiddoLineTo(double lastX, double lastY, double x, double y) protected voiddoMoveTo(double x, double y) protected voiddoQuadTo(double lastX, double lastY, double x1, double y1, double x2, double y2) voidsetTransform(AffineTransform transform) Methods inherited from class org.jhotdraw8.geom.AbstractPathBuilder
arcTo, closePath, curveTo, doArcTo, doSmoothCurveTo, doSmoothQuadTo, getLastCX, getLastCY, getLastMoveToX, getLastMoveToY, getLastPoint, getLastX, getLastY, lineTo, moveTo, needsMoveTo, quadTo, setLastCX, setLastCY, setLastX, setLastY, smoothCurveTo, smoothQuadToMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jhotdraw8.geom.PathBuilder
circle, counterClockwiseCircle, curveTo, lineTo, moveTo, pathDone, quadTo, smoothCurveTo, smoothQuadTo
-
Constructor Details
-
AffineTransformPathBuilder
-
AffineTransformPathBuilder
-
-
Method Details
-
doClosePath
protected void doClosePath(double lastX, double lastY, double lastMoveToX, double lastMoveToY) - Specified by:
doClosePathin classAbstractPathBuilder<T>
-
doCurveTo
protected void doCurveTo(double lastX, double lastY, double x1, double y1, double x2, double y2, double x3, double y3) - Specified by:
doCurveToin classAbstractPathBuilder<T>
-
doLineTo
protected void doLineTo(double lastX, double lastY, double x, double y) - Specified by:
doLineToin classAbstractPathBuilder<T>
-
doMoveTo
protected void doMoveTo(double x, double y) - Specified by:
doMoveToin classAbstractPathBuilder<T>
-
doQuadTo
protected void doQuadTo(double lastX, double lastY, double x1, double y1, double x2, double y2) - Specified by:
doQuadToin classAbstractPathBuilder<T>
-
getTransform
-
setTransform
-
build
Description copied from interface:PathBuilderBuilds something.Some implementations may guarantee a non-null return value.
-