Object AwtShapes

  • All Implemented Interfaces:

    
    public class AwtShapes
    
                        

    Collection of extensions to Java AWT meant to simplify its usage as geometric engine.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      public final static AwtShapes INSTANCE
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final List<Euclidean2DPosition> vertices(Shape $self) Obtains the vertices of a polygonal shape.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • vertices

         final List<Euclidean2DPosition> vertices(Shape $self)

        Obtains the vertices of a polygonal shape. Any curved segment connecting two points will be considered as a straight line between them.