Package com.treemap.swing.tagcloud
Class SwingTextShape
java.lang.Object
com.treemap.swing.tagcloud.SwingTextShape
- All Implemented Interfaces:
com.macrofocus.geom.Shape,TextShape
Created by luc on 01.05.17.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancontains(com.macrofocus.geom.Point2D p) final com.macrofocus.geom.ShapecreateTransformedShape(com.macrofocus.geom.AffineTransform at) com.macrofocus.geom.Rectangle2Dcom.macrofocus.geom.PathIteratorgetFlattenPathIterator(double flatness) com.macrofocus.igraphics.CPFontgetFont()com.macrofocus.geom.PathIteratorcom.macrofocus.geom.PathIteratorgetPathIterator(com.macrofocus.geom.AffineTransform at) getText()booleanintersects(com.macrofocus.geom.Rectangle2D r) booleanMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.macrofocus.geom.Shape
getBounds
-
Constructor Details
-
SwingTextShape
-
-
Method Details
-
getText
-
getFont
public com.macrofocus.igraphics.CPFont getFont() -
isTextOutline
public boolean isTextOutline()- Specified by:
isTextOutlinein interfaceTextShape
-
getBounds2D
public com.macrofocus.geom.Rectangle2D getBounds2D()- Specified by:
getBounds2Din interfacecom.macrofocus.geom.Shape
-
contains
public boolean contains(com.macrofocus.geom.Point2D p) - Specified by:
containsin interfacecom.macrofocus.geom.Shape
-
intersects
public boolean intersects(com.macrofocus.geom.Rectangle2D r) - Specified by:
intersectsin interfacecom.macrofocus.geom.Shape
-
getPathIterator
public com.macrofocus.geom.PathIterator getPathIterator(com.macrofocus.geom.AffineTransform at) - Specified by:
getPathIteratorin interfacecom.macrofocus.geom.Shape
-
getPathIterator
public com.macrofocus.geom.PathIterator getPathIterator()- Specified by:
getPathIteratorin interfacecom.macrofocus.geom.Shape
-
getFlattenPathIterator
public com.macrofocus.geom.PathIterator getFlattenPathIterator(double flatness) - Specified by:
getFlattenPathIteratorin interfacecom.macrofocus.geom.Shape
-
createTransformedShape
public final com.macrofocus.geom.Shape createTransformedShape(com.macrofocus.geom.AffineTransform at) - Specified by:
createTransformedShapein interfaceTextShape
-