Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## Class PathSegment

    java.lang.Object
      PathSegment

    public class PathSegment

extends Object

This class represents a displayable path segment it has a color, width, and a Line2D object Copyright Georgia Institute of Technology 2005

Author:
  Barb Ericson ericson@cc.gatech.edu

Constructor Summary
`PathSegment(Color theColor, int theWidth, Line2D.Float theLine)` Constructor that takes the color, width, and line

Method Summary
`void` | `paintComponent(Graphics g)` Method to paint this path segment

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### PathSegment

    public PathSegment(Color theColor,
                       int theWidth,
                       Line2D.Float theLine)

  Constructor that takes the color, width, and line

Method Detail

### paintComponent

    public void paintComponent(Graphics g)

  Method to paint this path segment

  Parameters:
    `g` - the graphics context

Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD