Initializes a new instance of the
ImGearRasterPage class with provided attributes.
Syntax
'Declaration
Public Function New( _
ByVal As Integer, _
ByVal As Integer, _
ByVal As ImGearColorSpace, _
ByVal () As Integer, _
ByVal As Boolean _
)
'Usage
Dim width As Integer
Dim height As Integer
Dim colorSpace As ImGearColorSpace
Dim channelDepths() As Integer
Dim allocatePixels As Boolean
Dim instance As New ImGearRasterPage(width, height, colorSpace, channelDepths, allocatePixels)
public ImGearRasterPage(
int ,
int ,
ImGearColorSpace ,
int[] ,
bool
)
public: ImGearRasterPage(
int ,
int ,
ImGearColorSpace ,
int[]* ,
bool
)
public:
ImGearRasterPage(
int ,
int ,
ImGearColorSpace ,
array<int>^ ,
bool
)
Parameters
- width
- Width of page in pixels.
- height
- Height of page in pixels.
- colorSpace
- Pixel's color space.
- channelDepths
- Channels depths of new page.
- allocatePixels
- Indicates whether the pixel store should be allocated.
See Also