mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-27 00:07:58 +01:00
1396 lines
46 KiB
HTML
1396 lines
46 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 Rect
|
|
</title>
|
|
<meta name="viewport" content="width=device-width">
|
|
<meta name="title" content="Struct Rect
|
|
">
|
|
<meta name="generator" content="docfx 2.18.2.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="">
|
|
<meta property="docfx:tocrel" content="../toc.html">
|
|
|
|
|
|
</head>
|
|
<body data-spy="scroll" data-target="#affix">
|
|
<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="../../logo.svg" 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 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.Rect">
|
|
|
|
|
|
<h1 id="Terminal_Rect" data-uid="Terminal.Rect">Struct Rect
|
|
</h1>
|
|
<div class="markdown level0 summary"><p>Stores a set of four integers that represent the location and size of a rectangle</p>
|
|
</div>
|
|
<div class="markdown level0 conceptual"></div>
|
|
<h6><strong>Namespace</strong>: <a class="xref" href="../Terminal.html">Terminal</a></h6>
|
|
<h6><strong>Assembly</strong>: Terminal.dll</h6>
|
|
<h5 id="Terminal_Rect_syntax">Syntax</h5>
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public struct Rect</code></pre>
|
|
</div>
|
|
<h3 id="constructors">Constructors
|
|
</h3>
|
|
|
|
|
|
<a id="Terminal_Rect__ctor_" data-uid="Terminal.Rect.#ctor*"></a>
|
|
<h4 id="Terminal_Rect__ctor_Terminal_Point_Terminal_Size_" data-uid="Terminal.Rect.#ctor(Terminal.Point,Terminal.Size)">Rect(Point, Size)</h4>
|
|
<div class="markdown level1 summary"><p>Rectangle Constructor</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
<h5 class="decalaration">Declaration</h5>
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public Rect (Terminal.Point location, Terminal.Size 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.Point.html">Point</a></td>
|
|
<td><span class="parametername">location</span></td>
|
|
<td><p>To be added.</p>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a class="xref" href="Terminal.Size.html">Size</a></td>
|
|
<td><span class="parametername">size</span></td>
|
|
<td><p>To be added.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<h5 id="Terminal_Rect__ctor_Terminal_Point_Terminal_Size__remarks">Remarks</h5>
|
|
<div class="markdown level1 remarks"><p>Creates a Rectangle from Point and Size values.</p>
|
|
</div>
|
|
|
|
|
|
<a id="Terminal_Rect__ctor_" data-uid="Terminal.Rect.#ctor*"></a>
|
|
<h4 id="Terminal_Rect__ctor_System_Int32_System_Int32_System_Int32_System_Int32_" data-uid="Terminal.Rect.#ctor(System.Int32,System.Int32,System.Int32,System.Int32)">Rect(Int32, Int32, Int32, Int32)</h4>
|
|
<div class="markdown level1 summary"><p>Rectangle Constructor</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
<h5 class="decalaration">Declaration</h5>
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public Rect (int x, int y, int width, int 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.Int32</span></td>
|
|
<td><span class="parametername">x</span></td>
|
|
<td><p>To be added.</p>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td><span class="xref">System.Int32</span></td>
|
|
<td><span class="parametername">y</span></td>
|
|
<td><p>To be added.</p>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td><span class="xref">System.Int32</span></td>
|
|
<td><span class="parametername">width</span></td>
|
|
<td><p>To be added.</p>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td><span class="xref">System.Int32</span></td>
|
|
<td><span class="parametername">height</span></td>
|
|
<td><p>To be added.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<h5 id="Terminal_Rect__ctor_System_Int32_System_Int32_System_Int32_System_Int32__remarks">Remarks</h5>
|
|
<div class="markdown level1 remarks"><p>Creates a Rectangle from a specified x,y location and
|
|
width and height values.</p>
|
|
</div>
|
|
<h3 id="fields">Fields
|
|
</h3>
|
|
|
|
|
|
<h4 id="Terminal_Rect_Empty" data-uid="Terminal.Rect.Empty">Empty</h4>
|
|
<div class="markdown level1 summary"><p>Empty Shared Field</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
<h5 class="decalaration">Declaration</h5>
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static readonly Terminal.Rect 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.Rect.html">Rect</a></td>
|
|
<td><p>To be added.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<h5 id="Terminal_Rect_Empty_remarks">Remarks</h5>
|
|
<div class="markdown level1 remarks"><p>An uninitialized Rectangle Structure.</p>
|
|
</div>
|
|
|
|
|
|
<h4 id="Terminal_Rect_Height" data-uid="Terminal.Rect.Height">Height</h4>
|
|
<div class="markdown level1 summary"><p>Gets or sets the height of this Rectangle structure.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
<h5 class="decalaration">Declaration</h5>
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public int Height;</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><span class="xref">System.Int32</span></td>
|
|
<td><p>To be added.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
|
|
|
|
<h4 id="Terminal_Rect_Width" data-uid="Terminal.Rect.Width">Width</h4>
|
|
<div class="markdown level1 summary"><p>Gets or sets the width of this Rect structure.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
<h5 class="decalaration">Declaration</h5>
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public int Width;</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><span class="xref">System.Int32</span></td>
|
|
<td><p>To be added.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
|
|
|
|
<h4 id="Terminal_Rect_X" data-uid="Terminal.Rect.X">X</h4>
|
|
<div class="markdown level1 summary"><p>Gets or sets the x-coordinate of the upper-left corner of this Rectangle structure.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
<h5 class="decalaration">Declaration</h5>
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public int X;</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><span class="xref">System.Int32</span></td>
|
|
<td><p>To be added.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
|
|
|
|
<h4 id="Terminal_Rect_Y" data-uid="Terminal.Rect.Y">Y</h4>
|
|
<div class="markdown level1 summary"><p>Gets or sets the y-coordinate of the upper-left corner of this Rectangle structure.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
<h5 class="decalaration">Declaration</h5>
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public int Y;</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><span class="xref">System.Int32</span></td>
|
|
<td><p>To be added.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<h3 id="properties">Properties
|
|
</h3>
|
|
|
|
|
|
<a id="Terminal_Rect_Bottom_" data-uid="Terminal.Rect.Bottom*"></a>
|
|
<h4 id="Terminal_Rect_Bottom" data-uid="Terminal.Rect.Bottom">Bottom</h4>
|
|
<div class="markdown level1 summary"><p>Bottom Property</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
<h5 class="decalaration">Declaration</h5>
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public int 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.Int32</span></td>
|
|
<td><p>To be added.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<h5 id="Terminal_Rect_Bottom_remarks">Remarks</h5>
|
|
<div class="markdown level1 remarks"><p>The Y coordinate of the bottom edge of the Rectangle.
|
|
Read only.</p>
|
|
</div>
|
|
|
|
|
|
<a id="Terminal_Rect_IsEmpty_" data-uid="Terminal.Rect.IsEmpty*"></a>
|
|
<h4 id="Terminal_Rect_IsEmpty" data-uid="Terminal.Rect.IsEmpty">IsEmpty</h4>
|
|
<div class="markdown level1 summary"><p>IsEmpty Property</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
<h5 class="decalaration">Declaration</h5>
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public 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><p>To be added.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<h5 id="Terminal_Rect_IsEmpty_remarks">Remarks</h5>
|
|
<div class="markdown level1 remarks"><p>Indicates if the width or height are zero. Read only.</p>
|
|
</div>
|
|
|
|
|
|
<a id="Terminal_Rect_Left_" data-uid="Terminal.Rect.Left*"></a>
|
|
<h4 id="Terminal_Rect_Left" data-uid="Terminal.Rect.Left">Left</h4>
|
|
<div class="markdown level1 summary"><p>Left Property</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
<h5 class="decalaration">Declaration</h5>
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public int 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.Int32</span></td>
|
|
<td><p>To be added.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<h5 id="Terminal_Rect_Left_remarks">Remarks</h5>
|
|
<div class="markdown level1 remarks"><p>The X coordinate of the left edge of the Rectangle.
|
|
Read only.</p>
|
|
</div>
|
|
|
|
|
|
<a id="Terminal_Rect_Location_" data-uid="Terminal.Rect.Location*"></a>
|
|
<h4 id="Terminal_Rect_Location" data-uid="Terminal.Rect.Location">Location</h4>
|
|
<div class="markdown level1 summary"><p>Location Property</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
<h5 class="decalaration">Declaration</h5>
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public Terminal.Point 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.Point.html">Point</a></td>
|
|
<td><p>To be added.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<h5 id="Terminal_Rect_Location_remarks">Remarks</h5>
|
|
<div class="markdown level1 remarks"><p>The Location of the top-left corner of the Rectangle.</p>
|
|
</div>
|
|
|
|
|
|
<a id="Terminal_Rect_Right_" data-uid="Terminal.Rect.Right*"></a>
|
|
<h4 id="Terminal_Rect_Right" data-uid="Terminal.Rect.Right">Right</h4>
|
|
<div class="markdown level1 summary"><p>Right Property</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
<h5 class="decalaration">Declaration</h5>
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public int 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.Int32</span></td>
|
|
<td><p>To be added.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<h5 id="Terminal_Rect_Right_remarks">Remarks</h5>
|
|
<div class="markdown level1 remarks"><p>The X coordinate of the right edge of the Rectangle.
|
|
Read only.</p>
|
|
</div>
|
|
|
|
|
|
<a id="Terminal_Rect_Size_" data-uid="Terminal.Rect.Size*"></a>
|
|
<h4 id="Terminal_Rect_Size" data-uid="Terminal.Rect.Size">Size</h4>
|
|
<div class="markdown level1 summary"><p>Size Property</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
<h5 class="decalaration">Declaration</h5>
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public Terminal.Size 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.Size.html">Size</a></td>
|
|
<td><p>To be added.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<h5 id="Terminal_Rect_Size_remarks">Remarks</h5>
|
|
<div class="markdown level1 remarks"><p>The Size of the Rectangle.</p>
|
|
</div>
|
|
|
|
|
|
<a id="Terminal_Rect_Top_" data-uid="Terminal.Rect.Top*"></a>
|
|
<h4 id="Terminal_Rect_Top" data-uid="Terminal.Rect.Top">Top</h4>
|
|
<div class="markdown level1 summary"><p>Top Property</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
<h5 class="decalaration">Declaration</h5>
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public int 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.Int32</span></td>
|
|
<td><p>To be added.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<h5 id="Terminal_Rect_Top_remarks">Remarks</h5>
|
|
<div class="markdown level1 remarks"><p>The Y coordinate of the top edge of the Rectangle.
|
|
Read only.</p>
|
|
</div>
|
|
<h3 id="methods">Methods
|
|
</h3>
|
|
|
|
|
|
<a id="Terminal_Rect_Contains_" data-uid="Terminal.Rect.Contains*"></a>
|
|
<h4 id="Terminal_Rect_Contains_Terminal_Point_" data-uid="Terminal.Rect.Contains(Terminal.Point)">Contains(Point)</h4>
|
|
<div class="markdown level1 summary"><p>Contains Method</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
<h5 class="decalaration">Declaration</h5>
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public bool Contains (Terminal.Point 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.Point.html">Point</a></td>
|
|
<td><span class="parametername">pt</span></td>
|
|
<td><p>To be added.</p>
|
|
</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><p>To be added.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<h5 id="Terminal_Rect_Contains_Terminal_Point__remarks">Remarks</h5>
|
|
<div class="markdown level1 remarks"><p>Checks if a Point lies within this Rectangle.</p>
|
|
</div>
|
|
|
|
|
|
<a id="Terminal_Rect_Contains_" data-uid="Terminal.Rect.Contains*"></a>
|
|
<h4 id="Terminal_Rect_Contains_Terminal_Rect_" data-uid="Terminal.Rect.Contains(Terminal.Rect)">Contains(Rect)</h4>
|
|
<div class="markdown level1 summary"><p>Contains Method</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
<h5 class="decalaration">Declaration</h5>
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public bool Contains (Terminal.Rect 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.Rect.html">Rect</a></td>
|
|
<td><span class="parametername">rect</span></td>
|
|
<td><p>To be added.</p>
|
|
</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><p>To be added.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<h5 id="Terminal_Rect_Contains_Terminal_Rect__remarks">Remarks</h5>
|
|
<div class="markdown level1 remarks"><p>Checks if a Rectangle lies entirely within this
|
|
Rectangle.</p>
|
|
</div>
|
|
|
|
|
|
<a id="Terminal_Rect_Contains_" data-uid="Terminal.Rect.Contains*"></a>
|
|
<h4 id="Terminal_Rect_Contains_System_Int32_System_Int32_" data-uid="Terminal.Rect.Contains(System.Int32,System.Int32)">Contains(Int32, Int32)</h4>
|
|
<div class="markdown level1 summary"><p>Contains Method</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
<h5 class="decalaration">Declaration</h5>
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public bool Contains (int x, int 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.Int32</span></td>
|
|
<td><span class="parametername">x</span></td>
|
|
<td><p>To be added.</p>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td><span class="xref">System.Int32</span></td>
|
|
<td><span class="parametername">y</span></td>
|
|
<td><p>To be added.</p>
|
|
</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><p>To be added.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<h5 id="Terminal_Rect_Contains_System_Int32_System_Int32__remarks">Remarks</h5>
|
|
<div class="markdown level1 remarks"><p>Checks if an x,y coordinate lies within this Rectangle.</p>
|
|
</div>
|
|
|
|
|
|
<a id="Terminal_Rect_Equals_" data-uid="Terminal.Rect.Equals*"></a>
|
|
<h4 id="Terminal_Rect_Equals_System_Object_" data-uid="Terminal.Rect.Equals(System.Object)">Equals(Object)</h4>
|
|
<div class="markdown level1 summary"><p>Equals Method</p>
|
|
</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><p>To be added.</p>
|
|
</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><p>To be added.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<h5 id="Terminal_Rect_Equals_System_Object__remarks">Remarks</h5>
|
|
<div class="markdown level1 remarks"><p>Checks equivalence of this Rectangle and another object.</p>
|
|
</div>
|
|
|
|
|
|
<a id="Terminal_Rect_FromLTRB_" data-uid="Terminal.Rect.FromLTRB*"></a>
|
|
<h4 id="Terminal_Rect_FromLTRB_System_Int32_System_Int32_System_Int32_System_Int32_" data-uid="Terminal.Rect.FromLTRB(System.Int32,System.Int32,System.Int32,System.Int32)">FromLTRB(Int32, Int32, Int32, Int32)</h4>
|
|
<div class="markdown level1 summary"><p>FromLTRB Shared Method</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
<h5 class="decalaration">Declaration</h5>
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static Terminal.Rect FromLTRB (int left, int top, int right, int 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.Int32</span></td>
|
|
<td><span class="parametername">left</span></td>
|
|
<td><p>To be added.</p>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td><span class="xref">System.Int32</span></td>
|
|
<td><span class="parametername">top</span></td>
|
|
<td><p>To be added.</p>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td><span class="xref">System.Int32</span></td>
|
|
<td><span class="parametername">right</span></td>
|
|
<td><p>To be added.</p>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td><span class="xref">System.Int32</span></td>
|
|
<td><span class="parametername">bottom</span></td>
|
|
<td><p>To be added.</p>
|
|
</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.Rect.html">Rect</a></td>
|
|
<td><p>To be added.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<h5 id="Terminal_Rect_FromLTRB_System_Int32_System_Int32_System_Int32_System_Int32__remarks">Remarks</h5>
|
|
<div class="markdown level1 remarks"><p>Produces a Rectangle structure from left, top, right
|
|
and bottom coordinates.</p>
|
|
</div>
|
|
|
|
|
|
<a id="Terminal_Rect_GetHashCode_" data-uid="Terminal.Rect.GetHashCode*"></a>
|
|
<h4 id="Terminal_Rect_GetHashCode" data-uid="Terminal.Rect.GetHashCode">GetHashCode()</h4>
|
|
<div class="markdown level1 summary"><p>GetHashCode Method</p>
|
|
</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><p>To be added.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<h5 id="Terminal_Rect_GetHashCode_remarks">Remarks</h5>
|
|
<div class="markdown level1 remarks"><p>Calculates a hashing value.</p>
|
|
</div>
|
|
|
|
|
|
<a id="Terminal_Rect_Inflate_" data-uid="Terminal.Rect.Inflate*"></a>
|
|
<h4 id="Terminal_Rect_Inflate_Terminal_Size_" data-uid="Terminal.Rect.Inflate(Terminal.Size)">Inflate(Size)</h4>
|
|
<div class="markdown level1 summary"><p>Inflate Method</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
<h5 class="decalaration">Declaration</h5>
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public void Inflate (Terminal.Size 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.Size.html">Size</a></td>
|
|
<td><span class="parametername">size</span></td>
|
|
<td><p>To be added.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<h5 id="Terminal_Rect_Inflate_Terminal_Size__remarks">Remarks</h5>
|
|
<div class="markdown level1 remarks"><p>Inflates the Rectangle by a specified Size.</p>
|
|
</div>
|
|
|
|
|
|
<a id="Terminal_Rect_Inflate_" data-uid="Terminal.Rect.Inflate*"></a>
|
|
<h4 id="Terminal_Rect_Inflate_System_Int32_System_Int32_" data-uid="Terminal.Rect.Inflate(System.Int32,System.Int32)">Inflate(Int32, Int32)</h4>
|
|
<div class="markdown level1 summary"><p>Inflate Method</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
<h5 class="decalaration">Declaration</h5>
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public void Inflate (int width, int 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.Int32</span></td>
|
|
<td><span class="parametername">width</span></td>
|
|
<td><p>To be added.</p>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td><span class="xref">System.Int32</span></td>
|
|
<td><span class="parametername">height</span></td>
|
|
<td><p>To be added.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<h5 id="Terminal_Rect_Inflate_System_Int32_System_Int32__remarks">Remarks</h5>
|
|
<div class="markdown level1 remarks"><p>Inflates the Rectangle by a specified width and height.</p>
|
|
</div>
|
|
|
|
|
|
<a id="Terminal_Rect_Inflate_" data-uid="Terminal.Rect.Inflate*"></a>
|
|
<h4 id="Terminal_Rect_Inflate_Terminal_Rect_System_Int32_System_Int32_" data-uid="Terminal.Rect.Inflate(Terminal.Rect,System.Int32,System.Int32)">Inflate(Rect, Int32, Int32)</h4>
|
|
<div class="markdown level1 summary"><p>Inflate Shared Method</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
<h5 class="decalaration">Declaration</h5>
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static Terminal.Rect Inflate (Terminal.Rect rect, int x, int 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.Rect.html">Rect</a></td>
|
|
<td><span class="parametername">rect</span></td>
|
|
<td><p>To be added.</p>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td><span class="xref">System.Int32</span></td>
|
|
<td><span class="parametername">x</span></td>
|
|
<td><p>To be added.</p>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td><span class="xref">System.Int32</span></td>
|
|
<td><span class="parametername">y</span></td>
|
|
<td><p>To be added.</p>
|
|
</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.Rect.html">Rect</a></td>
|
|
<td><p>To be added.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<h5 id="Terminal_Rect_Inflate_Terminal_Rect_System_Int32_System_Int32__remarks">Remarks</h5>
|
|
<div class="markdown level1 remarks"><p>Produces a new Rectangle by inflating an existing
|
|
Rectangle by the specified coordinate values.</p>
|
|
</div>
|
|
|
|
|
|
<a id="Terminal_Rect_Intersect_" data-uid="Terminal.Rect.Intersect*"></a>
|
|
<h4 id="Terminal_Rect_Intersect_Terminal_Rect_Terminal_Rect_" data-uid="Terminal.Rect.Intersect(Terminal.Rect,Terminal.Rect)">Intersect(Rect, Rect)</h4>
|
|
<div class="markdown level1 summary"><p>Intersect Shared Method</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
<h5 class="decalaration">Declaration</h5>
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static Terminal.Rect Intersect (Terminal.Rect a, Terminal.Rect 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.Rect.html">Rect</a></td>
|
|
<td><span class="parametername">a</span></td>
|
|
<td><p>To be added.</p>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a class="xref" href="Terminal.Rect.html">Rect</a></td>
|
|
<td><span class="parametername">b</span></td>
|
|
<td><p>To be added.</p>
|
|
</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.Rect.html">Rect</a></td>
|
|
<td><p>To be added.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<h5 id="Terminal_Rect_Intersect_Terminal_Rect_Terminal_Rect__remarks">Remarks</h5>
|
|
<div class="markdown level1 remarks"><p>Produces a new Rectangle by intersecting 2 existing
|
|
Rectangles. Returns null if there is no intersection.</p>
|
|
</div>
|
|
|
|
|
|
<a id="Terminal_Rect_Intersect_" data-uid="Terminal.Rect.Intersect*"></a>
|
|
<h4 id="Terminal_Rect_Intersect_Terminal_Rect_" data-uid="Terminal.Rect.Intersect(Terminal.Rect)">Intersect(Rect)</h4>
|
|
<div class="markdown level1 summary"><p>Intersect Method</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
<h5 class="decalaration">Declaration</h5>
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public void Intersect (Terminal.Rect 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.Rect.html">Rect</a></td>
|
|
<td><span class="parametername">rect</span></td>
|
|
<td><p>To be added.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<h5 id="Terminal_Rect_Intersect_Terminal_Rect__remarks">Remarks</h5>
|
|
<div class="markdown level1 remarks"><p>Replaces the Rectangle with the intersection of itself
|
|
and another Rectangle.</p>
|
|
</div>
|
|
|
|
|
|
<a id="Terminal_Rect_IntersectsWith_" data-uid="Terminal.Rect.IntersectsWith*"></a>
|
|
<h4 id="Terminal_Rect_IntersectsWith_Terminal_Rect_" data-uid="Terminal.Rect.IntersectsWith(Terminal.Rect)">IntersectsWith(Rect)</h4>
|
|
<div class="markdown level1 summary"><p>IntersectsWith Method</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
<h5 class="decalaration">Declaration</h5>
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public bool IntersectsWith (Terminal.Rect 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.Rect.html">Rect</a></td>
|
|
<td><span class="parametername">rect</span></td>
|
|
<td><p>To be added.</p>
|
|
</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><p>To be added.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<h5 id="Terminal_Rect_IntersectsWith_Terminal_Rect__remarks">Remarks</h5>
|
|
<div class="markdown level1 remarks"><p>Checks if a Rectangle intersects with this one.</p>
|
|
</div>
|
|
|
|
|
|
<a id="Terminal_Rect_Offset_" data-uid="Terminal.Rect.Offset*"></a>
|
|
<h4 id="Terminal_Rect_Offset_Terminal_Point_" data-uid="Terminal.Rect.Offset(Terminal.Point)">Offset(Point)</h4>
|
|
<div class="markdown level1 summary"><p>Offset Method</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
<h5 class="decalaration">Declaration</h5>
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public void Offset (Terminal.Point 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.Point.html">Point</a></td>
|
|
<td><span class="parametername">pos</span></td>
|
|
<td><p>To be added.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<h5 id="Terminal_Rect_Offset_Terminal_Point__remarks">Remarks</h5>
|
|
<div class="markdown level1 remarks"><p>Moves the Rectangle a specified distance.</p>
|
|
</div>
|
|
|
|
|
|
<a id="Terminal_Rect_Offset_" data-uid="Terminal.Rect.Offset*"></a>
|
|
<h4 id="Terminal_Rect_Offset_System_Int32_System_Int32_" data-uid="Terminal.Rect.Offset(System.Int32,System.Int32)">Offset(Int32, Int32)</h4>
|
|
<div class="markdown level1 summary"><p>Offset Method</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
<h5 class="decalaration">Declaration</h5>
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public void Offset (int x, int 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.Int32</span></td>
|
|
<td><span class="parametername">x</span></td>
|
|
<td><p>To be added.</p>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td><span class="xref">System.Int32</span></td>
|
|
<td><span class="parametername">y</span></td>
|
|
<td><p>To be added.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<h5 id="Terminal_Rect_Offset_System_Int32_System_Int32__remarks">Remarks</h5>
|
|
<div class="markdown level1 remarks"><p>Moves the Rectangle a specified distance.</p>
|
|
</div>
|
|
|
|
|
|
<a id="Terminal_Rect_ToString_" data-uid="Terminal.Rect.ToString*"></a>
|
|
<h4 id="Terminal_Rect_ToString" data-uid="Terminal.Rect.ToString">ToString()</h4>
|
|
<div class="markdown level1 summary"><p>ToString Method</p>
|
|
</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><p>To be added.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<h5 id="Terminal_Rect_ToString_remarks">Remarks</h5>
|
|
<div class="markdown level1 remarks"><p>Formats the Rectangle as a string in (x,y,w,h) notation.</p>
|
|
</div>
|
|
|
|
|
|
<a id="Terminal_Rect_Union_" data-uid="Terminal.Rect.Union*"></a>
|
|
<h4 id="Terminal_Rect_Union_Terminal_Rect_Terminal_Rect_" data-uid="Terminal.Rect.Union(Terminal.Rect,Terminal.Rect)">Union(Rect, Rect)</h4>
|
|
<div class="markdown level1 summary"><p>Union Shared Method</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
<h5 class="decalaration">Declaration</h5>
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static Terminal.Rect Union (Terminal.Rect a, Terminal.Rect 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.Rect.html">Rect</a></td>
|
|
<td><span class="parametername">a</span></td>
|
|
<td><p>To be added.</p>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a class="xref" href="Terminal.Rect.html">Rect</a></td>
|
|
<td><span class="parametername">b</span></td>
|
|
<td><p>To be added.</p>
|
|
</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.Rect.html">Rect</a></td>
|
|
<td><p>To be added.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<h5 id="Terminal_Rect_Union_Terminal_Rect_Terminal_Rect__remarks">Remarks</h5>
|
|
<div class="markdown level1 remarks"><p>Produces a new Rectangle from the union of 2 existing
|
|
Rectangles.</p>
|
|
</div>
|
|
<h3 id="operators">Operators
|
|
</h3>
|
|
|
|
|
|
<a id="Terminal_Rect_op_Equality_" data-uid="Terminal.Rect.op_Equality*"></a>
|
|
<h4 id="Terminal_Rect_op_Equality_Terminal_Rect_Terminal_Rect_" data-uid="Terminal.Rect.op_Equality(Terminal.Rect,Terminal.Rect)">op_Equality(Rect, Rect)</h4>
|
|
<div class="markdown level1 summary"><p>Equality Operator</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
<h5 class="decalaration">Declaration</h5>
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static bool op_Equality (Terminal.Rect left, Terminal.Rect 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.Rect.html">Rect</a></td>
|
|
<td><span class="parametername">left</span></td>
|
|
<td><p>To be added.</p>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a class="xref" href="Terminal.Rect.html">Rect</a></td>
|
|
<td><span class="parametername">right</span></td>
|
|
<td><p>To be added.</p>
|
|
</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><p>To be added.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<h5 id="Terminal_Rect_op_Equality_Terminal_Rect_Terminal_Rect__remarks">Remarks</h5>
|
|
<div class="markdown level1 remarks"><p>Compares two Rectangle objects. The return value is
|
|
based on the equivalence of the Location and Size
|
|
properties of the two Rectangles.</p>
|
|
</div>
|
|
|
|
|
|
<a id="Terminal_Rect_op_Inequality_" data-uid="Terminal.Rect.op_Inequality*"></a>
|
|
<h4 id="Terminal_Rect_op_Inequality_Terminal_Rect_Terminal_Rect_" data-uid="Terminal.Rect.op_Inequality(Terminal.Rect,Terminal.Rect)">op_Inequality(Rect, Rect)</h4>
|
|
<div class="markdown level1 summary"><p>Inequality Operator</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
<h5 class="decalaration">Declaration</h5>
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static bool op_Inequality (Terminal.Rect left, Terminal.Rect 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.Rect.html">Rect</a></td>
|
|
<td><span class="parametername">left</span></td>
|
|
<td><p>To be added.</p>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a class="xref" href="Terminal.Rect.html">Rect</a></td>
|
|
<td><span class="parametername">right</span></td>
|
|
<td><p>To be added.</p>
|
|
</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><p>To be added.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<h5 id="Terminal_Rect_op_Inequality_Terminal_Rect_Terminal_Rect__remarks">Remarks</h5>
|
|
<div class="markdown level1 remarks"><p>Compares two Rectangle objects. The return value is
|
|
based on the equivalence of the Location and Size
|
|
properties of the two Rectangles.</p>
|
|
</div>
|
|
</article>
|
|
</div>
|
|
|
|
<div class="hidden-sm col-md-2" role="complementary">
|
|
<div class="sideaffix">
|
|
<div class="contribution">
|
|
<ul class="nav">
|
|
</ul>
|
|
</div>
|
|
<nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
|
|
<!-- <p><a class="back-to-top" href="#top">Back to top</a><p> -->
|
|
</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>Copyright © 2015-2017 Microsoft<br>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>
|