Created
September 1, 2015 20:53
-
-
Save anonymous/0badad57816042b48b74 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public ResizeHeightTranslation( Duration duration, Region region, double newHeight ) { | |
setCycleDuration(duration); | |
this.region = region; | |
this.newHeight = newHeight; | |
this.startHeight = region.getHeight(); | |
this.heightDiff = newHeight - startHeight; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment