示例#1
0
 public static BezRectangle makeCenterWidthHeight(
     float xctr, float yctr, float width, float height) {
   return new BezRectangle(
       IgnoCodeLib.getMyParent(), xctr - width / 2, yctr - height / 2, width, height);
 }
示例#2
0
 public static BezRectangle makeLeftTopRightBottom(
     float left, float top, float right, float bottom) {
   return new BezRectangle(IgnoCodeLib.getMyParent(), left, top, right - left, bottom - top);
 }
示例#3
0
 public static BezRectangle makeLeftTopWidthHeight(
     float left, float top, float width, float height) {
   return new BezRectangle(IgnoCodeLib.getMyParent(), left, top, width, height);
 }