// Copyright © 2023 The CefSharp Authors. All rights reserved. // // Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. namespace CefSharp.Structs { /// /// Dom Rect /// public struct DomRect { /// /// X coordinate /// public double X { get; private set; } /// /// Y coordinate /// public double Y { get; private set; } /// /// Rectangle width /// public double Width { get; private set; } /// /// Rectangle height /// public double Height { get; private set; } /// /// Constructor /// /// x /// y /// width /// height public DomRect(double x, double y, double width, double height) { X = x; Y = y; Width = width; Height = height; } } }