edu.umd.cs.piccolox.swt
Class SWTShapeManager
java.lang.Object
edu.umd.cs.piccolox.swt.SWTShapeManager
public class SWTShapeManager
- extends Object
- Author:
- Lance Good
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IDENTITY_XFORM
static AffineTransform IDENTITY_XFORM
aPoint
static Point2D aPoint
segList
static ArrayList segList
pts
static double[] pts
SWTShapeManager
public SWTShapeManager()
transform
public static void transform(Rectangle2D rect,
AffineTransform at)
- Apply the specified transform to the specified rectangle, modifying the
rect.
- Parameters:
rect
- The rectangle to be transformedat
- The transform to use to transform the rectangle
awtToSWT
public static void awtToSWT(Rectangle2D aRect,
org.eclipse.swt.graphics.Rectangle sRect)
shapeToPolyline
public static double[] shapeToPolyline(Shape s)
transform
public static int[] transform(double[] pts,
AffineTransform at)
Copyright © 1995-2011 Piccolo2D. All Rights Reserved.