public class ImageNut extends NutWrapper
This class wraps a Nut
that corresponds to an image and provide its position inside a combination.
Constructor and Description |
---|
ImageNut(ConvertibleNut image,
Region r)
Builds a new instance.
|
Modifier and Type | Method and Description |
---|---|
Region |
getRegion()
Gets the region.
|
addReferencedNut, addTransformer, getName, getNutType, getOriginalNuts, getReadyCallbacks, getReferencedNuts, getTransformers, isCompressed, isDynamic, isSubResource, isTransformed, onReady, openStream, setIsCompressed, setIsSubResource, setNutName, setNutType, transform
equals, getInitialName, getInitialNutType, getParentFile, getProxyUri, getVersionNumber, hashCode, setProxyUri, setVersionNumber, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getInitialName, getInitialNutType, getParentFile, getProxyUri, getVersionNumber, setProxyUri
public ImageNut(ConvertibleNut image, Region r)
Builds a new instance.
image
- the nut to wrapr
- the image's regionpublic Region getRegion()
Gets the region.
Copyright © 2012-2015. All Rights Reserved.