Class BirthdayExtension.Gift
- java.lang.Object
-
- org.openstreetmap.josm.gui.animation.BirthdayExtension.Gift
-
- Enclosing class:
- BirthdayExtension
private final class BirthdayExtension.Gift extends java.lang.Object
Creates a gift with a position, radius, updates position and renders the image
-
-
Field Summary
Fields Modifier and Type Field Description (package private) BirthdayExtension.Circle
circle
(package private) java.awt.Image
myImage
(package private) int
offsX
(package private) int
offsY
-
Constructor Summary
Constructors Modifier Constructor Description private
Gift()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) void
render(java.awt.Graphics g)
(package private) void
setPosition(double x, double y)
(package private) void
setRadius(double radius)
(package private) void
update()
-
-
-
Field Detail
-
myImage
java.awt.Image myImage
-
circle
BirthdayExtension.Circle circle
-
offsX
int offsX
-
offsY
int offsY
-
-
Constructor Detail
-
Gift
private Gift()
-
-
Method Detail
-
setPosition
void setPosition(double x, double y)
-
setRadius
void setRadius(double radius)
-
update
void update()
-
render
void render(java.awt.Graphics g)
-
-