CanvasIOOps
Representation of a canvas operation, with the common Monad operations.
Value members
Concrete methods
Deprecated methods
Gets the color from the backbuffer.
This operation can be perfomance intensive, so it might be worthwile
to either use getBackbuffer
to fetch multiple pixels at the same time or
to implement this operation on the application code.
Gets the color from the backbuffer.
This operation can be perfomance intensive, so it might be worthwile
to either use getBackbuffer
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
- Deprecated
Inherited methods
Wrap mutable surface operations in a MSurfaceIO.
Wrap mutable surface operations in a MSurfaceIO.
- Inherited from:
- MSurfaceIOOps
Wrap surface operations in a SurfaceIO.
Wrap surface operations in a SurfaceIO.
- Inherited from:
- SurfaceIOOps
Draws a surface on top of this surface.
Draws a surface on top of this surface.
- Value parameters:
- ch
clip height of the source surface
- cw
clip width of the source surface
- cx
leftmost pixel on the source surface
- cy
topmost pixel on the source surface
- that
surface to draw
- x
leftmost pixel on the destination surface
- y
topmost pixel on the destination surface
- Inherited from:
- MSurfaceIOOps
Draws a surface on top of this surface and masks the pixels with a certain color.
Draws a surface on top of this surface and masks the pixels with a certain color.
- Value parameters:
- ch
clip height of the source surface
- cw
clip width of the source surface
- cx
leftmost pixel on the source surface
- cy
topmost pixel on the source surface
- mask
color to usa as a mask
- that
surface to draw
- x
leftmost pixel on the destination surface
- y
topmost pixel on the destination surface
- Inherited from:
- MSurfaceIOOps
Fill the surface with a certain color
Fill the surface with a certain color
- Value parameters:
- color
Color
to fill the surface with
- Inherited from:
- MSurfaceIOOps
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
Put a pixel in the surface with a certain color.
Put a pixel in the surface with a certain color.
- Value parameters:
- color
Color
to apply to the pixel- x
pixel x position
- y
pixel y position
- Inherited from:
- MSurfaceIOOps
Concrete fields
Deprecated fields
Returns the backbuffer. This operation can be perfomance intensive, so it might be worthwile to implement this operation on the application code.
Returns the backbuffer. This operation can be perfomance intensive, so it might be worthwile to implement this operation on the application code.
- Deprecated
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