org.gscg.gameleader.animation2D
Class SingleImageDataElement
java.lang.Object
org.gscg.gameleader.animation2D.ImageDataElement
org.gscg.gameleader.animation2D.SingleImageDataElement
- All Implemented Interfaces:
- ImageDataInterface, java.io.Serializable
- public class SingleImageDataElement
- extends ImageDataElement
The SingleImageDataElement contains the data for a single image renderable
which can be displayed on a remote animation panel.
Copyright (c) 2003-2005 Delft University of Technology, Jaffalaan 5, 2628 BX
Delft, the Netherlands. All rights reserved.
See for project information
www.simulation.tudelft.nl .
The source code and binary code of this software is proprietary information
of Delft University of Technology.
- Since:
- 1.0
- Version:
- $Revision: 1.1 $ $Date: 2005/06/16 12:34:03 $
- Author:
- Stijn-Pieter
van Houten
- See Also:
- Serialized Form
Constructor Summary |
SingleImageDataElement(java.lang.String type,
java.lang.String key,
java.lang.String image,
nl.tudelft.simulation.language.d3.DirectedPoint location,
java.awt.Dimension dimension,
boolean flip,
short orientation,
boolean rotate,
boolean scale,
boolean translate)
constructs a new ImageDataElement |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SingleImageDataElement
public SingleImageDataElement(java.lang.String type,
java.lang.String key,
java.lang.String image,
nl.tudelft.simulation.language.d3.DirectedPoint location,
java.awt.Dimension dimension,
boolean flip,
short orientation,
boolean rotate,
boolean scale,
boolean translate)
- constructs a new ImageDataElement
- Parameters:
type
- the type of the imagekey
- the keyimage
- the name of the imagelocation
- the locationdimension
- the dimension of the imageflip
- boolean for fliporientation
- the orientationrotate
- boolean for rotationscale
- boolean for scaletranslate
- boolean for translation
getDimension
public java.awt.Dimension getDimension()
- Returns:
- returns the dimension of the image
isFlip
public boolean isFlip()
- Returns:
- returns the boolean for flipping
getOrientation
public short getOrientation()
- Returns:
- returns the orientation
isRotate
public boolean isRotate()
- Returns:
- returns the boolean for rotating
isScale
public boolean isScale()
- Returns:
- returns the boolean for scaling
isTranslate
public boolean isTranslate()
- Returns:
- returns the boolean for translation
Copyright © 2002-2005 Delft University of Technology, the Netherlands. All Rights Reserved.