CompositionEasingFunction.CreateElasticEasingFunction Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a new instance of ElasticEasingFunction.
public:
static ElasticEasingFunction ^ CreateElasticEasingFunction(Compositor ^ owner, CompositionEasingFunctionMode mode, int oscillations, float springiness);
static ElasticEasingFunction CreateElasticEasingFunction(Compositor const& owner, CompositionEasingFunctionMode const& mode, int const& oscillations, float const& springiness);
public static ElasticEasingFunction CreateElasticEasingFunction(Compositor owner, CompositionEasingFunctionMode mode, int oscillations, float springiness);
function createElasticEasingFunction(owner, mode, oscillations, springiness)
Public Shared Function CreateElasticEasingFunction (owner As Compositor, mode As CompositionEasingFunctionMode, oscillations As Integer, springiness As Single) As ElasticEasingFunction
Parameters
- owner
- Compositor
The compositor used to create the easing function.
A value that specifies how the animation interpolates.
- oscillations
-
Int32
int
The number of times the target slides back and forth over the animation destination.
- springiness
-
Single
float
The stiffness of the spring. The smaller the springiness value is, the stiffer the spring and the faster the elasticity decreases in intensity over each oscillation.
Returns
The created ElasticEasingFunction
object.