GP.Graphics
Class Rectangle

java.lang.Object
  |
  +--GP.Graphics.Shape
        |
        +--GP.Graphics.Rectangle
All Implemented Interfaces:
Behavioral, Colorable, Graphic, Movable, Orientable, Originable, Playable, Positionable, Reactive, Refreshable, Scalable, Selectable, Viewable
Direct Known Subclasses:
RoundedRectangle, ThreeDRectangle, ThreeDRectangleDown

public class Rectangle
extends Shape


Fields inherited from class GP.Graphics.Shape
ourNumShapes
 
Constructor Summary
Rectangle()
           
Rectangle(Container container)
           
Rectangle(Rectangle rect)
           
 
Method Summary
 Graphic Copy()
           
 void SetOppositeCorners(Position one, Position two)
           
 
Methods inherited from class GP.Graphics.Shape
Act, AddBehavior, ApplyBehaviors, ApplyInstincts, DeSelect, equals, Fill, Frame, GetApplet, GetBoxBoundedSize, GetColor, GetContainer, GetCurrentTime, GetFillStyle, GetOrientation, GetPivot, GetPosition, GetSize, Hide, IsPositionInside, IsVisible, Move, Move, Move, MoveBackward, MoveForward, MoveToBack, MoveToFront, Pause, Play, PositionIsOnlyInsideMe, PreferedSize, React, Refresh, RemoveAllBehaviors, RemoveBehavior, ReplaceAllBehaviors, Scale, Scale, Scale, Select, SetColor, SetContainer, SetFillStyle, SetOrientation, SetPivot, SetPosition, SetSize, Show, Show, Start, Stop, toString, Turn, Turn, Turn, Turn, Turn, Turn
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Rectangle

public Rectangle()

Rectangle

public Rectangle(Container container)

Rectangle

public Rectangle(Rectangle rect)
Method Detail

Copy

public Graphic Copy()
Overrides:
Copy in class Shape

SetOppositeCorners

public void SetOppositeCorners(Position one,
                               Position two)