KeySpline KeySpline KeySpline Class

Represents a spline key frame to define animation progress.

Syntax

Declaration

public sealed class KeySplinepublic sealed class KeySplinePublic NotInheritable Class KeySpline
<KeySpline .../>

Inheritance Hierarchy

Constructors summary

Initializes a new instance of the KeySpline class.

Properties summary

Gets or sets the first control point used to define a Bezier curve that describes a KeySpline.

Gets or sets the second control point used to define a Bezier curve that describes a KeySpline.

Constructors

  • KeySpline()
    KeySpline()
    KeySpline()
    KeySpline()

    Initializes a new instance of the KeySpline class.

    public KeySpline()public New()Public Sub New()public KeySpline()

Properties

  • ControlPoint1
    ControlPoint1
    ControlPoint1
    ControlPoint1

    Gets or sets the first control point used to define a Bezier curve that describes a KeySpline.

    public Point ControlPoint1 { get; set; }public Point ControlPoint1 { get; set; }Public ReadWrite Property ControlPoint1 As Pointpublic Point ControlPoint1 { get; set; }
    <KeySpline ControlPoint1="x,y"/>
    

    Property Value

  • ControlPoint2
    ControlPoint2
    ControlPoint2
    ControlPoint2

    Gets or sets the second control point used to define a Bezier curve that describes a KeySpline.

    public Point ControlPoint2 { get; set; }public Point ControlPoint2 { get; set; }Public ReadWrite Property ControlPoint2 As Pointpublic Point ControlPoint2 { get; set; }
    <KeySpline ControlPoint2="x,y"/>
    

    Property Value

Device family

Windows 10 (introduced v10.0.10240.0)

API contract

Windows.Foundation.UniversalApiContract (introduced v1)

Attributes

Windows.Foundation.Metadata.ActivatableAttribute
Windows.Foundation.Metadata.ContractVersionAttribute
Windows.Foundation.Metadata.MarshalingBehaviorAttribute
Windows.Foundation.Metadata.ThreadingAttribute
Windows.Foundation.Metadata.WebHostHiddenAttribute

Details

Assembly

Windows.UI.Xaml.Media.Animation.dll