Skip to content
Snippets Groups Projects
Select Git revision
  • 8ea5f34f3d4a77d8ca17477b82dd23446710a06a
  • master default
  • dependabot/nuget/source/Sample/Newtonsoft.Json-13.0.1
  • dependabot/nuget/source/MasterDevs.ChromeDevTools.Tests/Newtonsoft.Json-13.0.1
  • dependabot/nuget/source/ProtocolGenerator/Newtonsoft.Json-13.0.1
  • dependabot/nuget/source/ChromeDevTools/Newtonsoft.Json-13.0.1
  • dependabot/nuget/source/ChromeDevTools/System.Net.Http-4.3.4
  • revert-29-revert-24-protocol_62
  • revert-24-protocol_62
  • 1.1.0
  • 1.0.2
  • 1.0.1
  • 1.0.0.40915
13 results

HighlightRectCommand.cs

Blame
  • HighlightRectCommand.cs 1.43 KiB
    using MasterDevs.ChromeDevTools;
    using Newtonsoft.Json;
    using System.Collections.Generic;
    
    namespace MasterDevs.ChromeDevTools.Protocol.iOS.DOM
    {
    	/// <summary>
    	/// Highlights given rectangle. Coordinates are absolute with respect to the main frame viewport.
    	/// </summary>
    	[Command(ProtocolName.DOM.HighlightRect)]
    	[SupportedBy("iOS")]
    	public class HighlightRectCommand
    	{
    		/// <summary>
    		/// Gets or sets X coordinate
    		/// </summary>
    		public long X { get; set; }
    		/// <summary>
    		/// Gets or sets Y coordinate
    		/// </summary>
    		public long Y { get; set; }
    		/// <summary>
    		/// Gets or sets Rectangle width
    		/// </summary>
    		public long Width { get; set; }
    		/// <summary>
    		/// Gets or sets Rectangle height
    		/// </summary>
    		public long Height { get; set; }
    		/// <summary>
    		/// Gets or sets The highlight fill color (default: transparent).
    		/// </summary>
    		[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
    		public RGBAColor Color { get; set; }
    		/// <summary>
    		/// Gets or sets The highlight outline color (default: transparent).
    		/// </summary>
    		[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
    		public RGBAColor OutlineColor { get; set; }
    		/// <summary>
    		/// Gets or sets Indicates whether the provided parameters are in page coordinates or in viewport coordinates (the default).
    		/// </summary>
    		[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
    		public bool? UsePageCoordinates { get; set; }
    	}
    }