Surface.opIndexAssign

Like opIndexAssign. For two indexes.

  1. void opIndexAssign(RGBColor rgbColor, T i)
  2. void opIndexAssign(RGBColor rgbColor, T i, U j)
    class Surface
    void
    opIndexAssign
    (
    T
    U
    )
    (
    RGBColor rgbColor
    ,
    T i
    ,
    U j
    )
    if ()

Parameters

rgbColor RGBColor

new color of pixel

i T

first index of pixel

j U

second index of pixel

Return Value

Type: void

Pixel

Examples

Surface sur = new Surface[10, 10];
sur[4, 5] = new RGBColor(0, 45, 65);

Meta