File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed
Sources/SwiftWin32/Animation and Haptics/Property-Based Animations Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change 1+ // Copyright © 2021 Saleem Abdulrasool <compnerd@compnerd.org>
2+ // SPDX-License-Identifier: BSD-3-Clause
3+
4+ /// Constants indicating positions within the animation.
5+ public enum ViewAnimatingPosition : Int {
6+ /// The end point of the animation. Use this constant when you want the final
7+ /// values for any animatable properties — that is, you want to refer to the
8+ /// values you specified in your animation blocks.
9+ case end
10+
11+ /// The beginning of the animation. Use this constant when you want the
12+ /// starting values for any animatable properties—that is, the values of the
13+ /// properties before you applied any animations.
14+ case start
15+
16+ /// The current position. Use this constant when you want the most recent
17+ /// value set by an animator object.
18+ case current
19+ }
You can’t perform that action at this time.
0 commit comments