Surface.opIndex

Like opIndex. For two indexes

  1. RGBColor opIndex(T i)
  2. RGBColor opIndex(T i, U j)
    class Surface
    RGBColor
    opIndex
    (
    T
    U
    )
    (
    T i
    ,
    U j
    )
    if ()

Parameters

i T

first index of pixel

j U

second index of pixel

Return Value

Type: RGBColor

Pixel

Examples

Surface sur = new Surface[10, 10];
RGBColor pixel = sur[4, 6];

Meta