C# Class MonoGameUi.Image

Inheritance: Control
Datei anzeigen Open project: OctoAwesome/monogameui Class Usage Examples

Public Methods

Method 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.

Protected Methods

Method Description
OnDrawContent ( SpriteBatch batch, Rectangle area, GameTime gameTime, float alpha ) : void

Malt den Content des Controls.

Method Details

CalculcateRequiredClientSpace() public method

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
return Microsoft.Xna.Framework.Point

Image() public method

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.
return Microsoft.Xna.Framework

OnDrawContent() protected method

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.
return void