Skip to content

Commit 4b90bbd

Browse files
authored
Update FMXBezierAnimation.md
1 parent 3c80fd8 commit 4b90bbd

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

Documents/FMXBezierAnimation.md

+9
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
11
## [TFMXBezierAnimation](https://github.com/zhaoyipeng/FMXComponents/wiki/FMXBezierAnimation)
22

33
![FMXBezierAnimation](../SnapShots/FMXBezierAnimation.gif)
4+
5+
TFMXBezierAnimation component inherit from TFloatAnimation, you can just drop a TFMXBezierAnimation component same as TFloatAnimation.
6+
7+
use these code to set the cubic-bezier parameters
8+
```pascal
9+
BezierAnimation1.Duration := duration;
10+
BezierAnimation1.SetData(X1, Y1, X2, Y2);
11+
BezierAnimation1.Start;
12+
```

0 commit comments

Comments
 (0)