mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-28 00:38:00 +01:00
909 lines
32 KiB
HTML
909 lines
32 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 PointF
|
|
</title>
|
|
<meta name="viewport" content="width=device-width">
|
|
<meta name="title" content="Struct PointF
|
|
">
|
|
<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.PointF">
|
|
|
|
|
|
<h1 id="Terminal_Gui_PointF" data-uid="Terminal.Gui.PointF" class="text-break">Struct PointF
|
|
</h1>
|
|
<div class="markdown level0 summary">
|
|
Represents an ordered pair of x and y coordinates that define a point in a two-dimensional plane.
|
|
</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.PointF.html">PointF</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_PointF_syntax">Syntax</h5>
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public struct PointF : IEquatable<PointF></code></pre>
|
|
</div>
|
|
<h3 id="constructors">Constructors
|
|
</h3>
|
|
<a id="Terminal_Gui_PointF__ctor_" data-uid="Terminal.Gui.PointF.#ctor*"></a>
|
|
<h4 id="Terminal_Gui_PointF__ctor_System_Single_System_Single_" data-uid="Terminal.Gui.PointF.#ctor(System.Single,System.Single)">PointF(Single, Single)</h4>
|
|
<div class="markdown level1 summary">
|
|
Initializes a new instance of the <a class="xref" href="Terminal.Gui.PointF.html">PointF</a> class with the specified coordinates.
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
<h5 class="decalaration">Declaration</h5>
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public PointF(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>
|
|
<h3 id="fields">Fields
|
|
</h3>
|
|
<h4 id="Terminal_Gui_PointF_Empty" data-uid="Terminal.Gui.PointF.Empty">Empty</h4>
|
|
<div class="markdown level1 summary">
|
|
Creates a new instance of the <a class="xref" href="Terminal.Gui.PointF.html">PointF</a> class with member data left uninitialized.
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
<h5 class="decalaration">Declaration</h5>
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static readonly PointF 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.PointF.html">PointF</a></td>
|
|
<td></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<h3 id="properties">Properties
|
|
</h3>
|
|
<a id="Terminal_Gui_PointF_IsEmpty_" data-uid="Terminal.Gui.PointF.IsEmpty*"></a>
|
|
<h4 id="Terminal_Gui_PointF_IsEmpty" data-uid="Terminal.Gui.PointF.IsEmpty">IsEmpty</h4>
|
|
<div class="markdown level1 summary">
|
|
Gets a value indicating whether this <a class="xref" href="Terminal.Gui.PointF.html">PointF</a> is empty.
|
|
</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_PointF_X_" data-uid="Terminal.Gui.PointF.X*"></a>
|
|
<h4 id="Terminal_Gui_PointF_X" data-uid="Terminal.Gui.PointF.X">X</h4>
|
|
<div class="markdown level1 summary">
|
|
Gets the x-coordinate of this <a class="xref" href="Terminal.Gui.PointF.html">PointF</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_PointF_Y_" data-uid="Terminal.Gui.PointF.Y*"></a>
|
|
<h4 id="Terminal_Gui_PointF_Y" data-uid="Terminal.Gui.PointF.Y">Y</h4>
|
|
<div class="markdown level1 summary">
|
|
Gets the y-coordinate of this <a class="xref" href="Terminal.Gui.PointF.html">PointF</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_PointF_Add_" data-uid="Terminal.Gui.PointF.Add*"></a>
|
|
<h4 id="Terminal_Gui_PointF_Add_Terminal_Gui_PointF_Terminal_Gui_Size_" data-uid="Terminal.Gui.PointF.Add(Terminal.Gui.PointF,Terminal.Gui.Size)">Add(PointF, Size)</h4>
|
|
<div class="markdown level1 summary">
|
|
Translates a <a class="xref" href="Terminal.Gui.PointF.html">PointF</a> by a given <a class="xref" href="Terminal.Gui.Size.html">Size</a> .
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
<h5 class="decalaration">Declaration</h5>
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static PointF Add(PointF pt, Size sz)</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>
|
|
<tr>
|
|
<td><a class="xref" href="Terminal.Gui.Size.html">Size</a></td>
|
|
<td><span class="parametername">sz</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.PointF.html">PointF</a></td>
|
|
<td></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<a id="Terminal_Gui_PointF_Add_" data-uid="Terminal.Gui.PointF.Add*"></a>
|
|
<h4 id="Terminal_Gui_PointF_Add_Terminal_Gui_PointF_Terminal_Gui_SizeF_" data-uid="Terminal.Gui.PointF.Add(Terminal.Gui.PointF,Terminal.Gui.SizeF)">Add(PointF, SizeF)</h4>
|
|
<div class="markdown level1 summary">
|
|
Translates a <a class="xref" href="Terminal.Gui.PointF.html">PointF</a> by a given <a class="xref" href="Terminal.Gui.SizeF.html">SizeF</a> .
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
<h5 class="decalaration">Declaration</h5>
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static PointF Add(PointF pt, SizeF sz)</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>
|
|
<tr>
|
|
<td><a class="xref" href="Terminal.Gui.SizeF.html">SizeF</a></td>
|
|
<td><span class="parametername">sz</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.PointF.html">PointF</a></td>
|
|
<td></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<a id="Terminal_Gui_PointF_Equals_" data-uid="Terminal.Gui.PointF.Equals*"></a>
|
|
<h4 id="Terminal_Gui_PointF_Equals_System_Object_" data-uid="Terminal.Gui.PointF.Equals(System.Object)">Equals(Object)</h4>
|
|
<div class="markdown level1 summary">
|
|
Compares two <a class="xref" href="Terminal.Gui.PointF.html">PointF</a> objects. The result specifies whether the values of the
|
|
<a class="xref" href="Terminal.Gui.PointF.html#Terminal_Gui_PointF_X">X</a> and <a class="xref" href="Terminal.Gui.PointF.html#Terminal_Gui_PointF_Y">Y</a> properties of the two
|
|
<a class="xref" href="Terminal.Gui.PointF.html">PointF</a> objects are equal.
|
|
</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_PointF_Equals_" data-uid="Terminal.Gui.PointF.Equals*"></a>
|
|
<h4 id="Terminal_Gui_PointF_Equals_Terminal_Gui_PointF_" data-uid="Terminal.Gui.PointF.Equals(Terminal.Gui.PointF)">Equals(PointF)</h4>
|
|
<div class="markdown level1 summary">
|
|
Compares two <a class="xref" href="Terminal.Gui.PointF.html">PointF</a> objects. The result specifies whether the values of the
|
|
<a class="xref" href="Terminal.Gui.PointF.html#Terminal_Gui_PointF_X">X</a> and <a class="xref" href="Terminal.Gui.PointF.html#Terminal_Gui_PointF_Y">Y</a> properties of the two
|
|
<a class="xref" href="Terminal.Gui.PointF.html">PointF</a> objects are equal.
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
<h5 class="decalaration">Declaration</h5>
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public bool Equals(PointF 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.PointF.html">PointF</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_PointF_GetHashCode_" data-uid="Terminal.Gui.PointF.GetHashCode*"></a>
|
|
<h4 id="Terminal_Gui_PointF_GetHashCode" data-uid="Terminal.Gui.PointF.GetHashCode">GetHashCode()</h4>
|
|
<div class="markdown level1 summary">
|
|
Generates a hashcode from the X and Y components
|
|
</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_PointF_Subtract_" data-uid="Terminal.Gui.PointF.Subtract*"></a>
|
|
<h4 id="Terminal_Gui_PointF_Subtract_Terminal_Gui_PointF_Terminal_Gui_Size_" data-uid="Terminal.Gui.PointF.Subtract(Terminal.Gui.PointF,Terminal.Gui.Size)">Subtract(PointF, Size)</h4>
|
|
<div class="markdown level1 summary">
|
|
Translates a <a class="xref" href="Terminal.Gui.PointF.html">PointF</a> by the negative of a given <a class="xref" href="Terminal.Gui.Size.html">Size</a> .
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
<h5 class="decalaration">Declaration</h5>
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static PointF Subtract(PointF pt, Size sz)</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>
|
|
<tr>
|
|
<td><a class="xref" href="Terminal.Gui.Size.html">Size</a></td>
|
|
<td><span class="parametername">sz</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.PointF.html">PointF</a></td>
|
|
<td></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<a id="Terminal_Gui_PointF_Subtract_" data-uid="Terminal.Gui.PointF.Subtract*"></a>
|
|
<h4 id="Terminal_Gui_PointF_Subtract_Terminal_Gui_PointF_Terminal_Gui_SizeF_" data-uid="Terminal.Gui.PointF.Subtract(Terminal.Gui.PointF,Terminal.Gui.SizeF)">Subtract(PointF, SizeF)</h4>
|
|
<div class="markdown level1 summary">
|
|
Translates a <a class="xref" href="Terminal.Gui.PointF.html">PointF</a> by the negative of a given <a class="xref" href="Terminal.Gui.SizeF.html">SizeF</a> .
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
<h5 class="decalaration">Declaration</h5>
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static PointF Subtract(PointF pt, SizeF sz)</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>
|
|
<tr>
|
|
<td><a class="xref" href="Terminal.Gui.SizeF.html">SizeF</a></td>
|
|
<td><span class="parametername">sz</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.PointF.html">PointF</a></td>
|
|
<td></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<a id="Terminal_Gui_PointF_ToString_" data-uid="Terminal.Gui.PointF.ToString*"></a>
|
|
<h4 id="Terminal_Gui_PointF_ToString" data-uid="Terminal.Gui.PointF.ToString">ToString()</h4>
|
|
<div class="markdown level1 summary">
|
|
Returns a string including the X and Y values
|
|
</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>
|
|
<h3 id="operators">Operators
|
|
</h3>
|
|
<a id="Terminal_Gui_PointF_op_Addition_" data-uid="Terminal.Gui.PointF.op_Addition*"></a>
|
|
<h4 id="Terminal_Gui_PointF_op_Addition_Terminal_Gui_PointF_Terminal_Gui_Size_" data-uid="Terminal.Gui.PointF.op_Addition(Terminal.Gui.PointF,Terminal.Gui.Size)">Addition(PointF, Size)</h4>
|
|
<div class="markdown level1 summary">
|
|
Translates a <a class="xref" href="Terminal.Gui.PointF.html">PointF</a> by a given <a class="xref" href="Terminal.Gui.Size.html">Size</a> .
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
<h5 class="decalaration">Declaration</h5>
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static PointF operator +(PointF pt, Size sz)</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>
|
|
<tr>
|
|
<td><a class="xref" href="Terminal.Gui.Size.html">Size</a></td>
|
|
<td><span class="parametername">sz</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.PointF.html">PointF</a></td>
|
|
<td></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<a id="Terminal_Gui_PointF_op_Addition_" data-uid="Terminal.Gui.PointF.op_Addition*"></a>
|
|
<h4 id="Terminal_Gui_PointF_op_Addition_Terminal_Gui_PointF_Terminal_Gui_SizeF_" data-uid="Terminal.Gui.PointF.op_Addition(Terminal.Gui.PointF,Terminal.Gui.SizeF)">Addition(PointF, SizeF)</h4>
|
|
<div class="markdown level1 summary">
|
|
Translates a <a class="xref" href="Terminal.Gui.PointF.html">PointF</a> by a given <a class="xref" href="Terminal.Gui.SizeF.html">SizeF</a> .
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
<h5 class="decalaration">Declaration</h5>
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static PointF operator +(PointF pt, SizeF sz)</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>
|
|
<tr>
|
|
<td><a class="xref" href="Terminal.Gui.SizeF.html">SizeF</a></td>
|
|
<td><span class="parametername">sz</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.PointF.html">PointF</a></td>
|
|
<td></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<a id="Terminal_Gui_PointF_op_Equality_" data-uid="Terminal.Gui.PointF.op_Equality*"></a>
|
|
<h4 id="Terminal_Gui_PointF_op_Equality_Terminal_Gui_PointF_Terminal_Gui_PointF_" data-uid="Terminal.Gui.PointF.op_Equality(Terminal.Gui.PointF,Terminal.Gui.PointF)">Equality(PointF, PointF)</h4>
|
|
<div class="markdown level1 summary">
|
|
Compares two <a class="xref" href="Terminal.Gui.PointF.html">PointF</a> objects. The result specifies whether the values of the
|
|
<a class="xref" href="Terminal.Gui.PointF.html#Terminal_Gui_PointF_X">X</a> and <a class="xref" href="Terminal.Gui.PointF.html#Terminal_Gui_PointF_Y">Y</a> properties of the two
|
|
<a class="xref" href="Terminal.Gui.PointF.html">PointF</a> objects are equal.
|
|
</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 ==(PointF left, PointF 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.PointF.html">PointF</a></td>
|
|
<td><span class="parametername">left</span></td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td><a class="xref" href="Terminal.Gui.PointF.html">PointF</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_PointF_op_Inequality_" data-uid="Terminal.Gui.PointF.op_Inequality*"></a>
|
|
<h4 id="Terminal_Gui_PointF_op_Inequality_Terminal_Gui_PointF_Terminal_Gui_PointF_" data-uid="Terminal.Gui.PointF.op_Inequality(Terminal.Gui.PointF,Terminal.Gui.PointF)">Inequality(PointF, PointF)</h4>
|
|
<div class="markdown level1 summary">
|
|
Compares two <a class="xref" href="Terminal.Gui.PointF.html">PointF</a> objects. The result specifies whether the values of the
|
|
<a class="xref" href="Terminal.Gui.PointF.html#Terminal_Gui_PointF_X">X</a> or <a class="xref" href="Terminal.Gui.PointF.html#Terminal_Gui_PointF_Y">Y</a> properties of the two
|
|
<a class="xref" href="Terminal.Gui.PointF.html">PointF</a> objects are unequal.
|
|
</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 !=(PointF left, PointF 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.PointF.html">PointF</a></td>
|
|
<td><span class="parametername">left</span></td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td><a class="xref" href="Terminal.Gui.PointF.html">PointF</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_PointF_op_Subtraction_" data-uid="Terminal.Gui.PointF.op_Subtraction*"></a>
|
|
<h4 id="Terminal_Gui_PointF_op_Subtraction_Terminal_Gui_PointF_Terminal_Gui_Size_" data-uid="Terminal.Gui.PointF.op_Subtraction(Terminal.Gui.PointF,Terminal.Gui.Size)">Subtraction(PointF, Size)</h4>
|
|
<div class="markdown level1 summary">
|
|
Translates a <a class="xref" href="Terminal.Gui.PointF.html">PointF</a> by the negative of a given <a class="xref" href="Terminal.Gui.Size.html">Size</a> .
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
<h5 class="decalaration">Declaration</h5>
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static PointF operator -(PointF pt, Size sz)</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>
|
|
<tr>
|
|
<td><a class="xref" href="Terminal.Gui.Size.html">Size</a></td>
|
|
<td><span class="parametername">sz</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.PointF.html">PointF</a></td>
|
|
<td></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<a id="Terminal_Gui_PointF_op_Subtraction_" data-uid="Terminal.Gui.PointF.op_Subtraction*"></a>
|
|
<h4 id="Terminal_Gui_PointF_op_Subtraction_Terminal_Gui_PointF_Terminal_Gui_SizeF_" data-uid="Terminal.Gui.PointF.op_Subtraction(Terminal.Gui.PointF,Terminal.Gui.SizeF)">Subtraction(PointF, SizeF)</h4>
|
|
<div class="markdown level1 summary">
|
|
Translates a <a class="xref" href="Terminal.Gui.PointF.html">PointF</a> by the negative of a given <a class="xref" href="Terminal.Gui.SizeF.html">SizeF</a> .
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
<h5 class="decalaration">Declaration</h5>
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static PointF operator -(PointF pt, SizeF sz)</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>
|
|
<tr>
|
|
<td><a class="xref" href="Terminal.Gui.SizeF.html">SizeF</a></td>
|
|
<td><span class="parametername">sz</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.PointF.html">PointF</a></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>
|