Texture Constructor (Stream, IntRect)

SFML.Net

Texture Constructor (Stream, IntRect)
Construct the texture from a file in a stream

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

Parameters

stream
Type: System.IOStream
Stream containing the file contents
area
Type: SFML.GraphicsIntRect
Area of the image to load
Exceptions
ExceptionCondition
LoadingFailedException
See Also