Skip to content

Instantly share code, notes, and snippets.

@matthieu-D
Last active May 23, 2017 14:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save matthieu-D/e861ee8e873563f0d9e2d5da74d0099b to your computer and use it in GitHub Desktop.
Save matthieu-D/e861ee8e873563f0d9e2d5da74d0099b to your computer and use it in GitHub Desktop.
initAnimations () {
var drawableResizeIncreaseAnimationX = new AR.PropertyAnimation(this.markerDrawable, 'scale.x', null, 3,
this.RESIZE_DURATION, new AR.EasingCurve(AR.CONST.EASING_CURVE_TYPE.LINEAR));
var drawableResizeIncreaseAnimationY = new AR.PropertyAnimation(this.markerDrawable, 'scale.y', null, 3,
this.RESIZE_DURATION, new AR.EasingCurve(AR.CONST.EASING_CURVE_TYPE.LINEAR));
var drawableResizeDecreaseAnimationX = new AR.PropertyAnimation(this.markerDrawable, 'scale.x', null, 1,
this.RESIZE_DURATION, new AR.EasingCurve(AR.CONST.EASING_CURVE_TYPE.LINEAR));
var drawableResizeDecreaseAnimationY = new AR.PropertyAnimation(this.markerDrawable, 'scale.y', null, 1,
this.RESIZE_DURATION, new AR.EasingCurve(AR.CONST.EASING_CURVE_TYPE.LINEAR));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment