mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-27 08:17:53 +01:00
1352 lines
48 KiB
HTML
1352 lines
48 KiB
HTML
<!DOCTYPE html>
|
|
<!--[if IE]><![endif]-->
|
|
<html>
|
|
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
|
<title>Struct RectangleF
|
|
</title>
|
|
<meta name="viewport" content="width=device-width">
|
|
<meta name="title" content="Struct RectangleF
|
|
">
|
|
<meta name="generator" content="docfx 2.59.0.0">
|
|
|
|
<link rel="shortcut icon" href="../../favicon.ico">
|
|
<link rel="stylesheet" href="../../styles/docfx.vendor.css">
|
|
<link rel="stylesheet" href="../../styles/docfx.css">
|
|
<link rel="stylesheet" href="../../styles/main.css">
|
|
<meta property="docfx:navrel" content="../../toc.html">
|
|
<meta property="docfx:tocrel" content="toc.html">
|
|
|
|
<meta property="docfx:rel" content="../../">
|
|
|
|
</head>
|
|
<body data-spy="scroll" data-target="#affix" data-offset="120">
|
|
<div id="wrapper">
|
|
<header>
|
|
|
|
<nav id="autocollapse" class="navbar navbar-inverse ng-scope" role="navigation">
|
|
<div class="container">
|
|
<div class="navbar-header">
|
|
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar">
|
|
<span class="sr-only">Toggle navigation</span>
|
|
<span class="icon-bar"></span>
|
|
<span class="icon-bar"></span>
|
|
<span class="icon-bar"></span>
|
|
</button>
|
|
|
|
<a class="navbar-brand" href="../../index.html">
|
|
<img id="logo" class="svg" src="../../images/logo48.png" alt="">
|
|
</a>
|
|
</div>
|
|
<div class="collapse navbar-collapse" id="navbar">
|
|
<form class="navbar-form navbar-right" role="search" id="search">
|
|
<div class="form-group">
|
|
<input type="text" class="form-control" id="search-query" placeholder="Search" autocomplete="off">
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</nav>
|
|
|
|
<div class="subnav navbar navbar-default">
|
|
<div class="container hide-when-search" id="breadcrumb">
|
|
<ul class="breadcrumb">
|
|
<li></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</header>
|
|
<div class="container body-content">
|
|
|
|
<div id="search-results">
|
|
<div class="search-list">Search Results for <span></span></div>
|
|
<div class="sr-items">
|
|
<p><i class="glyphicon glyphicon-refresh index-loading"></i></p>
|
|
</div>
|
|
<ul id="pagination" data-first="First" data-prev="Previous" data-next="Next" data-last="Last"></ul>
|
|
</div>
|
|
</div>
|
|
<div role="main" class="container body-content hide-when-search">
|
|
|
|
<div class="sidenav hide-when-search">
|
|
<a class="btn toc-toggle collapse" data-toggle="collapse" href="#sidetoggle" aria-expanded="false" aria-controls="sidetoggle">Show / Hide Table of Contents</a>
|
|
<div class="sidetoggle collapse" id="sidetoggle">
|
|
<div id="sidetoc"></div>
|
|
</div>
|
|
</div>
|
|
<div class="article row grid-right">
|
|
<div class="col-md-10">
|
|
<article class="content wrap" id="_content" data-uid="Terminal.Gui.RectangleF">
|
|
|
|
|
|
<h1 id="Terminal_Gui_RectangleF" data-uid="Terminal.Gui.RectangleF" class="text-break">Struct RectangleF
|
|
</h1>
|
|
<div class="markdown level0 summary">
|
|
Stores the location and size of a rectangular region.
|
|
</div>
|
|
<div class="markdown level0 conceptual"></div>
|
|
<div classs="implements">
|
|
<h5>Implements</h5>
|
|
<div><span class="xref">System.IEquatable</span><<a class="xref" href="Terminal.Gui.RectangleF.html">RectangleF</a>></div>
|
|
</div>
|
|
<div class="inheritedMembers">
|
|
<h5>Inherited Members</h5>
|
|
<div>
|
|
<span class="xref">System.Object.Equals(System.Object, System.Object)</span>
|
|
</div>
|
|
<div>
|
|
<span class="xref">System.Object.GetType()</span>
|
|
</div>
|
|
<div>
|
|
<span class="xref">System.Object.ReferenceEquals(System.Object, System.Object)</span>
|
|
</div>
|
|
</div>
|
|
<h6><strong>Namespace</strong>: <a class="xref" href="Terminal.Gui.html">Terminal.Gui</a></h6>
|
|
<h6><strong>Assembly</strong>: Terminal.Gui.dll</h6>
|
|
<h5 id="Terminal_Gui_RectangleF_syntax">Syntax</h5>
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public struct RectangleF : IEquatable<RectangleF></code></pre>
|
|
</div>
|
|
<h3 id="constructors">Constructors
|
|
</h3>
|
|
<a id="Terminal_Gui_RectangleF__ctor_" data-uid="Terminal.Gui.RectangleF.#ctor*"></a>
|
|
<h4 id="Terminal_Gui_RectangleF__ctor_System_Single_System_Single_System_Single_System_Single_" data-uid="Terminal.Gui.RectangleF.#ctor(System.Single,System.Single,System.Single,System.Single)">RectangleF(Single, Single, Single, Single)</h4>
|
|
<div class="markdown level1 summary">
|
|
Initializes a new instance of the <a class="xref" href="Terminal.Gui.RectangleF.html">RectangleF</a> class with the specified location
|
|
and size.
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
<h5 class="decalaration">Declaration</h5>
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public RectangleF(float x, float y, float width, float height)</code></pre>
|
|
</div>
|
|
<h5 class="parameters">Parameters</h5>
|
|
<table class="table table-bordered table-striped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Type</th>
|
|
<th>Name</th>
|
|
<th>Description</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td><span class="xref">System.Single</span></td>
|
|
<td><span class="parametername">x</span></td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td><span class="xref">System.Single</span></td>
|
|
<td><span class="parametername">y</span></td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td><span class="xref">System.Single</span></td>
|
|
<td><span class="parametername">width</span></td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td><span class="xref">System.Single</span></td>
|
|
<td><span class="parametername">height</span></td>
|
|
<td></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<a id="Terminal_Gui_RectangleF__ctor_" data-uid="Terminal.Gui.RectangleF.#ctor*"></a>
|
|
<h4 id="Terminal_Gui_RectangleF__ctor_Terminal_Gui_PointF_Terminal_Gui_SizeF_" data-uid="Terminal.Gui.RectangleF.#ctor(Terminal.Gui.PointF,Terminal.Gui.SizeF)">RectangleF(PointF, SizeF)</h4>
|
|
<div class="markdown level1 summary">
|
|
Initializes a new instance of the <a class="xref" href="Terminal.Gui.RectangleF.html">RectangleF</a> class with the specified location
|
|
and size.
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
<h5 class="decalaration">Declaration</h5>
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public RectangleF(PointF location, SizeF size)</code></pre>
|
|
</div>
|
|
<h5 class="parameters">Parameters</h5>
|
|
<table class="table table-bordered table-striped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Type</th>
|
|
<th>Name</th>
|
|
<th>Description</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td><a class="xref" href="Terminal.Gui.PointF.html">PointF</a></td>
|
|
<td><span class="parametername">location</span></td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td><a class="xref" href="Terminal.Gui.SizeF.html">SizeF</a></td>
|
|
<td><span class="parametername">size</span></td>
|
|
<td></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<h3 id="fields">Fields
|
|
</h3>
|
|
<h4 id="Terminal_Gui_RectangleF_Empty" data-uid="Terminal.Gui.RectangleF.Empty">Empty</h4>
|
|
<div class="markdown level1 summary">
|
|
Initializes a new instance of the <a class="xref" href="Terminal.Gui.RectangleF.html">RectangleF</a> class.
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
<h5 class="decalaration">Declaration</h5>
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static readonly RectangleF Empty</code></pre>
|
|
</div>
|
|
<h5 class="fieldValue">Field Value</h5>
|
|
<table class="table table-bordered table-striped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Type</th>
|
|
<th>Description</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td><a class="xref" href="Terminal.Gui.RectangleF.html">RectangleF</a></td>
|
|
<td></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<h3 id="properties">Properties
|
|
</h3>
|
|
<a id="Terminal_Gui_RectangleF_Bottom_" data-uid="Terminal.Gui.RectangleF.Bottom*"></a>
|
|
<h4 id="Terminal_Gui_RectangleF_Bottom" data-uid="Terminal.Gui.RectangleF.Bottom">Bottom</h4>
|
|
<div class="markdown level1 summary">
|
|
Gets the y-coordinate of the lower-right corner of the rectangular region defined by this
|
|
<a class="xref" href="Terminal.Gui.RectangleF.html">RectangleF</a>.
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
<h5 class="decalaration">Declaration</h5>
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">[Browsable(false)]
|
|
public readonly float Bottom { get; }</code></pre>
|
|
</div>
|
|
<h5 class="propertyValue">Property Value</h5>
|
|
<table class="table table-bordered table-striped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Type</th>
|
|
<th>Description</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td><span class="xref">System.Single</span></td>
|
|
<td></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<a id="Terminal_Gui_RectangleF_Height_" data-uid="Terminal.Gui.RectangleF.Height*"></a>
|
|
<h4 id="Terminal_Gui_RectangleF_Height" data-uid="Terminal.Gui.RectangleF.Height">Height</h4>
|
|
<div class="markdown level1 summary">
|
|
Gets or sets the height of the rectangular region defined by this <a class="xref" href="Terminal.Gui.RectangleF.html">RectangleF</a>.
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
<h5 class="decalaration">Declaration</h5>
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public float Height { get; set; }</code></pre>
|
|
</div>
|
|
<h5 class="propertyValue">Property Value</h5>
|
|
<table class="table table-bordered table-striped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Type</th>
|
|
<th>Description</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td><span class="xref">System.Single</span></td>
|
|
<td></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<a id="Terminal_Gui_RectangleF_IsEmpty_" data-uid="Terminal.Gui.RectangleF.IsEmpty*"></a>
|
|
<h4 id="Terminal_Gui_RectangleF_IsEmpty" data-uid="Terminal.Gui.RectangleF.IsEmpty">IsEmpty</h4>
|
|
<div class="markdown level1 summary">
|
|
Tests whether this <a class="xref" href="Terminal.Gui.RectangleF.html">RectangleF</a> has a <a class="xref" href="Terminal.Gui.RectangleF.html#Terminal_Gui_RectangleF_Width">Width</a> or a <a class="xref" href="Terminal.Gui.RectangleF.html#Terminal_Gui_RectangleF_Height">Height</a> of 0.
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
<h5 class="decalaration">Declaration</h5>
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">[Browsable(false)]
|
|
public readonly bool IsEmpty { get; }</code></pre>
|
|
</div>
|
|
<h5 class="propertyValue">Property Value</h5>
|
|
<table class="table table-bordered table-striped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Type</th>
|
|
<th>Description</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td><span class="xref">System.Boolean</span></td>
|
|
<td></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<a id="Terminal_Gui_RectangleF_Left_" data-uid="Terminal.Gui.RectangleF.Left*"></a>
|
|
<h4 id="Terminal_Gui_RectangleF_Left" data-uid="Terminal.Gui.RectangleF.Left">Left</h4>
|
|
<div class="markdown level1 summary">
|
|
Gets the x-coordinate of the upper-left corner of the rectangular region defined by this
|
|
<a class="xref" href="Terminal.Gui.RectangleF.html">RectangleF</a> .
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
<h5 class="decalaration">Declaration</h5>
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">[Browsable(false)]
|
|
public readonly float Left { get; }</code></pre>
|
|
</div>
|
|
<h5 class="propertyValue">Property Value</h5>
|
|
<table class="table table-bordered table-striped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Type</th>
|
|
<th>Description</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td><span class="xref">System.Single</span></td>
|
|
<td></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<a id="Terminal_Gui_RectangleF_Location_" data-uid="Terminal.Gui.RectangleF.Location*"></a>
|
|
<h4 id="Terminal_Gui_RectangleF_Location" data-uid="Terminal.Gui.RectangleF.Location">Location</h4>
|
|
<div class="markdown level1 summary">
|
|
Gets or sets the coordinates of the upper-left corner of the rectangular region represented by this
|
|
<a class="xref" href="Terminal.Gui.RectangleF.html">RectangleF</a>.
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
<h5 class="decalaration">Declaration</h5>
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">[Browsable(false)]
|
|
public PointF Location { get; set; }</code></pre>
|
|
</div>
|
|
<h5 class="propertyValue">Property Value</h5>
|
|
<table class="table table-bordered table-striped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Type</th>
|
|
<th>Description</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td><a class="xref" href="Terminal.Gui.PointF.html">PointF</a></td>
|
|
<td></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<a id="Terminal_Gui_RectangleF_Right_" data-uid="Terminal.Gui.RectangleF.Right*"></a>
|
|
<h4 id="Terminal_Gui_RectangleF_Right" data-uid="Terminal.Gui.RectangleF.Right">Right</h4>
|
|
<div class="markdown level1 summary">
|
|
Gets the x-coordinate of the lower-right corner of the rectangular region defined by this
|
|
<a class="xref" href="Terminal.Gui.RectangleF.html">RectangleF</a>.
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
<h5 class="decalaration">Declaration</h5>
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">[Browsable(false)]
|
|
public readonly float Right { get; }</code></pre>
|
|
</div>
|
|
<h5 class="propertyValue">Property Value</h5>
|
|
<table class="table table-bordered table-striped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Type</th>
|
|
<th>Description</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td><span class="xref">System.Single</span></td>
|
|
<td></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<a id="Terminal_Gui_RectangleF_Size_" data-uid="Terminal.Gui.RectangleF.Size*"></a>
|
|
<h4 id="Terminal_Gui_RectangleF_Size" data-uid="Terminal.Gui.RectangleF.Size">Size</h4>
|
|
<div class="markdown level1 summary">
|
|
Gets or sets the size of this <a class="xref" href="Terminal.Gui.RectangleF.html">RectangleF</a>.
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
<h5 class="decalaration">Declaration</h5>
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">[Browsable(false)]
|
|
public SizeF Size { get; set; }</code></pre>
|
|
</div>
|
|
<h5 class="propertyValue">Property Value</h5>
|
|
<table class="table table-bordered table-striped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Type</th>
|
|
<th>Description</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td><a class="xref" href="Terminal.Gui.SizeF.html">SizeF</a></td>
|
|
<td></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<a id="Terminal_Gui_RectangleF_Top_" data-uid="Terminal.Gui.RectangleF.Top*"></a>
|
|
<h4 id="Terminal_Gui_RectangleF_Top" data-uid="Terminal.Gui.RectangleF.Top">Top</h4>
|
|
<div class="markdown level1 summary">
|
|
Gets the y-coordinate of the upper-left corner of the rectangular region defined by this
|
|
<a class="xref" href="Terminal.Gui.RectangleF.html">RectangleF</a>.
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
<h5 class="decalaration">Declaration</h5>
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">[Browsable(false)]
|
|
public readonly float Top { get; }</code></pre>
|
|
</div>
|
|
<h5 class="propertyValue">Property Value</h5>
|
|
<table class="table table-bordered table-striped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Type</th>
|
|
<th>Description</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td><span class="xref">System.Single</span></td>
|
|
<td></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<a id="Terminal_Gui_RectangleF_Width_" data-uid="Terminal.Gui.RectangleF.Width*"></a>
|
|
<h4 id="Terminal_Gui_RectangleF_Width" data-uid="Terminal.Gui.RectangleF.Width">Width</h4>
|
|
<div class="markdown level1 summary">
|
|
Gets or sets the width of the rectangular region defined by this <a class="xref" href="Terminal.Gui.RectangleF.html">RectangleF</a>.
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
<h5 class="decalaration">Declaration</h5>
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public float Width { get; set; }</code></pre>
|
|
</div>
|
|
<h5 class="propertyValue">Property Value</h5>
|
|
<table class="table table-bordered table-striped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Type</th>
|
|
<th>Description</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td><span class="xref">System.Single</span></td>
|
|
<td></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<a id="Terminal_Gui_RectangleF_X_" data-uid="Terminal.Gui.RectangleF.X*"></a>
|
|
<h4 id="Terminal_Gui_RectangleF_X" data-uid="Terminal.Gui.RectangleF.X">X</h4>
|
|
<div class="markdown level1 summary">
|
|
Gets or sets the x-coordinate of the upper-left corner of the rectangular region defined by this
|
|
<a class="xref" href="Terminal.Gui.RectangleF.html">RectangleF</a>.
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
<h5 class="decalaration">Declaration</h5>
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public float X { get; set; }</code></pre>
|
|
</div>
|
|
<h5 class="propertyValue">Property Value</h5>
|
|
<table class="table table-bordered table-striped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Type</th>
|
|
<th>Description</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td><span class="xref">System.Single</span></td>
|
|
<td></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<a id="Terminal_Gui_RectangleF_Y_" data-uid="Terminal.Gui.RectangleF.Y*"></a>
|
|
<h4 id="Terminal_Gui_RectangleF_Y" data-uid="Terminal.Gui.RectangleF.Y">Y</h4>
|
|
<div class="markdown level1 summary">
|
|
Gets or sets the y-coordinate of the upper-left corner of the rectangular region defined by this
|
|
<a class="xref" href="Terminal.Gui.RectangleF.html">RectangleF</a>.
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
<h5 class="decalaration">Declaration</h5>
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public float Y { get; set; }</code></pre>
|
|
</div>
|
|
<h5 class="propertyValue">Property Value</h5>
|
|
<table class="table table-bordered table-striped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Type</th>
|
|
<th>Description</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td><span class="xref">System.Single</span></td>
|
|
<td></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<h3 id="methods">Methods
|
|
</h3>
|
|
<a id="Terminal_Gui_RectangleF_Contains_" data-uid="Terminal.Gui.RectangleF.Contains*"></a>
|
|
<h4 id="Terminal_Gui_RectangleF_Contains_System_Single_System_Single_" data-uid="Terminal.Gui.RectangleF.Contains(System.Single,System.Single)">Contains(Single, Single)</h4>
|
|
<div class="markdown level1 summary">
|
|
Determines if the specified point is contained within the rectangular region defined by this
|
|
<a class="xref" href="Terminal.Gui.Rect.html">Rect</a> .
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
<h5 class="decalaration">Declaration</h5>
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public bool Contains(float x, float y)</code></pre>
|
|
</div>
|
|
<h5 class="parameters">Parameters</h5>
|
|
<table class="table table-bordered table-striped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Type</th>
|
|
<th>Name</th>
|
|
<th>Description</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td><span class="xref">System.Single</span></td>
|
|
<td><span class="parametername">x</span></td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td><span class="xref">System.Single</span></td>
|
|
<td><span class="parametername">y</span></td>
|
|
<td></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<h5 class="returns">Returns</h5>
|
|
<table class="table table-bordered table-striped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Type</th>
|
|
<th>Description</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td><span class="xref">System.Boolean</span></td>
|
|
<td></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<a id="Terminal_Gui_RectangleF_Contains_" data-uid="Terminal.Gui.RectangleF.Contains*"></a>
|
|
<h4 id="Terminal_Gui_RectangleF_Contains_Terminal_Gui_PointF_" data-uid="Terminal.Gui.RectangleF.Contains(Terminal.Gui.PointF)">Contains(PointF)</h4>
|
|
<div class="markdown level1 summary">
|
|
Determines if the specified point is contained within the rectangular region defined by this
|
|
<a class="xref" href="Terminal.Gui.Rect.html">Rect</a> .
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
<h5 class="decalaration">Declaration</h5>
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public bool Contains(PointF pt)</code></pre>
|
|
</div>
|
|
<h5 class="parameters">Parameters</h5>
|
|
<table class="table table-bordered table-striped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Type</th>
|
|
<th>Name</th>
|
|
<th>Description</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td><a class="xref" href="Terminal.Gui.PointF.html">PointF</a></td>
|
|
<td><span class="parametername">pt</span></td>
|
|
<td></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<h5 class="returns">Returns</h5>
|
|
<table class="table table-bordered table-striped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Type</th>
|
|
<th>Description</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td><span class="xref">System.Boolean</span></td>
|
|
<td></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<a id="Terminal_Gui_RectangleF_Contains_" data-uid="Terminal.Gui.RectangleF.Contains*"></a>
|
|
<h4 id="Terminal_Gui_RectangleF_Contains_Terminal_Gui_RectangleF_" data-uid="Terminal.Gui.RectangleF.Contains(Terminal.Gui.RectangleF)">Contains(RectangleF)</h4>
|
|
<div class="markdown level1 summary">
|
|
Determines if the rectangular region represented by <code data-dev-comment-type="paramref" class="paramref">rect</code> is entirely contained within
|
|
the rectangular region represented by this <a class="xref" href="Terminal.Gui.Rect.html">Rect</a> .
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
<h5 class="decalaration">Declaration</h5>
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public bool Contains(RectangleF rect)</code></pre>
|
|
</div>
|
|
<h5 class="parameters">Parameters</h5>
|
|
<table class="table table-bordered table-striped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Type</th>
|
|
<th>Name</th>
|
|
<th>Description</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td><a class="xref" href="Terminal.Gui.RectangleF.html">RectangleF</a></td>
|
|
<td><span class="parametername">rect</span></td>
|
|
<td></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<h5 class="returns">Returns</h5>
|
|
<table class="table table-bordered table-striped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Type</th>
|
|
<th>Description</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td><span class="xref">System.Boolean</span></td>
|
|
<td></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<a id="Terminal_Gui_RectangleF_Equals_" data-uid="Terminal.Gui.RectangleF.Equals*"></a>
|
|
<h4 id="Terminal_Gui_RectangleF_Equals_System_Object_" data-uid="Terminal.Gui.RectangleF.Equals(System.Object)">Equals(Object)</h4>
|
|
<div class="markdown level1 summary">
|
|
Tests whether <code data-dev-comment-type="paramref" class="paramref">obj</code> is a <a class="xref" href="Terminal.Gui.RectangleF.html">RectangleF</a> with the same location and
|
|
size of this <a class="xref" href="Terminal.Gui.RectangleF.html">RectangleF</a>.
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
<h5 class="decalaration">Declaration</h5>
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public override bool Equals(object obj)</code></pre>
|
|
</div>
|
|
<h5 class="parameters">Parameters</h5>
|
|
<table class="table table-bordered table-striped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Type</th>
|
|
<th>Name</th>
|
|
<th>Description</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td><span class="xref">System.Object</span></td>
|
|
<td><span class="parametername">obj</span></td>
|
|
<td></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<h5 class="returns">Returns</h5>
|
|
<table class="table table-bordered table-striped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Type</th>
|
|
<th>Description</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td><span class="xref">System.Boolean</span></td>
|
|
<td></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<h5 class="overrides">Overrides</h5>
|
|
<div><span class="xref">System.ValueType.Equals(System.Object)</span></div>
|
|
<a id="Terminal_Gui_RectangleF_Equals_" data-uid="Terminal.Gui.RectangleF.Equals*"></a>
|
|
<h4 id="Terminal_Gui_RectangleF_Equals_Terminal_Gui_RectangleF_" data-uid="Terminal.Gui.RectangleF.Equals(Terminal.Gui.RectangleF)">Equals(RectangleF)</h4>
|
|
<div class="markdown level1 summary">
|
|
Returns true if two <a class="xref" href="Terminal.Gui.RectangleF.html">RectangleF</a> objects have equal location and size.
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
<h5 class="decalaration">Declaration</h5>
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public bool Equals(RectangleF other)</code></pre>
|
|
</div>
|
|
<h5 class="parameters">Parameters</h5>
|
|
<table class="table table-bordered table-striped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Type</th>
|
|
<th>Name</th>
|
|
<th>Description</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td><a class="xref" href="Terminal.Gui.RectangleF.html">RectangleF</a></td>
|
|
<td><span class="parametername">other</span></td>
|
|
<td></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<h5 class="returns">Returns</h5>
|
|
<table class="table table-bordered table-striped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Type</th>
|
|
<th>Description</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td><span class="xref">System.Boolean</span></td>
|
|
<td></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<a id="Terminal_Gui_RectangleF_FromLTRB_" data-uid="Terminal.Gui.RectangleF.FromLTRB*"></a>
|
|
<h4 id="Terminal_Gui_RectangleF_FromLTRB_System_Single_System_Single_System_Single_System_Single_" data-uid="Terminal.Gui.RectangleF.FromLTRB(System.Single,System.Single,System.Single,System.Single)">FromLTRB(Single, Single, Single, Single)</h4>
|
|
<div class="markdown level1 summary">
|
|
Creates a new <a class="xref" href="Terminal.Gui.RectangleF.html">RectangleF</a> with the specified location and size.
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
<h5 class="decalaration">Declaration</h5>
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static RectangleF FromLTRB(float left, float top, float right, float bottom)</code></pre>
|
|
</div>
|
|
<h5 class="parameters">Parameters</h5>
|
|
<table class="table table-bordered table-striped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Type</th>
|
|
<th>Name</th>
|
|
<th>Description</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td><span class="xref">System.Single</span></td>
|
|
<td><span class="parametername">left</span></td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td><span class="xref">System.Single</span></td>
|
|
<td><span class="parametername">top</span></td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td><span class="xref">System.Single</span></td>
|
|
<td><span class="parametername">right</span></td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td><span class="xref">System.Single</span></td>
|
|
<td><span class="parametername">bottom</span></td>
|
|
<td></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<h5 class="returns">Returns</h5>
|
|
<table class="table table-bordered table-striped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Type</th>
|
|
<th>Description</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td><a class="xref" href="Terminal.Gui.RectangleF.html">RectangleF</a></td>
|
|
<td></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<a id="Terminal_Gui_RectangleF_GetHashCode_" data-uid="Terminal.Gui.RectangleF.GetHashCode*"></a>
|
|
<h4 id="Terminal_Gui_RectangleF_GetHashCode" data-uid="Terminal.Gui.RectangleF.GetHashCode">GetHashCode()</h4>
|
|
<div class="markdown level1 summary">
|
|
Gets the hash code for this <a class="xref" href="Terminal.Gui.RectangleF.html">RectangleF</a>.
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
<h5 class="decalaration">Declaration</h5>
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public override int GetHashCode()</code></pre>
|
|
</div>
|
|
<h5 class="returns">Returns</h5>
|
|
<table class="table table-bordered table-striped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Type</th>
|
|
<th>Description</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td><span class="xref">System.Int32</span></td>
|
|
<td></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<h5 class="overrides">Overrides</h5>
|
|
<div><span class="xref">System.ValueType.GetHashCode()</span></div>
|
|
<a id="Terminal_Gui_RectangleF_Inflate_" data-uid="Terminal.Gui.RectangleF.Inflate*"></a>
|
|
<h4 id="Terminal_Gui_RectangleF_Inflate_System_Single_System_Single_" data-uid="Terminal.Gui.RectangleF.Inflate(System.Single,System.Single)">Inflate(Single, Single)</h4>
|
|
<div class="markdown level1 summary">
|
|
Inflates this <a class="xref" href="Terminal.Gui.Rect.html">Rect</a> by the specified amount.
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
<h5 class="decalaration">Declaration</h5>
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public void Inflate(float x, float y)</code></pre>
|
|
</div>
|
|
<h5 class="parameters">Parameters</h5>
|
|
<table class="table table-bordered table-striped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Type</th>
|
|
<th>Name</th>
|
|
<th>Description</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td><span class="xref">System.Single</span></td>
|
|
<td><span class="parametername">x</span></td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td><span class="xref">System.Single</span></td>
|
|
<td><span class="parametername">y</span></td>
|
|
<td></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<a id="Terminal_Gui_RectangleF_Inflate_" data-uid="Terminal.Gui.RectangleF.Inflate*"></a>
|
|
<h4 id="Terminal_Gui_RectangleF_Inflate_Terminal_Gui_RectangleF_System_Single_System_Single_" data-uid="Terminal.Gui.RectangleF.Inflate(Terminal.Gui.RectangleF,System.Single,System.Single)">Inflate(RectangleF, Single, Single)</h4>
|
|
<div class="markdown level1 summary">
|
|
Creates a <a class="xref" href="Terminal.Gui.Rect.html">Rect</a> that is inflated by the specified amount.
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
<h5 class="decalaration">Declaration</h5>
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static RectangleF Inflate(RectangleF rect, float x, float y)</code></pre>
|
|
</div>
|
|
<h5 class="parameters">Parameters</h5>
|
|
<table class="table table-bordered table-striped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Type</th>
|
|
<th>Name</th>
|
|
<th>Description</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td><a class="xref" href="Terminal.Gui.RectangleF.html">RectangleF</a></td>
|
|
<td><span class="parametername">rect</span></td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td><span class="xref">System.Single</span></td>
|
|
<td><span class="parametername">x</span></td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td><span class="xref">System.Single</span></td>
|
|
<td><span class="parametername">y</span></td>
|
|
<td></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<h5 class="returns">Returns</h5>
|
|
<table class="table table-bordered table-striped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Type</th>
|
|
<th>Description</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td><a class="xref" href="Terminal.Gui.RectangleF.html">RectangleF</a></td>
|
|
<td></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<a id="Terminal_Gui_RectangleF_Inflate_" data-uid="Terminal.Gui.RectangleF.Inflate*"></a>
|
|
<h4 id="Terminal_Gui_RectangleF_Inflate_Terminal_Gui_SizeF_" data-uid="Terminal.Gui.RectangleF.Inflate(Terminal.Gui.SizeF)">Inflate(SizeF)</h4>
|
|
<div class="markdown level1 summary">
|
|
Inflates this <a class="xref" href="Terminal.Gui.Rect.html">Rect</a> by the specified amount.
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
<h5 class="decalaration">Declaration</h5>
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public void Inflate(SizeF size)</code></pre>
|
|
</div>
|
|
<h5 class="parameters">Parameters</h5>
|
|
<table class="table table-bordered table-striped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Type</th>
|
|
<th>Name</th>
|
|
<th>Description</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td><a class="xref" href="Terminal.Gui.SizeF.html">SizeF</a></td>
|
|
<td><span class="parametername">size</span></td>
|
|
<td></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<a id="Terminal_Gui_RectangleF_Intersect_" data-uid="Terminal.Gui.RectangleF.Intersect*"></a>
|
|
<h4 id="Terminal_Gui_RectangleF_Intersect_Terminal_Gui_RectangleF_" data-uid="Terminal.Gui.RectangleF.Intersect(Terminal.Gui.RectangleF)">Intersect(RectangleF)</h4>
|
|
<div class="markdown level1 summary">
|
|
Creates a Rectangle that represents the intersection between this Rectangle and rect.
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
<h5 class="decalaration">Declaration</h5>
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public void Intersect(RectangleF rect)</code></pre>
|
|
</div>
|
|
<h5 class="parameters">Parameters</h5>
|
|
<table class="table table-bordered table-striped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Type</th>
|
|
<th>Name</th>
|
|
<th>Description</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td><a class="xref" href="Terminal.Gui.RectangleF.html">RectangleF</a></td>
|
|
<td><span class="parametername">rect</span></td>
|
|
<td></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<a id="Terminal_Gui_RectangleF_Intersect_" data-uid="Terminal.Gui.RectangleF.Intersect*"></a>
|
|
<h4 id="Terminal_Gui_RectangleF_Intersect_Terminal_Gui_RectangleF_Terminal_Gui_RectangleF_" data-uid="Terminal.Gui.RectangleF.Intersect(Terminal.Gui.RectangleF,Terminal.Gui.RectangleF)">Intersect(RectangleF, RectangleF)</h4>
|
|
<div class="markdown level1 summary">
|
|
Creates a rectangle that represents the intersection between a and b. If there is no intersection, an
|
|
empty rectangle is returned.
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
<h5 class="decalaration">Declaration</h5>
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static RectangleF Intersect(RectangleF a, RectangleF b)</code></pre>
|
|
</div>
|
|
<h5 class="parameters">Parameters</h5>
|
|
<table class="table table-bordered table-striped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Type</th>
|
|
<th>Name</th>
|
|
<th>Description</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td><a class="xref" href="Terminal.Gui.RectangleF.html">RectangleF</a></td>
|
|
<td><span class="parametername">a</span></td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td><a class="xref" href="Terminal.Gui.RectangleF.html">RectangleF</a></td>
|
|
<td><span class="parametername">b</span></td>
|
|
<td></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<h5 class="returns">Returns</h5>
|
|
<table class="table table-bordered table-striped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Type</th>
|
|
<th>Description</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td><a class="xref" href="Terminal.Gui.RectangleF.html">RectangleF</a></td>
|
|
<td></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<a id="Terminal_Gui_RectangleF_IntersectsWith_" data-uid="Terminal.Gui.RectangleF.IntersectsWith*"></a>
|
|
<h4 id="Terminal_Gui_RectangleF_IntersectsWith_Terminal_Gui_RectangleF_" data-uid="Terminal.Gui.RectangleF.IntersectsWith(Terminal.Gui.RectangleF)">IntersectsWith(RectangleF)</h4>
|
|
<div class="markdown level1 summary">
|
|
Determines if this rectangle intersects with rect.
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
<h5 class="decalaration">Declaration</h5>
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public bool IntersectsWith(RectangleF rect)</code></pre>
|
|
</div>
|
|
<h5 class="parameters">Parameters</h5>
|
|
<table class="table table-bordered table-striped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Type</th>
|
|
<th>Name</th>
|
|
<th>Description</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td><a class="xref" href="Terminal.Gui.RectangleF.html">RectangleF</a></td>
|
|
<td><span class="parametername">rect</span></td>
|
|
<td></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<h5 class="returns">Returns</h5>
|
|
<table class="table table-bordered table-striped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Type</th>
|
|
<th>Description</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td><span class="xref">System.Boolean</span></td>
|
|
<td></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<a id="Terminal_Gui_RectangleF_Offset_" data-uid="Terminal.Gui.RectangleF.Offset*"></a>
|
|
<h4 id="Terminal_Gui_RectangleF_Offset_System_Single_System_Single_" data-uid="Terminal.Gui.RectangleF.Offset(System.Single,System.Single)">Offset(Single, Single)</h4>
|
|
<div class="markdown level1 summary">
|
|
Adjusts the location of this rectangle by the specified amount.
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
<h5 class="decalaration">Declaration</h5>
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public void Offset(float x, float y)</code></pre>
|
|
</div>
|
|
<h5 class="parameters">Parameters</h5>
|
|
<table class="table table-bordered table-striped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Type</th>
|
|
<th>Name</th>
|
|
<th>Description</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td><span class="xref">System.Single</span></td>
|
|
<td><span class="parametername">x</span></td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td><span class="xref">System.Single</span></td>
|
|
<td><span class="parametername">y</span></td>
|
|
<td></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<a id="Terminal_Gui_RectangleF_Offset_" data-uid="Terminal.Gui.RectangleF.Offset*"></a>
|
|
<h4 id="Terminal_Gui_RectangleF_Offset_Terminal_Gui_PointF_" data-uid="Terminal.Gui.RectangleF.Offset(Terminal.Gui.PointF)">Offset(PointF)</h4>
|
|
<div class="markdown level1 summary">
|
|
Adjusts the location of this rectangle by the specified amount.
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
<h5 class="decalaration">Declaration</h5>
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public void Offset(PointF pos)</code></pre>
|
|
</div>
|
|
<h5 class="parameters">Parameters</h5>
|
|
<table class="table table-bordered table-striped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Type</th>
|
|
<th>Name</th>
|
|
<th>Description</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td><a class="xref" href="Terminal.Gui.PointF.html">PointF</a></td>
|
|
<td><span class="parametername">pos</span></td>
|
|
<td></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<a id="Terminal_Gui_RectangleF_ToString_" data-uid="Terminal.Gui.RectangleF.ToString*"></a>
|
|
<h4 id="Terminal_Gui_RectangleF_ToString" data-uid="Terminal.Gui.RectangleF.ToString">ToString()</h4>
|
|
<div class="markdown level1 summary">
|
|
Converts the <a class="xref" href="Terminal.Gui.RectangleF.html#Terminal_Gui_RectangleF_Location">Location</a> and <a class="xref" href="Terminal.Gui.RectangleF.html#Terminal_Gui_RectangleF_Size">Size</a>
|
|
of this <a class="xref" href="Terminal.Gui.RectangleF.html">RectangleF</a> to a human-readable string.
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
<h5 class="decalaration">Declaration</h5>
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public override string ToString()</code></pre>
|
|
</div>
|
|
<h5 class="returns">Returns</h5>
|
|
<table class="table table-bordered table-striped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Type</th>
|
|
<th>Description</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td><span class="xref">System.String</span></td>
|
|
<td></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<h5 class="overrides">Overrides</h5>
|
|
<div><span class="xref">System.ValueType.ToString()</span></div>
|
|
<a id="Terminal_Gui_RectangleF_Union_" data-uid="Terminal.Gui.RectangleF.Union*"></a>
|
|
<h4 id="Terminal_Gui_RectangleF_Union_Terminal_Gui_RectangleF_Terminal_Gui_RectangleF_" data-uid="Terminal.Gui.RectangleF.Union(Terminal.Gui.RectangleF,Terminal.Gui.RectangleF)">Union(RectangleF, RectangleF)</h4>
|
|
<div class="markdown level1 summary">
|
|
Creates a rectangle that represents the union between a and b.
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
<h5 class="decalaration">Declaration</h5>
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static RectangleF Union(RectangleF a, RectangleF b)</code></pre>
|
|
</div>
|
|
<h5 class="parameters">Parameters</h5>
|
|
<table class="table table-bordered table-striped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Type</th>
|
|
<th>Name</th>
|
|
<th>Description</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td><a class="xref" href="Terminal.Gui.RectangleF.html">RectangleF</a></td>
|
|
<td><span class="parametername">a</span></td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td><a class="xref" href="Terminal.Gui.RectangleF.html">RectangleF</a></td>
|
|
<td><span class="parametername">b</span></td>
|
|
<td></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<h5 class="returns">Returns</h5>
|
|
<table class="table table-bordered table-striped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Type</th>
|
|
<th>Description</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td><a class="xref" href="Terminal.Gui.RectangleF.html">RectangleF</a></td>
|
|
<td></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<h3 id="operators">Operators
|
|
</h3>
|
|
<a id="Terminal_Gui_RectangleF_op_Equality_" data-uid="Terminal.Gui.RectangleF.op_Equality*"></a>
|
|
<h4 id="Terminal_Gui_RectangleF_op_Equality_Terminal_Gui_RectangleF_Terminal_Gui_RectangleF_" data-uid="Terminal.Gui.RectangleF.op_Equality(Terminal.Gui.RectangleF,Terminal.Gui.RectangleF)">Equality(RectangleF, RectangleF)</h4>
|
|
<div class="markdown level1 summary">
|
|
Tests whether two <a class="xref" href="Terminal.Gui.RectangleF.html">RectangleF</a> objects have equal location and size.
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
<h5 class="decalaration">Declaration</h5>
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static bool operator ==(RectangleF left, RectangleF right)</code></pre>
|
|
</div>
|
|
<h5 class="parameters">Parameters</h5>
|
|
<table class="table table-bordered table-striped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Type</th>
|
|
<th>Name</th>
|
|
<th>Description</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td><a class="xref" href="Terminal.Gui.RectangleF.html">RectangleF</a></td>
|
|
<td><span class="parametername">left</span></td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td><a class="xref" href="Terminal.Gui.RectangleF.html">RectangleF</a></td>
|
|
<td><span class="parametername">right</span></td>
|
|
<td></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<h5 class="returns">Returns</h5>
|
|
<table class="table table-bordered table-striped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Type</th>
|
|
<th>Description</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td><span class="xref">System.Boolean</span></td>
|
|
<td></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<a id="Terminal_Gui_RectangleF_op_Implicit_" data-uid="Terminal.Gui.RectangleF.op_Implicit*"></a>
|
|
<h4 id="Terminal_Gui_RectangleF_op_Implicit_Terminal_Gui_Rect__Terminal_Gui_RectangleF" data-uid="Terminal.Gui.RectangleF.op_Implicit(Terminal.Gui.Rect)~Terminal.Gui.RectangleF">Implicit(Rect to RectangleF)</h4>
|
|
<div class="markdown level1 summary">
|
|
Converts the specified <a class="xref" href="Terminal.Gui.Rect.html">Rect</a> to a
|
|
<a class="xref" href="Terminal.Gui.RectangleF.html">RectangleF</a>.
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
<h5 class="decalaration">Declaration</h5>
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static implicit operator RectangleF(Rect r)</code></pre>
|
|
</div>
|
|
<h5 class="parameters">Parameters</h5>
|
|
<table class="table table-bordered table-striped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Type</th>
|
|
<th>Name</th>
|
|
<th>Description</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td><a class="xref" href="Terminal.Gui.Rect.html">Rect</a></td>
|
|
<td><span class="parametername">r</span></td>
|
|
<td></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<h5 class="returns">Returns</h5>
|
|
<table class="table table-bordered table-striped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Type</th>
|
|
<th>Description</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td><a class="xref" href="Terminal.Gui.RectangleF.html">RectangleF</a></td>
|
|
<td></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<a id="Terminal_Gui_RectangleF_op_Inequality_" data-uid="Terminal.Gui.RectangleF.op_Inequality*"></a>
|
|
<h4 id="Terminal_Gui_RectangleF_op_Inequality_Terminal_Gui_RectangleF_Terminal_Gui_RectangleF_" data-uid="Terminal.Gui.RectangleF.op_Inequality(Terminal.Gui.RectangleF,Terminal.Gui.RectangleF)">Inequality(RectangleF, RectangleF)</h4>
|
|
<div class="markdown level1 summary">
|
|
Tests whether two <a class="xref" href="Terminal.Gui.RectangleF.html">RectangleF</a> objects differ in location or size.
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
<h5 class="decalaration">Declaration</h5>
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static bool operator !=(RectangleF left, RectangleF right)</code></pre>
|
|
</div>
|
|
<h5 class="parameters">Parameters</h5>
|
|
<table class="table table-bordered table-striped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Type</th>
|
|
<th>Name</th>
|
|
<th>Description</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td><a class="xref" href="Terminal.Gui.RectangleF.html">RectangleF</a></td>
|
|
<td><span class="parametername">left</span></td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td><a class="xref" href="Terminal.Gui.RectangleF.html">RectangleF</a></td>
|
|
<td><span class="parametername">right</span></td>
|
|
<td></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<h5 class="returns">Returns</h5>
|
|
<table class="table table-bordered table-striped table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th>Type</th>
|
|
<th>Description</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td><span class="xref">System.Boolean</span></td>
|
|
<td></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<h3 id="implements">Implements</h3>
|
|
<div>
|
|
<span class="xref">System.IEquatable<T></span>
|
|
</div>
|
|
</article>
|
|
</div>
|
|
|
|
<div class="hidden-sm col-md-2" role="complementary">
|
|
<div class="sideaffix">
|
|
<nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
|
|
<h5>In This Article</h5>
|
|
<div></div>
|
|
</nav>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<footer>
|
|
<div class="grad-bottom"></div>
|
|
<div class="footer">
|
|
<div class="container">
|
|
<span class="pull-right">
|
|
<a href="#top">Back to top</a>
|
|
</span>
|
|
|
|
<span>Generated by <strong>DocFX</strong></span>
|
|
</div>
|
|
</div>
|
|
</footer>
|
|
</div>
|
|
|
|
<script type="text/javascript" src="../../styles/docfx.vendor.js"></script>
|
|
<script type="text/javascript" src="../../styles/docfx.js"></script>
|
|
<script type="text/javascript" src="../../styles/main.js"></script>
|
|
</body>
|
|
</html>
|