Ninepatch boundaries are now on the outside of the given bounds.
This commit is contained in:
		@@ -71,15 +71,15 @@ namespace RecrownedAthenaeum.SpecialTypes
 | 
				
			|||||||
        {
 | 
					        {
 | 
				
			||||||
            Rectangle[] patches =
 | 
					            Rectangle[] patches =
 | 
				
			||||||
            {
 | 
					            {
 | 
				
			||||||
                new Rectangle(0, 0, left, bottom),
 | 
					                new Rectangle(-left, -bottom, left, bottom),
 | 
				
			||||||
                new Rectangle(left, 0, width - left - right, bottom),
 | 
					                new Rectangle(0, -bottom, width, bottom),
 | 
				
			||||||
                new Rectangle(width - right, 0, right, bottom),
 | 
					                new Rectangle(width, -bottom, right, bottom),
 | 
				
			||||||
                new Rectangle(0, bottom, left, height - bottom - top),
 | 
					                new Rectangle(-left, 0, left, height),
 | 
				
			||||||
                new Rectangle(left, bottom, width - left - right, height - bottom - top),
 | 
					                new Rectangle(0, 0, width, height),
 | 
				
			||||||
                new Rectangle(width - right, bottom, right, height - bottom - top),
 | 
					                new Rectangle(width, 0, right, height),
 | 
				
			||||||
                new Rectangle(0, height - top, left, top),
 | 
					                new Rectangle(-left, height, left, top),
 | 
				
			||||||
                new Rectangle(left, height - top, width - left - right, top),
 | 
					                new Rectangle(0, height, width, top),
 | 
				
			||||||
                new Rectangle(width - right, height - top, right, top),
 | 
					                new Rectangle(width, height, right, top),
 | 
				
			||||||
            };
 | 
					            };
 | 
				
			||||||
            return patches;
 | 
					            return patches;
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user