Package 

Class Viewport


  • 
    public class Viewport
    
                        

    Specifies a rectangular region within a render target in terms of pixel coordinates.

    The rectangle spans from (left,bottom) to (left+width-1, top+height-1), inclusive. Width and height must be non-negative.

    • Field Summary

      Fields 
      Modifier and Type Field Description
      public int left
      public int bottom
      public int width
      public int height
    • Constructor Summary

      Constructors 
      Constructor Description
      Viewport(int left, int bottom, int width, int height)
    • Constructor Detail

      • Viewport

        Viewport(int left, int bottom, int width, int height)