C# Class MonoGameUi.AlphaTransition

Transition zur Veränderung der Transparenz eines Steuerelements.
Inheritance: Transition
Afficher le fichier Open project: OctoAwesome/monogameui Class Usage Examples

Méthodes publiques

Méthode Description
AlphaTransition ( Control control, float>.Func curve, System.TimeSpan duration, System.TimeSpan delay, float to ) : System

Erzeugt eine neue AlphaTransition für das angegebene Control.

AlphaTransition ( Control control, float>.Func curve, System.TimeSpan duration, float to ) : System

Erzeugt eine neue AlphaTransition für das angegebene Control.

Clone ( Control control ) : Transition

Fertigt eine Kopie dieser Transition an, ersetzt aber das Zielcontrol.

Méthodes protégées

Méthode Description
ApplyValue ( Control control, float position ) : void

Wendet die Transition auf das Steuerelement an.

Method Details

AlphaTransition() public méthode

Erzeugt eine neue AlphaTransition für das angegebene Control.
public AlphaTransition ( Control control, float>.Func curve, System.TimeSpan duration, System.TimeSpan delay, float to ) : System
control Control Zielcontrol.
curve float>.Func Bewegungskurve.
duration System.TimeSpan Animationslänge.
delay System.TimeSpan Wartezeit bis zum Start der Animation.
to float Zieltransparenz des Controls.
Résultat System

AlphaTransition() public méthode

Erzeugt eine neue AlphaTransition für das angegebene Control.
public AlphaTransition ( Control control, float>.Func curve, System.TimeSpan duration, float to ) : System
control Control Zielcontrol.
curve float>.Func Bewegungskurve.
duration System.TimeSpan Animationslänge.
to float Zieltransparenz des Controls.
Résultat System

ApplyValue() protected méthode

Wendet die Transition auf das Steuerelement an.
protected ApplyValue ( Control control, float position ) : void
control Control Zielcontrol der Transition.
position float Wert im zeitlichen Ablauf der Transition.
Résultat void

Clone() public méthode

Fertigt eine Kopie dieser Transition an, ersetzt aber das Zielcontrol.
public Clone ( Control control ) : Transition
control Control Das neue Zielcontrol.
Résultat Transition