C# Class Ensage.Common.Menu.Draw.OnOffCircleSlider

The on off.
Afficher le fichier Open project: EnsageSharp/Ensage.Common

Private Properties

Свойство Type Description

Méthodes publiques

Méthode Description
Draw ( Vector2 mousePosition ) : void

The draw.

LeftButtonDown ( Vector2 mousePosition ) : void

The left button down.

LeftButtonUp ( ) : void

The left button up.

OnOffCircleSlider ( SharpDX.Color onColor, SharpDX.Color offColor, float height, bool enabled ) : Ensage.Common.Menu.Transitions

Initializes a new instance of the OnOffCircleSlider class.

Method Details

Draw() public méthode

The draw.
public Draw ( Vector2 mousePosition ) : void
mousePosition Vector2 /// The mouse position. ///
Résultat void

LeftButtonDown() public méthode

The left button down.
public LeftButtonDown ( Vector2 mousePosition ) : void
mousePosition Vector2 /// The mouse position. ///
Résultat void

LeftButtonUp() public méthode

The left button up.
public LeftButtonUp ( ) : void
Résultat void

OnOffCircleSlider() public méthode

Initializes a new instance of the OnOffCircleSlider class.
public OnOffCircleSlider ( SharpDX.Color onColor, SharpDX.Color offColor, float height, bool enabled ) : Ensage.Common.Menu.Transitions
onColor SharpDX.Color /// The on color. ///
offColor SharpDX.Color /// The off color. ///
height float /// The height. ///
enabled bool /// The enabled. ///
Résultat Ensage.Common.Menu.Transitions