SurfaceIO
Object containing the operations that act on a Surface.
Value members
Inherited methods
Returns a operation that requires this resource.
Returns a operation that requires this resource.
- Inherited from:
- IOOps
Wrap surface operations in a SurfaceIO.
Wrap surface operations in a SurfaceIO.
- Inherited from:
- SurfaceIOOps
Applies an operation to each element of a Iterator[A]
and discards the result.
Applies an operation to each element of a Iterator[A]
and discards the result.
- Inherited from:
- IOOps
Applies an operation to each element of a Iterable[A]
and discards the result.
Applies an operation to each element of a Iterable[A]
and discards the result.
- Inherited from:
- IOOps
Gets the color from the this surface.
This operation can be perfomance intensive, so it might be worthwile
to either use getPixels
to fetch multiple pixels at the same time or
to implement this operation on the application code.
Gets the color from the this surface.
This operation can be perfomance intensive, so it might be worthwile
to either use getPixels
to fetch multiple pixels at the same time or
to implement this operation on the application code.
- Value parameters:
- x
pixel x position
- y
pixel y position
- Inherited from:
- SurfaceIOOps
Converts an Iterable[RIO[R, A]]
into a RIO[R, List[A]]
.
Converts an Iterable[RIO[R, A]]
into a RIO[R, List[A]]
.
- Inherited from:
- IOOps
Converts an Iterable[RIO[R, A]]
into a RIO[R, Unit]
.
Converts an Iterable[RIO[R, A]]
into a RIO[R, Unit]
.
- Inherited from:
- IOOps
Converts an Iterable[A]
into a RIO[R, List[B]]
by applying an operation to each element.
Converts an Iterable[A]
into a RIO[R, List[B]]
by applying an operation to each element.
- Inherited from:
- IOOps
Inherited fields
Returns the pixels from this surface. This operation can be perfomance intensive, so it might be worthwile to implement this operation on the application code.
Returns the pixels from this surface. This operation can be perfomance intensive, so it might be worthwile to implement this operation on the application code.
- Returns:
color matrix
- Inherited from:
- SurfaceIOOps
Returns a view over this surface.
Returns a view over this surface.
Operations performed on a view are executed in a defered fashion.
- Inherited from:
- SurfaceIOOps