org.robokind.impl.vision
Class PortableImageRegion
java.lang.Object
org.robokind.impl.vision.PortableImageRegion
- All Implemented Interfaces:
- ImageRegion
public class PortableImageRegion
- extends Object
- implements ImageRegion
ImageRegion implementation wrapping an ImageRegionRecord.
- Author:
- Matthew Stevenson
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PortableImageRegion
public PortableImageRegion(ImageRegionRecord region)
- Creates a new PortableImageRegion.
- Parameters:
region - ImageRegionRecord to wrap
getRegionId
public long getRegionId()
- Specified by:
getRegionId in interface ImageRegion
getX
public int getX()
- Specified by:
getX in interface ImageRegion
getY
public int getY()
- Specified by:
getY in interface ImageRegion
getWidth
public int getWidth()
- Specified by:
getWidth in interface ImageRegion
getHeight
public int getHeight()
- Specified by:
getHeight in interface ImageRegion
getImageRegionRecord
public ImageRegionRecord getImageRegionRecord()
- Returns the underlying ImageRegionRecord.
- Returns:
- underlying ImageRegionRecord
Copyright © 2011-2012. All Rights Reserved.