safeGet

Get the pixel color at the specified coordinates, or fall back to the specified default value if the coordinates are out of bounds.

COLOR
safeGet
(
V
COLOR
)
(
auto ref V v
,,,
COLOR def
)
if (
isView!V &&
is(COLOR : ViewColor!V)
)

Meta