Class DropImage
java.lang.Object
org.openstreetmap.josm.gui.animation.DropImage
- All Implemented Interfaces:
IAnimObject
A random image displayed when
ChristmasExtension is active.- Since:
- 18929
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
seed
-
averageFallSpeed
- See Also:
-
w
-
h
-
edge
-
fallSpeed
-
image
-
-
Constructor Details
-
DropImage
DropImage(int w, int h)
-
-
Method Details
-
paint
Description copied from interface:IAnimObjectPaint the object- Specified by:
paintin interfaceIAnimObject- Parameters:
g- the graphics object to paint to
-
setExtend
Description copied from interface:IAnimObjectSet the extend when window size changed- Specified by:
setExtendin interfaceIAnimObject- Parameters:
w- window widthh- window height
-
animate
Description copied from interface:IAnimObjectAnimate the object - Cause next step of animation- Specified by:
animatein interfaceIAnimObject
-
getImage
-