Microsoft SDK for Java

configure

This method of the Direct3dRMViewport Class reconfigures the viewport origin and dimensions.

Syntax

public void configure(int x, int y, int width, int height);

Parameters

x The x-coordinate of the new viewport position.
y The y-coordinate of the new viewport position.
width The new width of the viewport (in pixels).
height The new height of the viewport (in pixels).

Remarks

This method carries out no action if x + width or y + height are greater than the width or height of the device, or if any of x, y, width, or height is less than zero.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.