CopySurface.this

this(int w, int h)

Creates a new copy surface with the given dimensions.

After creation, call setCurrent() to direct graphics operations to this surface.

Parameters

wWidth in pixels
hHeight in pixels