Exemplo n.º 1
0
 public static Gdk.Rectangle ToRectangle(this FigmaRectangle rectangle)
 {
     return(new Gdk.Rectangle(0, 0, (int)rectangle.width, (int)rectangle.height));
 }
Exemplo n.º 2
0
 public static CGRect ToCGRect(this FigmaRectangle rectangle)
 {
     return(new CGRect(rectangle.x, rectangle.y, rectangle.width, rectangle.height));
 }