Méthode | Description | |
---|---|---|
GetInertialMotionParameters ( |
Gets inertial motion parameters: distance and duration.
|
|
MoveToPoint ( Point point ) : void |
Saves the last position of the moved element.
|
|
StartMotion ( Point point ) : void |
An element starts its motion.
|
Méthode | Description | |
---|---|---|
EnsureEndPointInBounds ( Vector2 vector, |
Ensures the end point is in bounds.
|
public GetInertialMotionParameters ( |
||
hostBounds | The host bounds. | |
windowBounds | The window bounds. | |
Résultat |
public MoveToPoint ( Point point ) : void | ||
point | Point | Current position. |
Résultat | void |
public StartMotion ( Point point ) : void | ||
point | Point | The starting point of the motion. |
Résultat | void |