Indexed property for direct access to contained pixels.
'Declaration
Public Default Property Item( _
ByVal As Integer, _
ByVal As Integer _
) As Integer
'Usage
Dim instance As ImGearPixelArray
Dim pixel As Integer
Dim channel As Integer
Dim value As Integer
instance.Item(pixel, channel) = value
value = instance.Item(pixel, channel)
public int this[
int ,
int
]; {get; set;}
public: __property int get_Item int ,
int
;
public: __property void set_Item int ,
int ,
int
;
public:
property int default [int,int] {
int get(int , int );
void set (int , int , int value);
}
Parameters
- pixel
- Index of pixel in the array.
- channel
- Channel number in particular pixel.
Property Value
Color value of requested channel in requested pixel.