Creates the Bitmap bitmap from the Texture.
Namespace:
SGP.XSpaceAssembly: SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825
Syntax
Parameters
- texture
- Type: Texture
Texture the bitmap will be created from.
- x
- Type: System..::.Int32
The X coordinate of the texture left upper corner.
- y
- Type: System..::.Int32
The Y coordinate of the texture left upper corner.
- width
- Type: System..::.Int32
Width of the created bitmap.
- height
- Type: System..::.Int32
Height of the created bitmap.
Return Value
Created bitmap.
Exceptions
Exception | Condition |
---|---|
System..::.ArgumentNullException | texture is nullNothingnullptra null reference (Nothing in Visual Basic). |