CastArray2DTFrom, TTo(CastArrayTFrom, TTo, Int32, Int32) Constructor
Namespace: KGySoft.CollectionsAssembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 10.0.0
public CastArray2D(
CastArray<TFrom, TTo> buffer,
int height,
int width
)
Public Sub New (
buffer As CastArray(Of TFrom, TTo),
height As Integer,
width As Integer
)
public:
CastArray2D(
CastArray<TFrom, TTo> buffer,
int height,
int width
)
new :
buffer : CastArray<'TFrom, 'TTo> *
height : int *
width : int -> CastArray2D
Parameters
- buffer CastArrayTFrom, TTo
- The desired underlying buffer for the CastArray2DTFrom, TTo instance to be created.
It must have sufficient capacity for the specified dimensions.
- height Int32
- The height of the array to be created.
- width Int32
- The width of the array to be created.