ch.sahits.game.graphic.display.util
Class PerspectiveImage

java.lang.Object
  extended by ch.sahits.game.graphic.display.util.PerspectiveImage

public final class PerspectiveImage
extends Object

A perspective image is a rectangular that is distored and becomes a quadrangle.

Author:
Andi Hotz, (c) Sahits GmbH, 2011 Created on Feb 26, 2011

Field Summary
private  Point bottomLeft
           
private  Point bottomRight
           
private  Point topLef
           
private  Point topRight
           
 
Constructor Summary
PerspectiveImage(Point topLef, Point topRight, Point bottomLeft, Point bottomRight)
           
 
Method Summary
 Point getBottomLeft()
           
 Point getBottomRight()
           
 Point getTopLef()
           
 Point getTopRight()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

topLef

private final Point topLef

topRight

private final Point topRight

bottomLeft

private final Point bottomLeft

bottomRight

private final Point bottomRight
Constructor Detail

PerspectiveImage

public PerspectiveImage(Point topLef,
                        Point topRight,
                        Point bottomLeft,
                        Point bottomRight)
Method Detail

getTopLef

public Point getTopLef()

getTopRight

public Point getTopRight()

getBottomLeft

public Point getBottomLeft()

getBottomRight

public Point getBottomRight()


Copyright © 2011 Sahits GmbH. All Rights Reserved.