コード例 #1
0
 public DOMRectReadOnly(DOMRectReadOnlyOptions options)
 {
     this.X      = options.X;
     this.Y      = options.Y;
     this.Width  = options.Width;
     this.Height = options.Height;
 }
コード例 #2
0
 public static DOMRectReadOnly FromRect(DOMRectReadOnlyOptions options)
 {
     return(new DOMRectReadOnly(options));
 }