gov.nasa.worldwind.render
Class ScreenCreditImage
java.lang.Object
gov.nasa.worldwind.avlist.AVListImpl
gov.nasa.worldwind.render.ScreenImage
gov.nasa.worldwind.render.ScreenCreditImage
- All Implemented Interfaces:
- AVList, Exportable, Renderable, ScreenCredit
public class ScreenCreditImage
- extends ScreenImage
- implements ScreenCredit
Fields inherited from class gov.nasa.worldwind.render.ScreenImage |
awtScreenLocation, color, dx, dy, frameNumber, height, imageOffset, imageSource, opacity, orderedImage, originalImageHeight, originalImageWidth, pickLayer, pickSupport, rotation, rotationOffset, rotationPoint, screenLocation, screenOffset, size, texture, width |
Methods inherited from class gov.nasa.worldwind.render.ScreenImage |
computeOffsets, doRender, draw, export, exportAsKML, getColor, getImageOffset, getImageSource, getOpacity, getRotation, getRotationOffset, getScreenLocation, getScreenLocation, getScreenOffset, getSize, getTexture, initializeTexture, isExportFormatSupported, pick, render, setColor, setImageOffset, setImageSource, setOpacity, setRotation, setRotationOffset, setScreenLocation, setScreenOffset, setSize |
Methods inherited from class gov.nasa.worldwind.avlist.AVListImpl |
addPropertyChangeListener, addPropertyChangeListener, clearList, copy, firePropertyChange, firePropertyChange, getBooleanValue, getBooleanValue, getChangeSupport, getDoubleValue, getDoubleValue, getEntries, getIntegerValue, getIntegerValue, getLongValue, getLongValue, getRestorableStateForAVPair, getStringValue, getStringValue, getStringValue, getValue, getValues, hasKey, removeKey, removePropertyChangeListener, removePropertyChangeListener, setValue, setValues |
ScreenCreditImage
public ScreenCreditImage(String name,
Object imageSource)
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
getImageHeight
public int getImageHeight(DrawContext dc)
- Description copied from class:
ScreenImage
- Returns the height of the image after dynamic scaling has been applied. If no image has been specified, but a
dimension has been specified, the height of the dimension is returned.
- Overrides:
getImageHeight
in class ScreenImage
- Parameters:
dc
- the current draw context.
- Returns:
- the source image height after scaling.
- See Also:
ScreenImage.getSize()
getImageWidth
public int getImageWidth(DrawContext dc)
- Description copied from class:
ScreenImage
- Returns the width of the source image after dynamic scaling has been applied. If no image has been specified, but
a dimension has been specified, the width of the dimension is returned.
- Overrides:
getImageWidth
in class ScreenImage
- Parameters:
dc
- the current draw context.
- Returns:
- the source image width after scaling.
- See Also:
ScreenImage.getSize()
getLink
public String getLink()
- Specified by:
getLink
in interface ScreenCredit
getName
public String getName()
getViewport
public Rectangle getViewport()
- Specified by:
getViewport
in interface ScreenCredit
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
setLink
public void setLink(String link)
- Specified by:
setLink
in interface ScreenCredit
setName
public void setName(String name)
setViewport
public void setViewport(Rectangle viewport)
- Specified by:
setViewport
in interface ScreenCredit