Environment.DrawTexture Method

Draws a texture.
Protected Sub DrawTexture( _ 
ByVal texture As TextureBase, _ 
ByVal x As Integer, _ 
ByVal y As Integer, _ 
ByVal align As ContentAlignment, _ 
Optional ByVal flipY As Boolean = false _ 
)
This language is not supported or no code example is available.
protected void DrawTexture( 
TextureBase texture
int x
int y
ContentAlignment align
bool flipY = false 
)
This language is not supported or no code example is available.

Parameters

texture
TextureBase

The texture to draw

x
int

The texture x position

y
int

The texture y position

align
ContentAlignment

The texture alignment

flipY
bool

If true, flips the image in the Y direction

.NET Framework

Supported in: 4.5, 4.6, 4.7

In this article

Definition