|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface InteractiveImage
This defines methods used by interactive drawable images.
Method Summary | |
---|---|
double |
getAngle()
Gets the angle in radians of the image base measured ccw from the world x-axis. |
ImageCoordSystem |
getCoords()
Gets the image coordinate system. |
double |
getHeight()
Gets the height of the image in world units. |
double |
getRelativeAspect()
Gets the relative aspect of the displayed image. |
double |
getWidth()
Gets the width of the image in world units. |
void |
setAngle(double theta)
Sets the angle in radians of the image base measured ccw from the world x-axis. |
void |
setCoords(ImageCoordSystem coords)
Sets the image coordinate system. |
void |
setHeight(double height)
Sets the height of the image in world units. |
void |
setRelativeAspect(double relativeAspect)
Sets the relative aspect of the displayed image. |
void |
setWidth(double width)
Sets the width of the image in world units. |
Methods inherited from interface org.opensourcephysics.display.Interactive |
---|
findInteractive, getX, getY, isEnabled, setEnabled, setX, setXY, setY |
Methods inherited from interface org.opensourcephysics.display.Measurable |
---|
getXMax, getXMin, getYMax, getYMin, isMeasured |
Methods inherited from interface org.opensourcephysics.display.Drawable |
---|
draw |
Methods inherited from interface org.opensourcephysics.media.core.DrawableImage |
---|
getFilterStack, getImage, getProperty, getPropertyNames, isVisible, setFilterStack, setProperty, setVisible |
Method Detail |
---|
void setRelativeAspect(double relativeAspect)
relativeAspect
- the world aspect of the image relative to its pixel aspect.double getRelativeAspect()
setRelativeAspect(double)
void setWidth(double width)
width
- the width in world unitssetRelativeAspect(double)
double getWidth()
void setHeight(double height)
height
- the height in world unitssetRelativeAspect(double)
double getHeight()
void setAngle(double theta)
theta
- the angle in radiansdouble getAngle()
ImageCoordSystem getCoords()
void setCoords(ImageCoordSystem coords)
coords
- the image coordinate system
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |