@@ -29,7 +29,7 @@ static UITexture icon(String name, int x, int y, int w, int h) {
2929 return UITexture .builder ()
3030 .location (ICONS_LOCATION )
3131 .imageSize (256 , 256 )
32- .uv (x , y , w , h )
32+ .xy (x , y , w , h )
3333 .name (name )
3434 .build ();
3535 }
@@ -177,7 +177,7 @@ public static UITexture parseFromJson(JsonObject json) {
177177 if (mode2 ) {
178178 throw new JsonParseException ("Tried to specify x, y, w, h and u0, v0, u1, v1!" );
179179 }
180- builder .uv (JsonHelper .getInt (json , 0 , "x" ),
180+ builder .xy (JsonHelper .getInt (json , 0 , "x" ),
181181 JsonHelper .getInt (json , 0 , "y" ),
182182 JsonHelper .getInt (json , builder .iw , "w" , "width" ),
183183 JsonHelper .getInt (json , builder .ih , "h" , "height" ));
@@ -310,7 +310,7 @@ public Builder fullImage() {
310310 * @param w width in pixels
311311 * @param h height in pixels
312312 */
313- public Builder uv (int x , int y , int w , int h ) {
313+ public Builder xy (int x , int y , int w , int h ) {
314314 this .mode = Mode .PIXEL ;
315315 this .x = x ;
316316 this .y = y ;
0 commit comments