Exemple #1
0
 public static RectStorage FromRect (Rect rect)
 {
     var rectStorage = new RectStorage ();
     rectStorage.x = rect.x;
     rectStorage.y = rect.y;
     rectStorage.width = rect.width;
     rectStorage.height = rect.height;
     return rectStorage;
 }
Exemple #2
0
 public static RectStorage FromRect(Rect rect)
 {
     var rectStorage = new RectStorage ();
     rectStorage.x = rect.x;
     rectStorage.y = rect.y;
     rectStorage.width = rect.width;
     rectStorage.height = rect.height;
     return rectStorage;
 }