GP
Interface Orientable
- All Known Subinterfaces:
- Graphic
- public interface Orientable
This defines the interface for all object that have an orientation
associated with them.
SetOrientation
public void SetOrientation(Orientation orientation)
- This method should set the current orientation of the object.
- Parameters:
orientation
- the new orientation
GetOrientation
public Orientation GetOrientation()
- This method should return the current orientation of the object.
- Returns:
- the current orientation of the object
Turn
public void Turn(double angle)
Turn
public void Turn(Value change)
Turn
public void Turn(Orientation change)
Turn
public void Turn(double angle,
Position pivot)
Turn
public void Turn(Value change,
Position pivot)
Turn
public void Turn(Orientation change,
Position pivot)
GetPivot
public Position GetPivot()