Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
963 lines (924 sloc) 60.1 KB
<Type Name="PointF" FullName="System.Drawing.PointF">
<TypeSignature Language="C#" Value="public struct PointF : IEquatable&lt;System.Drawing.PointF&gt;" />
<TypeSignature Language="ILAsm" Value=".class public sequential ansi sealed beforefieldinit PointF extends System.ValueType implements class System.IEquatable`1&lt;valuetype System.Drawing.PointF&gt;" />
<TypeSignature Language="DocId" Value="T:System.Drawing.PointF" />
<TypeSignature Language="VB.NET" Value="Public Structure PointF&#xA;Implements IEquatable(Of PointF)" />
<TypeSignature Language="C++ CLI" Value="public value class PointF : IEquatable&lt;System::Drawing::PointF&gt;" />
<TypeSignature Language="F#" Value="type PointF = struct" />
<AssemblyInfo>
<AssemblyName>System.Drawing.Primitives</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>4.1.0.0</AssemblyVersion>
<AssemblyVersion>4.2.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>System.Drawing</AssemblyName>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>netstandard</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.1.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.ValueType</BaseTypeName>
</Base>
<Interfaces>
<Interface>
<InterfaceName>System.IEquatable&lt;System.Drawing.PointF&gt;</InterfaceName>
</Interface>
</Interfaces>
<Attributes>
<Attribute FrameworkAlternate="netframework-1.1;netframework-2.0;netframework-3.0;netframework-3.5;netframework-4.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8">
<AttributeName>System.Runtime.InteropServices.ComVisible(true)</AttributeName>
</Attribute>
<Attribute FrameworkAlternate="netframework-1.1;netframework-2.0;netframework-3.0;netframework-3.5;netframework-4.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8">
<AttributeName>System.Serializable</AttributeName>
</Attribute>
</Attributes>
<Docs>
<summary>Represents an ordered pair of floating-point x- and y-coordinates that defines a point in a two-dimensional plane.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
To convert a <xref:System.Drawing.PointF> to a <xref:System.Drawing.Point>, use <xref:System.Drawing.Point.Round%2A?displayProperty=nameWithType> or <xref:System.Drawing.Point.Truncate%2A?displayProperty=nameWithType>.
]]></format>
</remarks>
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public PointF (float x, float y);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(float32 x, float32 y) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Drawing.PointF.#ctor(System.Single,System.Single)" />
<MemberSignature Language="VB.NET" Value="Public Sub New (x As Single, y As Single)" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; PointF(float x, float y);" />
<MemberSignature Language="F#" Value="new System.Drawing.PointF : single * single -&gt; System.Drawing.PointF" Usage="new System.Drawing.PointF (x, y)" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>System.Drawing.Primitives</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>4.1.0.0</AssemblyVersion>
<AssemblyVersion>4.2.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>System.Drawing</AssemblyName>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>netstandard</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.1.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute FrameworkAlternate="netframework-4.0">
<AttributeName>System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")</AttributeName>
</Attribute>
</Attributes>
<Parameters>
<Parameter Name="x" Type="System.Single" />
<Parameter Name="y" Type="System.Single" />
</Parameters>
<Docs>
<param name="x">The horizontal position of the point.</param>
<param name="y">The vertical position of the point.</param>
<summary>Initializes a new instance of the <see cref="T:System.Drawing.PointF" /> class with the specified coordinates.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<MemberGroup MemberName="Add">
<AssemblyInfo>
<AssemblyName>System.Drawing.Primitives</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>4.1.0.0</AssemblyVersion>
</AssemblyInfo>
<Docs>
<summary>Translates a given <see cref="T:System.Drawing.PointF" /> by the specified size.</summary>
</Docs>
</MemberGroup>
<Member MemberName="Add">
<MemberSignature Language="C#" Value="public static System.Drawing.PointF Add (System.Drawing.PointF pt, System.Drawing.Size sz);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig valuetype System.Drawing.PointF Add(valuetype System.Drawing.PointF pt, valuetype System.Drawing.Size sz) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Drawing.PointF.Add(System.Drawing.PointF,System.Drawing.Size)" />
<MemberSignature Language="VB.NET" Value="Public Shared Function Add (pt As PointF, sz As Size) As PointF" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; static System::Drawing::PointF Add(System::Drawing::PointF pt, System::Drawing::Size sz);" />
<MemberSignature Language="F#" Value="static member Add : System.Drawing.PointF * System.Drawing.Size -&gt; System.Drawing.PointF" Usage="System.Drawing.PointF.Add (pt, sz)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Drawing.Primitives</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>4.1.0.0</AssemblyVersion>
<AssemblyVersion>4.2.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>System.Drawing</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>netstandard</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.1.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Drawing.PointF</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="pt" Type="System.Drawing.PointF" Index="0" FrameworkAlternate="netcore-1.0;netcore-1.1;netcore-2.0;netcore-2.1;netcore-2.2;netcore-3.0;netframework-2.0;netframework-3.0;netframework-3.5;netframework-4.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8;netstandard-2.0;netstandard-2.1" />
<Parameter Name="sz" Type="System.Drawing.Size" Index="1" FrameworkAlternate="netcore-1.0;netcore-1.1;netcore-2.0;netcore-2.1;netcore-2.2;netcore-3.0;netframework-2.0;netframework-3.0;netframework-3.5;netframework-4.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8;netstandard-2.0;netstandard-2.1" />
</Parameters>
<Docs>
<param name="pt">The <see cref="T:System.Drawing.PointF" /> to translate.</param>
<param name="sz">The <see cref="T:System.Drawing.Size" /> that specifies the numbers to add to the coordinates of <paramref name="pt" />.</param>
<summary>Translates a given <see cref="T:System.Drawing.PointF" /> by the specified <see cref="T:System.Drawing.Size" />.</summary>
<returns>The translated <see cref="T:System.Drawing.PointF" />.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The <xref:System.Drawing.PointF.Add%2A> method adds the <xref:System.Drawing.Size.Width%2A> of the specified size to the x-coordinate of the <xref:System.Drawing.PointF> and the <xref:System.Drawing.Size.Height%2A> to the y-coordinate of the <xref:System.Drawing.PointF>.
]]></format>
</remarks>
<altmember cref="M:System.Drawing.PointF.op_Addition(System.Drawing.PointF,System.Drawing.Size)" />
</Docs>
</Member>
<Member MemberName="Add">
<MemberSignature Language="C#" Value="public static System.Drawing.PointF Add (System.Drawing.PointF pt, System.Drawing.SizeF sz);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig valuetype System.Drawing.PointF Add(valuetype System.Drawing.PointF pt, valuetype System.Drawing.SizeF sz) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Drawing.PointF.Add(System.Drawing.PointF,System.Drawing.SizeF)" />
<MemberSignature Language="VB.NET" Value="Public Shared Function Add (pt As PointF, sz As SizeF) As PointF" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; static System::Drawing::PointF Add(System::Drawing::PointF pt, System::Drawing::SizeF sz);" />
<MemberSignature Language="F#" Value="static member Add : System.Drawing.PointF * System.Drawing.SizeF -&gt; System.Drawing.PointF" Usage="System.Drawing.PointF.Add (pt, sz)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Drawing.Primitives</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>4.1.0.0</AssemblyVersion>
<AssemblyVersion>4.2.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>System.Drawing</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>netstandard</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.1.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Drawing.PointF</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="pt" Type="System.Drawing.PointF" Index="0" FrameworkAlternate="netcore-1.0;netcore-1.1;netcore-2.0;netcore-2.1;netcore-2.2;netcore-3.0;netframework-2.0;netframework-3.0;netframework-3.5;netframework-4.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8;netstandard-2.0;netstandard-2.1" />
<Parameter Name="sz" Type="System.Drawing.SizeF" Index="1" FrameworkAlternate="netcore-1.0;netcore-1.1;netcore-2.0;netcore-2.1;netcore-2.2;netcore-3.0;netframework-2.0;netframework-3.0;netframework-3.5;netframework-4.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8;netstandard-2.0;netstandard-2.1" />
</Parameters>
<Docs>
<param name="pt">The <see cref="T:System.Drawing.PointF" /> to translate.</param>
<param name="sz">The <see cref="T:System.Drawing.SizeF" /> that specifies the numbers to add to the coordinates of <paramref name="pt" />.</param>
<summary>Translates a given <see cref="T:System.Drawing.PointF" /> by a specified <see cref="T:System.Drawing.SizeF" />.</summary>
<returns>The translated <see cref="T:System.Drawing.PointF" />.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The <xref:System.Drawing.PointF.Add%2A> method adds the <xref:System.Drawing.SizeF.Width%2A> of the specified size to the x-coordinate of the <xref:System.Drawing.PointF> and the <xref:System.Drawing.SizeF.Height%2A> to the y-coordinate of the <xref:System.Drawing.PointF>.
## Examples
The following code example demonstrates how to use the <xref:System.Drawing.PointF.Add%2A> method. To run this example, paste the following code into a Windows Form. Handle the form's <xref:System.Windows.Forms.Control.Paint> event and call `AddExample`, passing `e` as <xref:System.Windows.Forms.PaintEventArgs>.
[!code-csharp[System.Drawing.Misc3#6](~/samples/snippets/csharp/VS_Snippets_Winforms/System.Drawing.Misc3/CS/Form1.cs#6)]
[!code-vb[System.Drawing.Misc3#6](~/samples/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Misc3/VB/Form1.vb#6)]
]]></format>
</remarks>
<altmember cref="M:System.Drawing.PointF.op_Addition(System.Drawing.PointF,System.Drawing.Size)" />
</Docs>
</Member>
<Member MemberName="Empty">
<MemberSignature Language="C#" Value="public static readonly System.Drawing.PointF Empty;" />
<MemberSignature Language="ILAsm" Value=".field public static initonly valuetype System.Drawing.PointF Empty" />
<MemberSignature Language="DocId" Value="F:System.Drawing.PointF.Empty" />
<MemberSignature Language="VB.NET" Value="Public Shared ReadOnly Empty As PointF " />
<MemberSignature Language="C++ CLI" Value="public: static initonly System::Drawing::PointF Empty;" />
<MemberSignature Language="F#" Value=" staticval mutable Empty : System.Drawing.PointF" Usage="System.Drawing.PointF.Empty" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>System.Drawing.Primitives</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>4.1.0.0</AssemblyVersion>
<AssemblyVersion>4.2.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>System.Drawing</AssemblyName>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>netstandard</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.1.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Drawing.PointF</ReturnType>
</ReturnValue>
<Docs>
<summary>Represents a new instance of the <see cref="T:System.Drawing.PointF" /> class with member data left uninitialized.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Equals">
<MemberSignature Language="C#" Value="public bool Equals (System.Drawing.PointF other);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance bool Equals(valuetype System.Drawing.PointF other) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Drawing.PointF.Equals(System.Drawing.PointF)" />
<MemberSignature Language="VB.NET" Value="Public Function Equals (other As PointF) As Boolean" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; virtual bool Equals(System::Drawing::PointF other);" />
<MemberSignature Language="F#" Value="override this.Equals : System.Drawing.PointF -&gt; bool" Usage="pointF.Equals other" />
<MemberType>Method</MemberType>
<Implements>
<InterfaceMember>M:System.IEquatable`1.Equals(`0)</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>System.Drawing.Primitives</AssemblyName>
<AssemblyVersion>4.1.0.0</AssemblyVersion>
<AssemblyVersion>4.2.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>netstandard</AssemblyName>
<AssemblyVersion>2.1.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>System.Drawing</AssemblyName>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="other" Type="System.Drawing.PointF" Index="0" FrameworkAlternate="netcore-2.0;netcore-2.1;netcore-2.2;netcore-3.0;netstandard-2.1" />
</Parameters>
<Docs>
<param name="other">To be added.</param>
<summary>To be added.</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Equals">
<MemberSignature Language="C#" Value="public override bool Equals (object obj);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance bool Equals(object obj) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Drawing.PointF.Equals(System.Object)" />
<MemberSignature Language="VB.NET" Value="Public Overrides Function Equals (obj As Object) As Boolean" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; override bool Equals(System::Object ^ obj);" />
<MemberSignature Language="F#" Value="override this.Equals : obj -&gt; bool" Usage="pointF.Equals obj" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Drawing.Primitives</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>4.1.0.0</AssemblyVersion>
<AssemblyVersion>4.2.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>System.Drawing</AssemblyName>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>netstandard</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.1.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="obj" Type="System.Object" />
</Parameters>
<Docs>
<param name="obj">The <see cref="T:System.Object" /> to test.</param>
<summary>Specifies whether this <see cref="T:System.Drawing.PointF" /> contains the same coordinates as the specified <see cref="T:System.Object" />.</summary>
<returns>This method returns <see langword="true" /> if <paramref name="obj" /> is a <see cref="T:System.Drawing.PointF" /> and has the same coordinates as this <see cref="T:System.Drawing.Point" />.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="GetHashCode">
<MemberSignature Language="C#" Value="public override int GetHashCode ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance int32 GetHashCode() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Drawing.PointF.GetHashCode" />
<MemberSignature Language="VB.NET" Value="Public Overrides Function GetHashCode () As Integer" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; override int GetHashCode();" />
<MemberSignature Language="F#" Value="override this.GetHashCode : unit -&gt; int" Usage="pointF.GetHashCode " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Drawing.Primitives</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>4.1.0.0</AssemblyVersion>
<AssemblyVersion>4.2.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>System.Drawing</AssemblyName>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>netstandard</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.1.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Returns a hash code for this <see cref="T:System.Drawing.PointF" /> structure.</summary>
<returns>An integer value that specifies a hash value for this <see cref="T:System.Drawing.PointF" /> structure.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="IsEmpty">
<MemberSignature Language="C#" Value="public bool IsEmpty { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance bool IsEmpty" />
<MemberSignature Language="DocId" Value="P:System.Drawing.PointF.IsEmpty" />
<MemberSignature Language="VB.NET" Value="Public ReadOnly Property IsEmpty As Boolean" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; property bool IsEmpty { bool get(); };" />
<MemberSignature Language="F#" Value="member this.IsEmpty : bool" Usage="System.Drawing.PointF.IsEmpty" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.Drawing.Primitives</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>4.1.0.0</AssemblyVersion>
<AssemblyVersion>4.2.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>System.Drawing</AssemblyName>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>netstandard</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.1.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute FrameworkAlternate="netcore-2.0;netcore-2.1;netframework-1.1;netframework-2.0;netframework-3.0;netframework-3.5;netframework-4.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8;netcore-2.2;netcore-3.0;netstandard-2.1">
<AttributeName>System.ComponentModel.Browsable(false)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets a value indicating whether this <see cref="T:System.Drawing.PointF" /> is empty.</summary>
<value>
<see langword="true" /> if both <see cref="P:System.Drawing.PointF.X" /> and <see cref="P:System.Drawing.PointF.Y" /> are 0; otherwise, <see langword="false" />.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<MemberGroup MemberName="op_Addition">
<AssemblyInfo>
<AssemblyName>System.Drawing.Primitives</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>4.1.0.0</AssemblyVersion>
</AssemblyInfo>
<Docs>
<summary>Translates the given <see cref="T:System.Drawing.PointF" /> by a specified size.</summary>
</Docs>
</MemberGroup>
<Member MemberName="op_Addition">
<MemberSignature Language="C#" Value="public static System.Drawing.PointF operator + (System.Drawing.PointF pt, System.Drawing.Size sz);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig specialname valuetype System.Drawing.PointF op_Addition(valuetype System.Drawing.PointF pt, valuetype System.Drawing.Size sz) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Drawing.PointF.op_Addition(System.Drawing.PointF,System.Drawing.Size)" />
<MemberSignature Language="VB.NET" Value="Public Shared Operator + (pt As PointF, sz As Size) As PointF" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; static System::Drawing::PointF operator +(System::Drawing::PointF pt, System::Drawing::Size sz);" />
<MemberSignature Language="F#" Value="static member ( + ) : System.Drawing.PointF * System.Drawing.Size -&gt; System.Drawing.PointF" Usage="pt + sz" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Drawing.Primitives</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>4.1.0.0</AssemblyVersion>
<AssemblyVersion>4.2.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>System.Drawing</AssemblyName>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>netstandard</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.1.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute FrameworkAlternate="netframework-4.0">
<AttributeName>System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Drawing.PointF</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="pt" Type="System.Drawing.PointF" />
<Parameter Name="sz" Type="System.Drawing.Size" />
</Parameters>
<Docs>
<param name="pt">The <see cref="T:System.Drawing.PointF" /> to translate.</param>
<param name="sz">A <see cref="T:System.Drawing.Size" /> that specifies the pair of numbers to add to the coordinates of <paramref name="pt" />.</param>
<summary>Translates a <see cref="T:System.Drawing.PointF" /> by a given <see cref="T:System.Drawing.Size" />.</summary>
<returns>The translated <see cref="T:System.Drawing.PointF" />.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Examples
- The following code example adds a shadow to a <xref:System.Windows.Forms.ListBox> using the <xref:System.Drawing.PointF.op_Addition%2A> operator. This example is designed to be used with a Windows Form. To run this example, paste this code into a form and call the `AddShadow` method when handling the form's <xref:System.Windows.Forms.Control.Paint> event. Make sure the form contains a <xref:System.Windows.Forms.ListBox> named `listBox1`.
[!code-cpp[System.Drawing.MiscExamples#3](~/samples/snippets/cpp/VS_Snippets_Winforms/System.Drawing.MiscExamples/CPP/form1.cpp#3)]
[!code-csharp[System.Drawing.MiscExamples#3](~/samples/snippets/csharp/VS_Snippets_Winforms/System.Drawing.MiscExamples/CS/form1.cs#3)]
[!code-vb[System.Drawing.MiscExamples#3](~/samples/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.MiscExamples/VB/form1.vb#3)]
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="op_Addition">
<MemberSignature Language="C#" Value="public static System.Drawing.PointF operator + (System.Drawing.PointF pt, System.Drawing.SizeF sz);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig specialname valuetype System.Drawing.PointF op_Addition(valuetype System.Drawing.PointF pt, valuetype System.Drawing.SizeF sz) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Drawing.PointF.op_Addition(System.Drawing.PointF,System.Drawing.SizeF)" />
<MemberSignature Language="VB.NET" Value="Public Shared Operator + (pt As PointF, sz As SizeF) As PointF" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; static System::Drawing::PointF operator +(System::Drawing::PointF pt, System::Drawing::SizeF sz);" />
<MemberSignature Language="F#" Value="static member ( + ) : System.Drawing.PointF * System.Drawing.SizeF -&gt; System.Drawing.PointF" Usage="pt + sz" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Drawing.Primitives</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>4.1.0.0</AssemblyVersion>
<AssemblyVersion>4.2.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>System.Drawing</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>netstandard</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.1.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute FrameworkAlternate="netframework-4.0">
<AttributeName>System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Drawing.PointF</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="pt" Type="System.Drawing.PointF" Index="0" FrameworkAlternate="netcore-1.0;netcore-1.1;netcore-2.0;netcore-2.1;netcore-2.2;netcore-3.0;netframework-2.0;netframework-3.0;netframework-3.5;netframework-4.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8;netstandard-2.0;netstandard-2.1" />
<Parameter Name="sz" Type="System.Drawing.SizeF" Index="1" FrameworkAlternate="netcore-1.0;netcore-1.1;netcore-2.0;netcore-2.1;netcore-2.2;netcore-3.0;netframework-2.0;netframework-3.0;netframework-3.5;netframework-4.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8;netstandard-2.0;netstandard-2.1" />
</Parameters>
<Docs>
<param name="pt">The <see cref="T:System.Drawing.PointF" /> to translate.</param>
<param name="sz">The <see cref="T:System.Drawing.SizeF" /> that specifies the numbers to add to the x- and y-coordinates of the <see cref="T:System.Drawing.PointF" />.</param>
<summary>Translates the <see cref="T:System.Drawing.PointF" /> by the specified <see cref="T:System.Drawing.SizeF" />.</summary>
<returns>The translated <see cref="T:System.Drawing.PointF" />.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The <xref:System.Drawing.PointF.op_Addition%2A> operator adds the <xref:System.Drawing.SizeF.Width%2A> of the specified size to the x-coordinate of the <xref:System.Drawing.PointF> and the <xref:System.Drawing.SizeF.Height%2A> to the y-coordinate of the <xref:System.Drawing.PointF>.
The equivalent method for this operator is <xref:System.Drawing.PointF.Add%28System.Drawing.PointF%2CSystem.Drawing.SizeF%29?displayProperty=nameWithType>
## Examples
The following code example demonstrates how to use the <xref:System.Drawing.PointF.op_Addition%2A> operator. To run this example, paste the following code into a Windows Form. Handle the form's <xref:System.Windows.Forms.Control.Paint> event and call `opAdditionExample`, passing `e` as <xref:System.Windows.Forms.PaintEventArgs>.
[!code-csharp[System.Drawing.Misc3#5](~/samples/snippets/csharp/VS_Snippets_Winforms/System.Drawing.Misc3/CS/Form1.cs#5)]
[!code-vb[System.Drawing.Misc3#5](~/samples/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Misc3/VB/Form1.vb#5)]
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="op_Equality">
<MemberSignature Language="C#" Value="public static bool operator == (System.Drawing.PointF left, System.Drawing.PointF right);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig specialname bool op_Equality(valuetype System.Drawing.PointF left, valuetype System.Drawing.PointF right) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Drawing.PointF.op_Equality(System.Drawing.PointF,System.Drawing.PointF)" />
<MemberSignature Language="VB.NET" Value="Public Shared Operator == (left As PointF, right As PointF) As Boolean" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; static bool operator ==(System::Drawing::PointF left, System::Drawing::PointF right);" />
<MemberSignature Language="F#" Value="static member ( = ) : System.Drawing.PointF * System.Drawing.PointF -&gt; bool" Usage="left = right" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Drawing.Primitives</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>4.1.0.0</AssemblyVersion>
<AssemblyVersion>4.2.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>System.Drawing</AssemblyName>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>netstandard</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.1.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="left" Type="System.Drawing.PointF" />
<Parameter Name="right" Type="System.Drawing.PointF" />
</Parameters>
<Docs>
<param name="left">A <see cref="T:System.Drawing.PointF" /> to compare.</param>
<param name="right">A <see cref="T:System.Drawing.PointF" /> to compare.</param>
<summary>Compares two <see cref="T:System.Drawing.PointF" /> structures. The result specifies whether the values of the <see cref="P:System.Drawing.PointF.X" /> and <see cref="P:System.Drawing.PointF.Y" /> properties of the two <see cref="T:System.Drawing.PointF" /> structures are equal.</summary>
<returns>
<see langword="true" /> if the <see cref="P:System.Drawing.PointF.X" /> and <see cref="P:System.Drawing.PointF.Y" /> values of the left and right <see cref="T:System.Drawing.PointF" /> structures are equal; otherwise, <see langword="false" />.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Examples
The following code example demonstrates how to use the <xref:System.Drawing.PointF.op_Equality%2A> operator. To run this example, paste the following code into a Windows Form. Handle the form's <xref:System.Windows.Forms.Control.Paint> event and call `opAdditionExample`, passing `e` as <xref:System.Windows.Forms.PaintEventArgs>.
[!code-csharp[System.Drawing.Misc3#5](~/samples/snippets/csharp/VS_Snippets_Winforms/System.Drawing.Misc3/CS/Form1.cs#5)]
[!code-vb[System.Drawing.Misc3#5](~/samples/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Misc3/VB/Form1.vb#5)]
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="op_Inequality">
<MemberSignature Language="C#" Value="public static bool operator != (System.Drawing.PointF left, System.Drawing.PointF right);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig specialname bool op_Inequality(valuetype System.Drawing.PointF left, valuetype System.Drawing.PointF right) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Drawing.PointF.op_Inequality(System.Drawing.PointF,System.Drawing.PointF)" />
<MemberSignature Language="VB.NET" Value="Public Shared Operator != (left As PointF, right As PointF) As Boolean" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; static bool operator !=(System::Drawing::PointF left, System::Drawing::PointF right);" />
<MemberSignature Language="F#" Value="static member op_Inequality : System.Drawing.PointF * System.Drawing.PointF -&gt; bool" Usage="System.Drawing.PointF.op_Inequality (left, right)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Drawing.Primitives</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>4.1.0.0</AssemblyVersion>
<AssemblyVersion>4.2.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>System.Drawing</AssemblyName>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>netstandard</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.1.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="left" Type="System.Drawing.PointF" />
<Parameter Name="right" Type="System.Drawing.PointF" />
</Parameters>
<Docs>
<param name="left">A <see cref="T:System.Drawing.PointF" /> to compare.</param>
<param name="right">A <see cref="T:System.Drawing.PointF" /> to compare.</param>
<summary>Determines whether the coordinates of the specified points are not equal.</summary>
<returns>
<see langword="true" /> to indicate the <see cref="P:System.Drawing.PointF.X" /> and <see cref="P:System.Drawing.PointF.Y" /> values of <paramref name="left" /> and <paramref name="right" /> are not equal; otherwise, <see langword="false" />.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Examples
The following code example demonstrates how to use the <xref:System.Drawing.PointF.op_Inequality%2A> operator. To run this example, paste the following code into a Windows Form. Handle the form's <xref:System.Windows.Forms.Control.Paint> event and call `AddExample`, passing `e` as <xref:System.Windows.Forms.PaintEventArgs>.
[!code-csharp[System.Drawing.Misc3#6](~/samples/snippets/csharp/VS_Snippets_Winforms/System.Drawing.Misc3/CS/Form1.cs#6)]
[!code-vb[System.Drawing.Misc3#6](~/samples/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Misc3/VB/Form1.vb#6)]
]]></format>
</remarks>
</Docs>
</Member>
<MemberGroup MemberName="op_Subtraction">
<AssemblyInfo>
<AssemblyName>System.Drawing.Primitives</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>4.1.0.0</AssemblyVersion>
</AssemblyInfo>
<Docs>
<summary>Translates a <see cref="T:System.Drawing.PointF" /> by the negative of a specified size.</summary>
</Docs>
</MemberGroup>
<Member MemberName="op_Subtraction">
<MemberSignature Language="C#" Value="public static System.Drawing.PointF operator - (System.Drawing.PointF pt, System.Drawing.Size sz);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig specialname valuetype System.Drawing.PointF op_Subtraction(valuetype System.Drawing.PointF pt, valuetype System.Drawing.Size sz) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Drawing.PointF.op_Subtraction(System.Drawing.PointF,System.Drawing.Size)" />
<MemberSignature Language="VB.NET" Value="Public Shared Operator - (pt As PointF, sz As Size) As PointF" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; static System::Drawing::PointF operator -(System::Drawing::PointF pt, System::Drawing::Size sz);" />
<MemberSignature Language="F#" Value="static member ( - ) : System.Drawing.PointF * System.Drawing.Size -&gt; System.Drawing.PointF" Usage="pt - sz" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Drawing.Primitives</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>4.1.0.0</AssemblyVersion>
<AssemblyVersion>4.2.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>System.Drawing</AssemblyName>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>netstandard</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.1.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute FrameworkAlternate="netframework-4.0">
<AttributeName>System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Drawing.PointF</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="pt" Type="System.Drawing.PointF" />
<Parameter Name="sz" Type="System.Drawing.Size" />
</Parameters>
<Docs>
<param name="pt">The <see cref="T:System.Drawing.PointF" /> to translate.</param>
<param name="sz">The <see cref="T:System.Drawing.Size" /> that specifies the numbers to subtract from the coordinates of <paramref name="pt" />.</param>
<summary>Translates a <see cref="T:System.Drawing.PointF" /> by the negative of a given <see cref="T:System.Drawing.Size" />.</summary>
<returns>The translated <see cref="T:System.Drawing.PointF" />.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="op_Subtraction">
<MemberSignature Language="C#" Value="public static System.Drawing.PointF operator - (System.Drawing.PointF pt, System.Drawing.SizeF sz);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig specialname valuetype System.Drawing.PointF op_Subtraction(valuetype System.Drawing.PointF pt, valuetype System.Drawing.SizeF sz) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Drawing.PointF.op_Subtraction(System.Drawing.PointF,System.Drawing.SizeF)" />
<MemberSignature Language="VB.NET" Value="Public Shared Operator - (pt As PointF, sz As SizeF) As PointF" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; static System::Drawing::PointF operator -(System::Drawing::PointF pt, System::Drawing::SizeF sz);" />
<MemberSignature Language="F#" Value="static member ( - ) : System.Drawing.PointF * System.Drawing.SizeF -&gt; System.Drawing.PointF" Usage="pt - sz" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Drawing.Primitives</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>4.1.0.0</AssemblyVersion>
<AssemblyVersion>4.2.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>System.Drawing</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>netstandard</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.1.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute FrameworkAlternate="netframework-4.0">
<AttributeName>System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Drawing.PointF</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="pt" Type="System.Drawing.PointF" Index="0" FrameworkAlternate="netcore-1.0;netcore-1.1;netcore-2.0;netcore-2.1;netcore-2.2;netcore-3.0;netframework-2.0;netframework-3.0;netframework-3.5;netframework-4.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8;netstandard-2.0;netstandard-2.1" />
<Parameter Name="sz" Type="System.Drawing.SizeF" Index="1" FrameworkAlternate="netcore-1.0;netcore-1.1;netcore-2.0;netcore-2.1;netcore-2.2;netcore-3.0;netframework-2.0;netframework-3.0;netframework-3.5;netframework-4.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8;netstandard-2.0;netstandard-2.1" />
</Parameters>
<Docs>
<param name="pt">The <see cref="T:System.Drawing.PointF" /> to translate.</param>
<param name="sz">The <see cref="T:System.Drawing.SizeF" /> that specifies the numbers to subtract from the coordinates of <paramref name="pt" />.</param>
<summary>Translates a <see cref="T:System.Drawing.PointF" /> by the negative of a specified <see cref="T:System.Drawing.SizeF" />.</summary>
<returns>The translated <see cref="T:System.Drawing.PointF" />.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The <xref:System.Drawing.PointF.op_Subtraction%2A> operator subtracts the <xref:System.Drawing.SizeF.Width%2A> of the specified size from the x-coordinate of the <xref:System.Drawing.PointF> and the <xref:System.Drawing.SizeF.Height%2A> from the y-coordinate of the <xref:System.Drawing.PointF>.
The equivalent method for this operator is <xref:System.Drawing.PointF.Subtract%28System.Drawing.PointF%2CSystem.Drawing.SizeF%29?displayProperty=nameWithType>
## Examples
The following code example demonstrates how to use the <xref:System.Drawing.PointF.op_Subtraction%2A> operator. To run this example, paste the following code into a Windows Form. Handle the form's <xref:System.Windows.Forms.Control.Paint> event and call `opSubtractionExample`, passing `e` as <xref:System.Windows.Forms.PaintEventArgs>.
[!code-csharp[System.Drawing.Misc3#8](~/samples/snippets/csharp/VS_Snippets_Winforms/System.Drawing.Misc3/CS/Form1.cs#8)]
[!code-vb[System.Drawing.Misc3#8](~/samples/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Misc3/VB/Form1.vb#8)]
]]></format>
</remarks>
</Docs>
</Member>
<MemberGroup MemberName="Subtract">
<AssemblyInfo>
<AssemblyName>System.Drawing.Primitives</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>4.1.0.0</AssemblyVersion>
</AssemblyInfo>
<Docs>
<summary>Translates a <see cref="T:System.Drawing.PointF" /> by the negative of a specified size.</summary>
</Docs>
</MemberGroup>
<Member MemberName="Subtract">
<MemberSignature Language="C#" Value="public static System.Drawing.PointF Subtract (System.Drawing.PointF pt, System.Drawing.Size sz);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig valuetype System.Drawing.PointF Subtract(valuetype System.Drawing.PointF pt, valuetype System.Drawing.Size sz) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Drawing.PointF.Subtract(System.Drawing.PointF,System.Drawing.Size)" />
<MemberSignature Language="VB.NET" Value="Public Shared Function Subtract (pt As PointF, sz As Size) As PointF" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; static System::Drawing::PointF Subtract(System::Drawing::PointF pt, System::Drawing::Size sz);" />
<MemberSignature Language="F#" Value="static member Subtract : System.Drawing.PointF * System.Drawing.Size -&gt; System.Drawing.PointF" Usage="System.Drawing.PointF.Subtract (pt, sz)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Drawing.Primitives</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>4.1.0.0</AssemblyVersion>
<AssemblyVersion>4.2.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>System.Drawing</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>netstandard</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.1.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Drawing.PointF</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="pt" Type="System.Drawing.PointF" Index="0" FrameworkAlternate="netcore-1.0;netcore-1.1;netcore-2.0;netcore-2.1;netcore-2.2;netcore-3.0;netframework-2.0;netframework-3.0;netframework-3.5;netframework-4.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8;netstandard-2.0;netstandard-2.1" />
<Parameter Name="sz" Type="System.Drawing.Size" Index="1" FrameworkAlternate="netcore-1.0;netcore-1.1;netcore-2.0;netcore-2.1;netcore-2.2;netcore-3.0;netframework-2.0;netframework-3.0;netframework-3.5;netframework-4.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8;netstandard-2.0;netstandard-2.1" />
</Parameters>
<Docs>
<param name="pt">The <see cref="T:System.Drawing.PointF" /> to translate.</param>
<param name="sz">The <see cref="T:System.Drawing.Size" /> that specifies the numbers to subtract from the coordinates of <paramref name="pt" />.</param>
<summary>Translates a <see cref="T:System.Drawing.PointF" /> by the negative of a specified size.</summary>
<returns>The translated <see cref="T:System.Drawing.PointF" />.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The <xref:System.Drawing.PointF.Subtract%2A> method subtracts the <xref:System.Drawing.Size.Width%2A> of the specified size from the x-coordinate of the <xref:System.Drawing.PointF> and the <xref:System.Drawing.Size.Height%2A> from the y-coordinate of the <xref:System.Drawing.PointF>.
]]></format>
</remarks>
<altmember cref="M:System.Drawing.PointF.op_Subtraction(System.Drawing.PointF,System.Drawing.Size)" />
</Docs>
</Member>
<Member MemberName="Subtract">
<MemberSignature Language="C#" Value="public static System.Drawing.PointF Subtract (System.Drawing.PointF pt, System.Drawing.SizeF sz);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig valuetype System.Drawing.PointF Subtract(valuetype System.Drawing.PointF pt, valuetype System.Drawing.SizeF sz) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Drawing.PointF.Subtract(System.Drawing.PointF,System.Drawing.SizeF)" />
<MemberSignature Language="VB.NET" Value="Public Shared Function Subtract (pt As PointF, sz As SizeF) As PointF" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; static System::Drawing::PointF Subtract(System::Drawing::PointF pt, System::Drawing::SizeF sz);" />
<MemberSignature Language="F#" Value="static member Subtract : System.Drawing.PointF * System.Drawing.SizeF -&gt; System.Drawing.PointF" Usage="System.Drawing.PointF.Subtract (pt, sz)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Drawing.Primitives</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>4.1.0.0</AssemblyVersion>
<AssemblyVersion>4.2.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>System.Drawing</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>netstandard</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.1.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Drawing.PointF</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="pt" Type="System.Drawing.PointF" Index="0" FrameworkAlternate="netcore-1.0;netcore-1.1;netcore-2.0;netcore-2.1;netcore-2.2;netcore-3.0;netframework-2.0;netframework-3.0;netframework-3.5;netframework-4.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8;netstandard-2.0;netstandard-2.1" />
<Parameter Name="sz" Type="System.Drawing.SizeF" Index="1" FrameworkAlternate="netcore-1.0;netcore-1.1;netcore-2.0;netcore-2.1;netcore-2.2;netcore-3.0;netframework-2.0;netframework-3.0;netframework-3.5;netframework-4.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8;netstandard-2.0;netstandard-2.1" />
</Parameters>
<Docs>
<param name="pt">The <see cref="T:System.Drawing.PointF" /> to translate.</param>
<param name="sz">The <see cref="T:System.Drawing.SizeF" /> that specifies the numbers to subtract from the coordinates of <paramref name="pt" />.</param>
<summary>Translates a <see cref="T:System.Drawing.PointF" /> by the negative of a specified size.</summary>
<returns>The translated <see cref="T:System.Drawing.PointF" />.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The <xref:System.Drawing.PointF.Subtract%2A> method subtracts the <xref:System.Drawing.SizeF.Width%2A> of the specified size from the x-coordinate of the <xref:System.Drawing.PointF> and the <xref:System.Drawing.SizeF.Height%2A> from the y-coordinate of the <xref:System.Drawing.PointF>.
## Examples
The following code example demonstrates how to use the <xref:System.Drawing.PointF.Subtract%2A> operator. To run this example, paste the following code into a Windows Form. Handle the form's <xref:System.Windows.Forms.Control.Paint> event and call `SubtractExample`, passing `e` as <xref:System.Windows.Forms.PaintEventArgs>.
[!code-csharp[System.Drawing.Misc3#7](~/samples/snippets/csharp/VS_Snippets_Winforms/System.Drawing.Misc3/CS/Form1.cs#7)]
[!code-vb[System.Drawing.Misc3#7](~/samples/snippets/visualbasic/VS_Snippets_Winforms/System.Drawing.Misc3/VB/Form1.vb#7)]
]]></format>
</remarks>
<altmember cref="M:System.Drawing.PointF.op_Subtraction(System.Drawing.PointF,System.Drawing.Size)" />
</Docs>
</Member>
<Member MemberName="ToString">
<MemberSignature Language="C#" Value="public override string ToString ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance string ToString() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Drawing.PointF.ToString" />
<MemberSignature Language="VB.NET" Value="Public Overrides Function ToString () As String" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; override System::String ^ ToString();" />
<MemberSignature Language="F#" Value="override this.ToString : unit -&gt; string" Usage="pointF.ToString " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Drawing.Primitives</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>4.1.0.0</AssemblyVersion>
<AssemblyVersion>4.2.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>System.Drawing</AssemblyName>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>netstandard</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.1.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Converts this <see cref="T:System.Drawing.PointF" /> to a human readable string.</summary>
<returns>A string that represents this <see cref="T:System.Drawing.PointF" />.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="X">
<MemberSignature Language="C#" Value="public float X { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance float32 X" />
<MemberSignature Language="DocId" Value="P:System.Drawing.PointF.X" />
<MemberSignature Language="VB.NET" Value="Public Property X As Single" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; property float X { float get(); void set(float value); };" />
<MemberSignature Language="F#" Value="member this.X : single with get, set" Usage="System.Drawing.PointF.X" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.Drawing.Primitives</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>4.1.0.0</AssemblyVersion>
<AssemblyVersion>4.2.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>System.Drawing</AssemblyName>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>netstandard</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.1.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute FrameworkAlternate="netframework-4.0">
<AttributeName>get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")</AttributeName>
</Attribute>
<Attribute FrameworkAlternate="netframework-4.0">
<AttributeName>set: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Single</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets the x-coordinate of this <see cref="T:System.Drawing.PointF" />.</summary>
<value>The x-coordinate of this <see cref="T:System.Drawing.PointF" />.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Y">
<MemberSignature Language="C#" Value="public float Y { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance float32 Y" />
<MemberSignature Language="DocId" Value="P:System.Drawing.PointF.Y" />
<MemberSignature Language="VB.NET" Value="Public Property Y As Single" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; property float Y { float get(); void set(float value); };" />
<MemberSignature Language="F#" Value="member this.Y : single with get, set" Usage="System.Drawing.PointF.Y" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.Drawing.Primitives</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>4.1.0.0</AssemblyVersion>
<AssemblyVersion>4.2.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>System.Drawing</AssemblyName>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>netstandard</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.1.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute FrameworkAlternate="netframework-4.0">
<AttributeName>get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")</AttributeName>
</Attribute>
<Attribute FrameworkAlternate="netframework-4.0">
<AttributeName>set: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Single</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets the y-coordinate of this <see cref="T:System.Drawing.PointF" />.</summary>
<value>The y-coordinate of this <see cref="T:System.Drawing.PointF" />.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
</Members>
</Type>
You can’t perform that action at this time.