Texture Constructor (Image, IntRect)

SFML.Net

Texture Constructor (Image, IntRect)
Construct the texture from an image

Namespace: SFML.Graphics
Assembly: sfmlnet-graphics-2 (in sfmlnet-graphics-2.dll) Version: 2.2.0.0 (2.2.0)
Syntax
public Texture(
	Image image,
	IntRect area
)
Public Sub New ( 
	image As Image,
	area As IntRect
)
public:
Texture(
	Image^ image, 
	IntRect area
)
new : 
        image : Image * 
        area : IntRect -> Texture

Parameters

image
Type: SFML.GraphicsImage
Image to load to the texture
area
Type: SFML.GraphicsIntRect
Area of the image to load
Exceptions
ExceptionCondition
LoadingFailedException
See Also