Surface.opIndex

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

Parameters

i T

index of pixel

Return Value

Type: RGBColor

pixel

Examples

Surface sur = new Surface[10, 10];
RGBColor pixel = sur[45];

Meta