Upgrade to Pro — share decks privately, control downloads, hide ads and more …

はじめてのKenBurnsEffect

 はじめてのKenBurnsEffect

第14回 potatotips (iOS/Android開発Tips共有会) での発表資料

Yoichi Nishimura

February 18, 2015
Tweet

More Decks by Yoichi Nishimura

Other Decks in Technology

Transcript

  1. Ξχϝʔγϣϯ͸7JFX1SPQFSUZ"OJNBUPSͰ // Ξχϝʔγϣϯͷॳظঢ়ଶ΋ϥϯμϜͰੜ੒͠ɺ͜ͷલͰઃఆ͢Δ ViewPropertyAnimator animator = view.animate() .translationX(toTranslationX) .translationY(toTranslationY) .scaleX(toScale)

    .scaleY(toScale) .setDuration(duration); animator.start(); w ը૾αΠζͱཚ਺Λ࢖ͬͯ4DBMFͱ5SBOTMBUJPOΛܾఆͤ͞Δ w ͦͷ৘ใΛ࢖ͬͯ7JFX1SPQFSUZ"OJNBUPSͰΞχϝʔγϣϯ
  2. ̏ ̎ ը૾ͷݟͤํʢ/ͷ৔߹ʣ ̍ ࣌ؒͷྲྀΕ ̏ ̎ ̍ ̏ ̎

    ̍ w ֤૚ͷը૾ͷBMQIBΛ͍ͬͯ͡ը૾͕ೖΕସΘΔΑ͏ʹݟ͍ͤͯΔ