org.universAAL.ui.gui.swing.bluesteelLAF.support.collapsable
Class RoundedPolygon
java.lang.Object
org.universAAL.ui.gui.swing.bluesteelLAF.support.collapsable.RoundedPolygon
public class RoundedPolygon
- extends Object
Snippet taken from http://samindaw.wordpress.com/2012/07/21/java-swing-2d-create-a-rounded-corner-polygon/
- Author:
- amedrano
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RoundedPolygon
public RoundedPolygon()
getRoundedGeneralPath
public static GeneralPath getRoundedGeneralPath(Polygon polygon,
float arcSize)
getRoundedGeneralPathFromPoints
public static GeneralPath getRoundedGeneralPathFromPoints(List<Point> l,
float arcSize)
calculatePoint
public static Point calculatePoint(Point p1,
Point p2,
float arcSize)
Copyright © 2014 universAAL Consortium. All Rights Reserved.