'Usage Dim instance As ImGearPixel Dim index As Integer Dim value As Integer instance.Item(index) = value value = instance.Item(index)
Parameters
- index
- Channel index.
'Usage Dim instance As ImGearPixel Dim index As Integer Dim value As Integer instance.Item(index) = value value = instance.Item(index)
Gets or sets the color value using channel index.
NOTE: for initialization of pixel value for using it with bitonal images, i.e. Run-Ends DIBs, please use 0 value for black color, and 1 value for white color.