View RSS Feed

Java AWT

Java Abstract Window Toolkit (AWT)

  1. Drawing Arbitrary Shapes

    by , 03-06-2012 at 07:56 PM
    This class is used to implement shape interface. It also presents geometric path that is constructed from:
    • Lines
    • Cubic Curves
    • Quadratic


    This class supports 3 constructors which creates GeneralPath. These constructors are supported by class along with default winding rule i.e. WIND_NON_ZERO, specified initial coordinate capacity and winding rule i.e. WIND_NON_ZERO or WIND_EVEN_ODD

    How to determine interior of a path is specified by using the winding rule. ...