// Copyright © 2018 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. using System; namespace CefSharp.Structs { /// /// Struct representing cursor information. /// public struct CursorInfo { /// /// Cursor buffer /// public IntPtr Buffer { get; set; } /// /// Hotspot /// public Point Hotspot { get; private set; } /// /// Image scale factor /// public float ImageScaleFactor { get; private set; } /// /// Size /// public Size Size { get; private set; } /// /// CursorInfo /// /// buffer /// hotspot /// image scale factor /// size public CursorInfo(IntPtr buffer, Point hotspot, float imageScaleFactor, Size size) { Buffer = buffer; Hotspot = hotspot; ImageScaleFactor = imageScaleFactor; Size = size; } } }