Class
RadPlaneProjectionAnimation

Defines animation that changes the perspective of the target element.

Definition

Constructors

RadPlaneProjectionAnimation()

Initializes a new instance of the RadPlaneProjectionAnimation class.

Declaration

cs-api-definition
public RadPlaneProjectionAnimation()

Properties

Axes

Gets or sets the axes along which rotation should occur.

Declaration

cs-api-definition
public PerspectiveAnimationAxis Axes { get; set; }

Property Value

PerspectiveAnimationAxis

CenterX

Gets or sets the center of the rotation along the X axis.

Declaration

cs-api-definition
public double? CenterX { get; set; }

Property Value

double?

CenterY

Gets or sets the center of the rotation along the Y axis.

Declaration

cs-api-definition
public double? CenterY { get; set; }

Property Value

double?

CenterZ

Gets or sets the center of the rotation along the Z axis.

Declaration

cs-api-definition
public double? CenterZ { get; set; }

Property Value

double?

Direction

Gets or sets the direction of the animation. That is the rotation direction - clockwise or counter-clockwise.

Declaration

cs-api-definition
public PerspectiveAnimationDirection Direction { get; set; }

Property Value

PerspectiveAnimationDirection

EndAngleX

Gets or sets the end angle of the perspective rotation along the X axis.

Declaration

cs-api-definition
public double EndAngleX { get; set; }

Property Value

double

EndAngleY

Gets or sets the end angle of the perspective rotation along the Y axis.

Declaration

cs-api-definition
public double EndAngleY { get; set; }

Property Value

double

EndAngleZ

Gets or sets the end angle of the perspective rotation along the Z axis.

Declaration

cs-api-definition
public double EndAngleZ { get; set; }

Property Value

double

StartAngleX

Gets or sets the starting angle of the perspective rotation along the X axis.

Declaration

cs-api-definition
public double StartAngleX { get; set; }

Property Value

double

StartAngleY

Gets or sets the starting angle of the perspective rotation along the Y axis.

Declaration

cs-api-definition
public double StartAngleY { get; set; }

Property Value

double

StartAngleZ

Gets or sets the starting angle of the perspective rotation along the Z axis.

Declaration

cs-api-definition
public double StartAngleZ { get; set; }

Property Value

double

Methods

ApplyAnimationValues(PlayAnimationInfo)

Applies already stored (if any) animated values.

Declaration

cs-api-definition
protected override void ApplyAnimationValues(PlayAnimationInfo info)

Parameters

info

PlayAnimationInfo

The animation info.

Overrides RadAnimation.ApplyAnimationValues(PlayAnimationInfo)

ApplyInitialValues(UIElement)

Sets the initial animation values to the provided target element.

Declaration

cs-api-definition
public override void ApplyInitialValues(UIElement target)

Parameters

target

UIElement

The target.

Overrides RadAnimation.ApplyInitialValues(UIElement)

ClearAnimation(UIElement)

Removes any property modifications, applied to the specified element by this instance.

Declaration

cs-api-definition
public override void ClearAnimation(UIElement target)

Parameters

target

UIElement

The element which property values are to be cleared.

Overrides RadAnimation.ClearAnimation(UIElement)

Remarks

It is assumed that the element has been previously animated by this animation.

CreateOpposite()

Creates a new instance of this animation that is the reverse of this instance.

Declaration

cs-api-definition
public override RadAnimation CreateOpposite()

Returns

RadAnimation

A new instance of this animation that is the reverse of this instance.

Overrides RadAnimation.CreateOpposite()

CreateOpposite(ReverseMode)

Creates a new instance of this animation that is the reverse of this instance.

Declaration

cs-api-definition
public RadAnimation CreateOpposite(ReverseMode mode)

Parameters

mode

ReverseMode

The mode.

Returns

RadAnimation

A new instance of this animation that is the reverse of this instance.

UpdateAnimationOverride(AnimationContext)

Core update routine.

Declaration

cs-api-definition
protected override void UpdateAnimationOverride(AnimationContext context)

Parameters

context

AnimationContext

The context that holds information about the animation.

Overrides RadAnimation.UpdateAnimationOverride(AnimationContext)