Tesla Graphics Engine Documentation (January 2012)
Viewport Constructor (x, y, width, height)
TeslaTesla.GraphicsViewportViewport(Int32, Int32, Int32, Int32)
Creates a new viewport with the supplied top left corner coordinates, width, and height.
Declaration Syntax
C#
public Viewport(
	int x,
	int y,
	int width,
	int height
)
Parameters
x (Int32)
Top left X coordinate
y (Int32)
Top left Y coordinate
width (Int32)
Width
height (Int32)
Height

Assembly: Tesla (Module: Tesla) Version: 0.5.0.0 (0.5.0.0)