C# Class MonoGameUi.Image

Inheritance: Control
Afficher le fichier Open project: OctoAwesome/monogameui Class Usage Examples

Méthodes publiques

Méthode Description
CalculcateRequiredClientSpace ( Point available ) : Point

Ist für die Berechnung des Client-Contents zuständig und erleichtert das automatische Alignment.

Image ( BaseScreenComponent manager, string style = "" ) : Microsoft.Xna.Framework

Erzeugt eine neue Instanz eines Bildsteuerlements.

Méthodes protégées

Méthode Description
OnDrawContent ( SpriteBatch batch, Rectangle area, GameTime gameTime, float alpha ) : void

Malt den Content des Controls.

Method Details

CalculcateRequiredClientSpace() public méthode

Ist für die Berechnung des Client-Contents zuständig und erleichtert das automatische Alignment.
public CalculcateRequiredClientSpace ( Point available ) : Point
available Microsoft.Xna.Framework.Point
Résultat Microsoft.Xna.Framework.Point

Image() public méthode

Erzeugt eine neue Instanz eines Bildsteuerlements.
public Image ( BaseScreenComponent manager, string style = "" ) : Microsoft.Xna.Framework
manager BaseScreenComponent Der verwendete
style string (Optional) Der zu verwendende Style.
Résultat Microsoft.Xna.Framework

OnDrawContent() protected méthode

Malt den Content des Controls.
protected OnDrawContent ( SpriteBatch batch, Rectangle area, GameTime gameTime, float alpha ) : void
batch Microsoft.Xna.Framework.Graphics.SpriteBatch Spritebatch.
area Microsoft.Xna.Framework.Rectangle Bereich für den Content in absoluten Koordinaten.
gameTime Microsoft.Xna.Framework.GameTime GameTime.
alpha float Die Transparenz des Controls.
Résultat void