Table of Contents

Class GraphicMotionExtensions

public static class GraphicMotionExtensions
Inheritance
GraphicMotionExtensions
Inherited Members

Methods

AlphaTo<TGraphic>(TweenMotionProxy<TGraphic>, float)

Applies a AlphaMotion to the tween.

public static TweenMotionProxy<TGraphic> AlphaTo<TGraphic>(this TweenMotionProxy<TGraphic> proxy, float to) where TGraphic : Graphic

Parameters

proxy TweenMotionProxy<TGraphic>
to float

Returns

TweenMotionProxy<TGraphic>

Type Parameters

TGraphic

AlphaTo<TGraphic>(TweenMotionProxy<TGraphic>, float, float)

Applies a AlphaMotion to the tween.

public static TweenMotionProxy<TGraphic> AlphaTo<TGraphic>(this TweenMotionProxy<TGraphic> proxy, float from, float to) where TGraphic : Graphic

Parameters

proxy TweenMotionProxy<TGraphic>
from float
to float

Returns

TweenMotionProxy<TGraphic>

Type Parameters

TGraphic

Alpha<TGraphic>(TweenMotionProxy<TGraphic>, float)

Applies a AlphaMotion to the tween.

public static TweenMotionProxy<TGraphic> Alpha<TGraphic>(this TweenMotionProxy<TGraphic> proxy, float value) where TGraphic : Graphic

Parameters

proxy TweenMotionProxy<TGraphic>
value float

Returns

TweenMotionProxy<TGraphic>

Type Parameters

TGraphic

ColorTo<TGraphic>(TweenMotionProxy<TGraphic>, Color)

Applies a ColorMotion to the tween.

public static TweenMotionProxy<TGraphic> ColorTo<TGraphic>(this TweenMotionProxy<TGraphic> proxy, Color to) where TGraphic : Graphic

Parameters

proxy TweenMotionProxy<TGraphic>
to Color

Returns

TweenMotionProxy<TGraphic>

Type Parameters

TGraphic

ColorTo<TGraphic>(TweenMotionProxy<TGraphic>, Color, Color)

Applies a ColorMotion to the tween.

public static TweenMotionProxy<TGraphic> ColorTo<TGraphic>(this TweenMotionProxy<TGraphic> proxy, Color from, Color to) where TGraphic : Graphic

Parameters

proxy TweenMotionProxy<TGraphic>
from Color
to Color

Returns

TweenMotionProxy<TGraphic>

Type Parameters

TGraphic

ColorTo<TGraphic>(TweenMotionProxy<TGraphic>, Gradient)

Applies a ColorGradientMotion to the tween.

public static TweenMotionProxy<TGraphic> ColorTo<TGraphic>(this TweenMotionProxy<TGraphic> proxy, Gradient gradient) where TGraphic : Graphic

Parameters

proxy TweenMotionProxy<TGraphic>
gradient Gradient

Returns

TweenMotionProxy<TGraphic>

Type Parameters

TGraphic

Color<TGraphic>(TweenMotionProxy<TGraphic>, Color)

Applies a ColorMotion to the tween.

public static TweenMotionProxy<TGraphic> Color<TGraphic>(this TweenMotionProxy<TGraphic> proxy, Color value) where TGraphic : Graphic

Parameters

proxy TweenMotionProxy<TGraphic>
value Color

Returns

TweenMotionProxy<TGraphic>

Type Parameters

TGraphic