Creates the tiles by cutting the Bitmap.

Namespace:  SGP.XSpace
Assembly:  SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825

Syntax

C#
public static XTextureTiles CreateTextureTiles(
	Bitmap bitmap,
	int countX
)

Parameters

bitmap
Type: System.Drawing..::.Bitmap
The source Bitmap image.
countX
Type: System..::.Int32
The number of tiles in the X axis.

Return Value

Returns the cut XTextureTiles texture tiles.

Exceptions

ExceptionCondition
System..::.ArgumentNullException bitmap is nullNothingnullptra null reference (Nothing in Visual Basic).

See Also