Toggle navigation
Hot Examples
FR
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Rechercher
Accueil
Gonzo
Elements
UIElement
Draw
Gonzo.Elements.UIElement.Draw C# (CSharp) Méthode
UIElement Class Documentation
Afficher le fichier
Open project: Afr0Games/Project-Dollhouse
Draw()
public
méthode
Handles drawing logic for this UIElement.
public
Draw
(
SpriteBatch
SBatch
,
Rectangle
SourceRect
,
float
LayerDepth
) :
void
SBatch
Microsoft.Xna.Framework.Graphics.SpriteBatch
A SpriteBatch instance.
SourceRect
Microsoft.Xna.Framework.Rectangle
A source rectangle, for controlling which part of this elenent's texture is drawn.
LayerDepth
float
Depth at which to draw, may be null.
Résultat
void
public virtual void Draw(SpriteBatch SBatch, Rectangle? SourceRect, float? LayerDepth) { }
Same methods
UIElement::
Draw
(
SpriteBatch
SBatch
,
Rectangle
SourceRect
,
float
LayerDepth
,
Vector2
ScaleFactor
) :
void
UIElement::
Draw
(
SpriteBatch
SBatch
,
float
LayerDepth
) :
void
UIElement
Draw
GetLayerDepth
IsMouseOver
MouseEvents
PixelCheck
UIElement
Update