mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-28 08:47:59 +01:00
* tweaked version # for v1.0.0-beta.10 * tweaked version # for v1.0.0-beta.11 * Updated readme and revision history for 1.0 * tweaked rel notes * Regenerated docs for v1.0.0.0 * updating build docs * updating docs * updated readme * updated readme * more docs * more docs * Refactored for clarity * tweaks * updated info on versioning * merged with main. updated relnotes * updated api docs * updated README to point to new docs * adjusting publish workflow * adjusting publish workflow2 * adjusting publish workflow 3 * adjusting publish workflow 4 * adjusting publish workflow 5 * final fix to yaml * code coverage docs * regenerated api docs * Updated relnotes for v1.0.0-rc.9 * fixed spelling and grammar * rel notes for v1.0.0-rc.10 * relnotes for v1.0.0-rc.11 * relnotes for v1.0.0-rc.12 * v1.0.0-rc.13 * relnotes, readme, api doc regen * updated sample.gif
999 lines
34 KiB
HTML
999 lines
34 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 SizeF
|
|
</title>
|
|
<meta name="viewport" content="width=device-width">
|
|
<meta name="title" content="Struct SizeF
|
|
">
|
|
<meta name="generator" content="docfx 2.56.7.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.SizeF">
|
|
|
|
|
|
<h1 id="Terminal_Gui_SizeF" data-uid="Terminal.Gui.SizeF" class="text-break">Struct SizeF
|
|
</h1>
|
|
<div class="markdown level0 summary">
|
|
Represents the size of a rectangular region with an ordered pair of width and height.
|
|
</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.SizeF.html">SizeF</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_SizeF_syntax">Syntax</h5>
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public struct SizeF : IEquatable<SizeF></code></pre>
|
|
</div>
|
|
<h3 id="constructors">Constructors
|
|
</h3>
|
|
|
|
|
|
<a id="Terminal_Gui_SizeF__ctor_" data-uid="Terminal.Gui.SizeF.#ctor*"></a>
|
|
<h4 id="Terminal_Gui_SizeF__ctor_System_Single_System_Single_" data-uid="Terminal.Gui.SizeF.#ctor(System.Single,System.Single)">SizeF(Single, Single)</h4>
|
|
<div class="markdown level1 summary">
|
|
Initializes a new instance of the <a class="xref" href="Terminal.Gui.SizeF.html">SizeF</a> class from the specified dimensions.
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
<h5 class="decalaration">Declaration</h5>
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public SizeF(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">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_SizeF__ctor_" data-uid="Terminal.Gui.SizeF.#ctor*"></a>
|
|
<h4 id="Terminal_Gui_SizeF__ctor_Terminal_Gui_PointF_" data-uid="Terminal.Gui.SizeF.#ctor(Terminal.Gui.PointF)">SizeF(PointF)</h4>
|
|
<div class="markdown level1 summary">
|
|
Initializes a new instance of the <a class="xref" href="Terminal.Gui.SizeF.html">SizeF</a> class from the specified
|
|
<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 SizeF(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>
|
|
|
|
|
|
<a id="Terminal_Gui_SizeF__ctor_" data-uid="Terminal.Gui.SizeF.#ctor*"></a>
|
|
<h4 id="Terminal_Gui_SizeF__ctor_Terminal_Gui_SizeF_" data-uid="Terminal.Gui.SizeF.#ctor(Terminal.Gui.SizeF)">SizeF(SizeF)</h4>
|
|
<div class="markdown level1 summary">
|
|
Initializes a new instance of the <a class="xref" href="Terminal.Gui.SizeF.html">SizeF</a> class from the specified
|
|
existing <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 SizeF(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>
|
|
<h3 id="fields">Fields
|
|
</h3>
|
|
|
|
|
|
<h4 id="Terminal_Gui_SizeF_Empty" data-uid="Terminal.Gui.SizeF.Empty">Empty</h4>
|
|
<div class="markdown level1 summary">
|
|
Initializes a new instance of the <a class="xref" href="Terminal.Gui.SizeF.html">SizeF</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 SizeF 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.SizeF.html">SizeF</a></td>
|
|
<td></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<h3 id="properties">Properties
|
|
</h3>
|
|
|
|
|
|
<a id="Terminal_Gui_SizeF_Height_" data-uid="Terminal.Gui.SizeF.Height*"></a>
|
|
<h4 id="Terminal_Gui_SizeF_Height" data-uid="Terminal.Gui.SizeF.Height">Height</h4>
|
|
<div class="markdown level1 summary">
|
|
Represents the vertical component of this <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 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_SizeF_IsEmpty_" data-uid="Terminal.Gui.SizeF.IsEmpty*"></a>
|
|
<h4 id="Terminal_Gui_SizeF_IsEmpty" data-uid="Terminal.Gui.SizeF.IsEmpty">IsEmpty</h4>
|
|
<div class="markdown level1 summary">
|
|
Tests whether this <a class="xref" href="Terminal.Gui.SizeF.html">SizeF</a> has zero width and height.
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
<h5 class="decalaration">Declaration</h5>
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">[Browsable(false)]
|
|
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></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
|
|
|
|
<a id="Terminal_Gui_SizeF_Width_" data-uid="Terminal.Gui.SizeF.Width*"></a>
|
|
<h4 id="Terminal_Gui_SizeF_Width" data-uid="Terminal.Gui.SizeF.Width">Width</h4>
|
|
<div class="markdown level1 summary">
|
|
Represents the horizontal component of this <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 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>
|
|
<h3 id="methods">Methods
|
|
</h3>
|
|
|
|
|
|
<a id="Terminal_Gui_SizeF_Add_" data-uid="Terminal.Gui.SizeF.Add*"></a>
|
|
<h4 id="Terminal_Gui_SizeF_Add_Terminal_Gui_SizeF_Terminal_Gui_SizeF_" data-uid="Terminal.Gui.SizeF.Add(Terminal.Gui.SizeF,Terminal.Gui.SizeF)">Add(SizeF, SizeF)</h4>
|
|
<div class="markdown level1 summary">
|
|
Performs vector addition of two <a class="xref" href="Terminal.Gui.SizeF.html">SizeF</a> objects.
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
<h5 class="decalaration">Declaration</h5>
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static SizeF Add(SizeF sz1, SizeF sz2)</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">sz1</span></td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td><a class="xref" href="Terminal.Gui.SizeF.html">SizeF</a></td>
|
|
<td><span class="parametername">sz2</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.SizeF.html">SizeF</a></td>
|
|
<td></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
|
|
|
|
<a id="Terminal_Gui_SizeF_Equals_" data-uid="Terminal.Gui.SizeF.Equals*"></a>
|
|
<h4 id="Terminal_Gui_SizeF_Equals_System_Object_" data-uid="Terminal.Gui.SizeF.Equals(System.Object)">Equals(Object)</h4>
|
|
<div class="markdown level1 summary">
|
|
Tests to see whether the specified object is a <a class="xref" href="Terminal.Gui.SizeF.html">SizeF</a> with the same dimensions
|
|
as this <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 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_SizeF_Equals_" data-uid="Terminal.Gui.SizeF.Equals*"></a>
|
|
<h4 id="Terminal_Gui_SizeF_Equals_Terminal_Gui_SizeF_" data-uid="Terminal.Gui.SizeF.Equals(Terminal.Gui.SizeF)">Equals(SizeF)</h4>
|
|
<div class="markdown level1 summary">
|
|
Tests whether two <a class="xref" href="Terminal.Gui.SizeF.html">SizeF</a> objects are identical.
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
<h5 class="decalaration">Declaration</h5>
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public bool Equals(SizeF 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.SizeF.html">SizeF</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_SizeF_GetHashCode_" data-uid="Terminal.Gui.SizeF.GetHashCode*"></a>
|
|
<h4 id="Terminal_Gui_SizeF_GetHashCode" data-uid="Terminal.Gui.SizeF.GetHashCode">GetHashCode()</h4>
|
|
<div class="markdown level1 summary">
|
|
Generates a hashcode from the width and height
|
|
</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_SizeF_Subtract_" data-uid="Terminal.Gui.SizeF.Subtract*"></a>
|
|
<h4 id="Terminal_Gui_SizeF_Subtract_Terminal_Gui_SizeF_Terminal_Gui_SizeF_" data-uid="Terminal.Gui.SizeF.Subtract(Terminal.Gui.SizeF,Terminal.Gui.SizeF)">Subtract(SizeF, SizeF)</h4>
|
|
<div class="markdown level1 summary">
|
|
Contracts a <a class="xref" href="Terminal.Gui.SizeF.html">SizeF</a> by another <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 SizeF Subtract(SizeF sz1, SizeF sz2)</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">sz1</span></td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td><a class="xref" href="Terminal.Gui.SizeF.html">SizeF</a></td>
|
|
<td><span class="parametername">sz2</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.SizeF.html">SizeF</a></td>
|
|
<td></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
|
|
|
|
<a id="Terminal_Gui_SizeF_ToString_" data-uid="Terminal.Gui.SizeF.ToString*"></a>
|
|
<h4 id="Terminal_Gui_SizeF_ToString" data-uid="Terminal.Gui.SizeF.ToString">ToString()</h4>
|
|
<div class="markdown level1 summary">
|
|
Creates a human-readable string that represents this <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 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_SizeF_op_Addition_" data-uid="Terminal.Gui.SizeF.op_Addition*"></a>
|
|
<h4 id="Terminal_Gui_SizeF_op_Addition_Terminal_Gui_SizeF_Terminal_Gui_SizeF_" data-uid="Terminal.Gui.SizeF.op_Addition(Terminal.Gui.SizeF,Terminal.Gui.SizeF)">Addition(SizeF, SizeF)</h4>
|
|
<div class="markdown level1 summary">
|
|
Performs vector addition of two <a class="xref" href="Terminal.Gui.SizeF.html">SizeF</a> objects.
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
<h5 class="decalaration">Declaration</h5>
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static SizeF operator +(SizeF sz1, SizeF sz2)</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">sz1</span></td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td><a class="xref" href="Terminal.Gui.SizeF.html">SizeF</a></td>
|
|
<td><span class="parametername">sz2</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.SizeF.html">SizeF</a></td>
|
|
<td></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
|
|
|
|
<a id="Terminal_Gui_SizeF_op_Division_" data-uid="Terminal.Gui.SizeF.op_Division*"></a>
|
|
<h4 id="Terminal_Gui_SizeF_op_Division_Terminal_Gui_SizeF_System_Single_" data-uid="Terminal.Gui.SizeF.op_Division(Terminal.Gui.SizeF,System.Single)">Division(SizeF, Single)</h4>
|
|
<div class="markdown level1 summary">
|
|
Divides <a class="xref" href="Terminal.Gui.SizeF.html">SizeF</a> by a <span class="xref">System.Single</span> producing <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 SizeF operator /(SizeF left, float 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.SizeF.html">SizeF</a></td>
|
|
<td><span class="parametername">left</span></td>
|
|
<td>Dividend of type <a class="xref" href="Terminal.Gui.SizeF.html">SizeF</a>.</td>
|
|
</tr>
|
|
<tr>
|
|
<td><span class="xref">System.Single</span></td>
|
|
<td><span class="parametername">right</span></td>
|
|
<td>Divisor of type <span class="xref">System.Int32</span>.</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.SizeF.html">SizeF</a></td>
|
|
<td>Result of type <a class="xref" href="Terminal.Gui.SizeF.html">SizeF</a>.</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
|
|
|
|
<a id="Terminal_Gui_SizeF_op_Equality_" data-uid="Terminal.Gui.SizeF.op_Equality*"></a>
|
|
<h4 id="Terminal_Gui_SizeF_op_Equality_Terminal_Gui_SizeF_Terminal_Gui_SizeF_" data-uid="Terminal.Gui.SizeF.op_Equality(Terminal.Gui.SizeF,Terminal.Gui.SizeF)">Equality(SizeF, SizeF)</h4>
|
|
<div class="markdown level1 summary">
|
|
Tests whether two <a class="xref" href="Terminal.Gui.SizeF.html">SizeF</a> objects are identical.
|
|
</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 ==(SizeF sz1, SizeF sz2)</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">sz1</span></td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td><a class="xref" href="Terminal.Gui.SizeF.html">SizeF</a></td>
|
|
<td><span class="parametername">sz2</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_SizeF_op_Explicit_" data-uid="Terminal.Gui.SizeF.op_Explicit*"></a>
|
|
<h4 id="Terminal_Gui_SizeF_op_Explicit_Terminal_Gui_SizeF__Terminal_Gui_PointF" data-uid="Terminal.Gui.SizeF.op_Explicit(Terminal.Gui.SizeF)~Terminal.Gui.PointF">Explicit(SizeF to PointF)</h4>
|
|
<div class="markdown level1 summary">
|
|
Converts the specified <a class="xref" href="Terminal.Gui.SizeF.html">SizeF</a> to a <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 static explicit operator PointF(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>
|
|
<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_SizeF_op_Inequality_" data-uid="Terminal.Gui.SizeF.op_Inequality*"></a>
|
|
<h4 id="Terminal_Gui_SizeF_op_Inequality_Terminal_Gui_SizeF_Terminal_Gui_SizeF_" data-uid="Terminal.Gui.SizeF.op_Inequality(Terminal.Gui.SizeF,Terminal.Gui.SizeF)">Inequality(SizeF, SizeF)</h4>
|
|
<div class="markdown level1 summary">
|
|
Tests whether two <a class="xref" href="Terminal.Gui.SizeF.html">SizeF</a> objects are different.
|
|
</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 !=(SizeF sz1, SizeF sz2)</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">sz1</span></td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td><a class="xref" href="Terminal.Gui.SizeF.html">SizeF</a></td>
|
|
<td><span class="parametername">sz2</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_SizeF_op_Multiply_" data-uid="Terminal.Gui.SizeF.op_Multiply*"></a>
|
|
<h4 id="Terminal_Gui_SizeF_op_Multiply_System_Single_Terminal_Gui_SizeF_" data-uid="Terminal.Gui.SizeF.op_Multiply(System.Single,Terminal.Gui.SizeF)">Multiply(Single, SizeF)</h4>
|
|
<div class="markdown level1 summary">
|
|
Multiplies <a class="xref" href="Terminal.Gui.SizeF.html">SizeF</a> by a <span class="xref">System.Single</span> producing <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 SizeF operator *(float left, SizeF 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><span class="xref">System.Single</span></td>
|
|
<td><span class="parametername">left</span></td>
|
|
<td>Multiplier of type <span class="xref">System.Single</span>.</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a class="xref" href="Terminal.Gui.SizeF.html">SizeF</a></td>
|
|
<td><span class="parametername">right</span></td>
|
|
<td>Multiplicand of type <a class="xref" href="Terminal.Gui.SizeF.html">SizeF</a>.</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.SizeF.html">SizeF</a></td>
|
|
<td>Product of type <a class="xref" href="Terminal.Gui.SizeF.html">SizeF</a>.</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
|
|
|
|
<a id="Terminal_Gui_SizeF_op_Multiply_" data-uid="Terminal.Gui.SizeF.op_Multiply*"></a>
|
|
<h4 id="Terminal_Gui_SizeF_op_Multiply_Terminal_Gui_SizeF_System_Single_" data-uid="Terminal.Gui.SizeF.op_Multiply(Terminal.Gui.SizeF,System.Single)">Multiply(SizeF, Single)</h4>
|
|
<div class="markdown level1 summary">
|
|
Multiplies <a class="xref" href="Terminal.Gui.SizeF.html">SizeF</a> by a <span class="xref">System.Single</span> producing <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 SizeF operator *(SizeF left, float 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.SizeF.html">SizeF</a></td>
|
|
<td><span class="parametername">left</span></td>
|
|
<td>Multiplicand of type <a class="xref" href="Terminal.Gui.SizeF.html">SizeF</a>.</td>
|
|
</tr>
|
|
<tr>
|
|
<td><span class="xref">System.Single</span></td>
|
|
<td><span class="parametername">right</span></td>
|
|
<td>Multiplier of type <span class="xref">System.Single</span>.</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.SizeF.html">SizeF</a></td>
|
|
<td>Product of type <a class="xref" href="Terminal.Gui.SizeF.html">SizeF</a>.</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
|
|
|
|
<a id="Terminal_Gui_SizeF_op_Subtraction_" data-uid="Terminal.Gui.SizeF.op_Subtraction*"></a>
|
|
<h4 id="Terminal_Gui_SizeF_op_Subtraction_Terminal_Gui_SizeF_Terminal_Gui_SizeF_" data-uid="Terminal.Gui.SizeF.op_Subtraction(Terminal.Gui.SizeF,Terminal.Gui.SizeF)">Subtraction(SizeF, SizeF)</h4>
|
|
<div class="markdown level1 summary">
|
|
Contracts a <a class="xref" href="Terminal.Gui.SizeF.html">SizeF</a> by another <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 SizeF operator -(SizeF sz1, SizeF sz2)</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">sz1</span></td>
|
|
<td></td>
|
|
</tr>
|
|
<tr>
|
|
<td><a class="xref" href="Terminal.Gui.SizeF.html">SizeF</a></td>
|
|
<td><span class="parametername">sz2</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.SizeF.html">SizeF</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">
|
|
<div class="contribution">
|
|
<ul class="nav">
|
|
</ul>
|
|
</div>
|
|
<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>
|