NSPanel 파생 창을 페이드 인으로 움직이면서 (화면의 바깥 쪽에서 안쪽으로 이동) 그런 애니메이션을 만드는 방법은 무엇입니까? 난 내 자신에 이런 짓을 적이NSPanel : double animation
1
A
답변
2
당신의 도움에 미리
감사합니다,
감사합니다. 그리고 슬라이딩이 충분해야한다고 생각하는 동안 시도는 다음과 같습니다.
- 불투명하지 않은 창이 필요합니다.
setOpaque:
을 사용하고 아니오로 설정하십시오. - 창 내용보기는 계층으로 백업되어야합니다.
setWantsLayer:
을 사용하고 YES로 설정하십시오 (적어도 애니메이션 중에). - 는
1
NSViewAnimation이 두 가지를 한 번에 수행 할 수있는 윈도우의 프레임과 함께 코어 애니메이션 기술을 사용하여 레이어의 불투명도를 애니메이션 [[창있는 contentView] 레이어, 그리고 그것을 작동 :
관련 문제
- 1. OrderFront있는 NSPanel
- 2. UIView animation VS core animation
- 3. VB.Net Double double to
- 4. 코코아에서 타이머를 통해 NSPanel 숨기기
- 5. PDE에서 버튼 클릭으로 NSPanel 열기
- 6. jQuery animation
- 7. UIActivityIndicatorView animation
- 8. UIImage animation
- 9. element animation
- 10. UIView animation
- 11. uibutton animation
- 12. UIImageView animation
- 13. jquery animation
- 14. double double 문제 jQuery delay()
- 15. Interlocked.CompareExchange (double, double, double)는 32 비트 OS에서 작동합니까?
- 16. jQuery Tab Fade Animation
- 17. iPhone UIImageView animation woes
- 18. iphone iads animation
- 19. jquery animation help
- 20. HTML5/CSS3 animation
- 21. Python Animation Timing
- 22. UISegmentControl 및 UITableViewController animation
- 23. Objective-C UIViewImage animation
- 24. animation with jquery
- 25. Silverlight, DeepZoom zooming animation
- 26. Jquery animation 문제
- 27. Core Animation 'flip'animation
- 28. javascript canvas animation
- 29. "animation"이없는 객체 회전
- 30. jquery animation tray