Struct IntRect
    Public
    
    Integer Rectangle.
Works almost like UnityEngine.Rect but with integer coordinates
Public Methods
        
                Contains
        
                (x, y)
    
                
                
                    Public
                
            
        
                DebugDraw
        
                (transform, color)
    
                
                Draws some debug lines representing the rect.
                    Public
                
            
        
                Equals
        
                (obj)
    
                
                
                    Public
                
            
        
                Expand
        
                (range)
    
                
                Returns a new rect which is expanded by range in all directions.
                    Public
                
            
        
                GetHashCode
        
                ()
    
                
                
                    Public
                
            
        
                IntRect
        
                (xmin, ymin, xmax, ymax)
    
                
                
                    Public
                
            
        
                IsValid
        
                ()
    
                
                Returns if this rectangle is valid.
                    Public
                
            
        
                Offset
        
                (offset)
    
                
                Returns a new rect which is offset by the specified amount.
                    Public
                
            
        
                Offset
        
                (x, y)
    
                
                Returns a new rect which is offset by the specified amount.
                    Public
                
            
        
                Rotate
        
                (r)
    
                
                Returns a new rect rotated around the origin 90*r degrees.
                    Public
                
            
        
                ToString
        
                ()
    
                
                
                    Public
                
            Public Static Methods
        
                Intersection
        
                (a, b)
    
                
                Returns the intersection rect between the two rects.
                    Public
                        Static
                
            
        
                Intersects
        
                (a, b)
    
                
                Returns if the two rectangles intersect each other.
                    Public
                        Static
                
            
        
                operator!=
        
                (a, b)
    
                
                
                    Public
                        Static
                
            
        
                operator==
        
                (a, b)
    
                
                
                    Public
                        Static
                
            
        
                Union
        
                (a, b)
    
                
                Returns a new rect which contains both input rects.
                    Public
                        Static
                
            Public Variables
        
                Height
        
    
                
                
                    Public
                
            
        
                Width
        
    
                
                
                    Public
                
            
        
                xmax
        
    
                
                
                    Public
                
            
        
                xmin
        
    
                
                
                    Public
                
            
        
                ymax
        
    
                
                
                    Public
                
            
        
                ymin
        
    
                
                
                    Public
                
            Private/Protected Members
        
                Rotations
        
    
                
                Matrices for rotation.
                    Private
                        Static
                        Readonly