Surface.with_surface


Description:

public Surface.with_surface (int width, int height, Surface model)

Creates a new surface compatible with an existing Surface.

Parameters:

width

width of the new surface

height

height of the new surface

model

existing Surface to be similar to