rip ~master (2018-03-17T20:58:35Z)
Dub
Repo
Surface.opIndex
rip
concepts
surface
Surface
RGBColor
opIndex
(T i)
class
Surface
RGBColor
opIndex
(
T
)
(
T
i
)
if
(
allArithmetic
!
T
)
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
Source
See Implementation
rip
concepts
surface
Surface
constructors
this
functions
getPixels
getPixelsRange
initialize
opIndex
opIndexAssign
properties
dup
idup