Files
Aug2021-Cpp2IL-Dump/System.Drawing/System/Drawing/Point.cs
T
2026-04-10 22:50:51 +02:00

113 lines
4.7 KiB
C#

using System;
using System.ComponentModel;
using System.Runtime.InteropServices;
using Cpp2IlInjected;
namespace System.Drawing
{
/// <summary>Represents an ordered pair of integer x- and y-coordinates that defines a point in a two-dimensional plane.</summary>
// Token: 0x02000027 RID: 39
[Token(Token = "0x2000027")]
[TypeConverter]
[TypeConverter(typeof(PointConverter))]
[ComVisible(true)]
[Serializable]
public struct Point
{
/// <summary>Compares two <see cref="T:System.Drawing.Point" /> objects. The result specifies whether the values of the <see cref="P:System.Drawing.Point.X" /> and <see cref="P:System.Drawing.Point.Y" /> properties of the two <see cref="T:System.Drawing.Point" /> objects are equal.</summary>
/// <param name="left">A <see cref="T:System.Drawing.Point" /> to compare.</param>
/// <param name="right">A <see cref="T:System.Drawing.Point" /> to compare.</param>
/// <returns>
/// <see langword="true" /> if the <see cref="P:System.Drawing.Point.X" /> and <see cref="P:System.Drawing.Point.Y" /> values of <paramref name="left" /> and <paramref name="right" /> are equal; otherwise, <see langword="false" />.</returns>
// Token: 0x060000C8 RID: 200 RVA: 0x00002460 File Offset: 0x00000660
[Token(Token = "0x60000C8")]
[Address(RVA = "0x68DF80", Offset = "0x68CD80", VA = "0x18068DF80")]
public static bool operator ==(Point left, Point right)
{
return default(bool);
}
/// <summary>Initializes a new instance of the <see cref="T:System.Drawing.Point" /> class with the specified coordinates.</summary>
/// <param name="x">The horizontal position of the point.</param>
/// <param name="y">The vertical position of the point.</param>
// Token: 0x060000C9 RID: 201 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60000C9")]
[Address(RVA = "0x4C30C0", Offset = "0x4C1EC0", VA = "0x1804C30C0")]
public Point(int x, int y)
{
}
/// <summary>Gets or sets the x-coordinate of this <see cref="T:System.Drawing.Point" />.</summary>
/// <returns>The x-coordinate of this <see cref="T:System.Drawing.Point" />.</returns>
// Token: 0x17000013 RID: 19
// (get) Token: 0x060000CA RID: 202 RVA: 0x00002478 File Offset: 0x00000678
[Token(Token = "0x17000013")]
public int X
{
[Token(Token = "0x60000CA")]
[Address(RVA = "0x57C620", Offset = "0x57B420", VA = "0x18057C620")]
get
{
return 0;
}
}
/// <summary>Gets or sets the y-coordinate of this <see cref="T:System.Drawing.Point" />.</summary>
/// <returns>The y-coordinate of this <see cref="T:System.Drawing.Point" />.</returns>
// Token: 0x17000014 RID: 20
// (get) Token: 0x060000CB RID: 203 RVA: 0x00002490 File Offset: 0x00000690
[Token(Token = "0x17000014")]
public int Y
{
[Token(Token = "0x60000CB")]
[Address(RVA = "0x5DD040", Offset = "0x5DBE40", VA = "0x1805DD040")]
get
{
return 0;
}
}
/// <summary>Specifies whether this <see cref="T:System.Drawing.Point" /> contains the same coordinates as the specified <see cref="T:System.Object" />.</summary>
/// <param name="obj">The <see cref="T:System.Object" /> to test.</param>
/// <returns>
/// <see langword="true" /> if <paramref name="obj" /> is a <see cref="T:System.Drawing.Point" /> and has the same coordinates as this <see cref="T:System.Drawing.Point" />.</returns>
// Token: 0x060000CC RID: 204 RVA: 0x000024A8 File Offset: 0x000006A8
[Token(Token = "0x60000CC")]
[Address(RVA = "0x68DE40", Offset = "0x68CC40", VA = "0x18068DE40", Slot = "0")]
public override bool Equals(object obj)
{
return default(bool);
}
/// <summary>Returns a hash code for this <see cref="T:System.Drawing.Point" />.</summary>
/// <returns>An integer value that specifies a hash value for this <see cref="T:System.Drawing.Point" />.</returns>
// Token: 0x060000CD RID: 205 RVA: 0x000024C0 File Offset: 0x000006C0
[Token(Token = "0x60000CD")]
[Address(RVA = "0x68DED0", Offset = "0x68CCD0", VA = "0x18068DED0", Slot = "2")]
public override int GetHashCode()
{
return 0;
}
/// <summary>Converts this <see cref="T:System.Drawing.Point" /> to a human-readable string.</summary>
/// <returns>A string that represents this <see cref="T:System.Drawing.Point" />.</returns>
// Token: 0x060000CE RID: 206 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60000CE")]
[Address(RVA = "0x68DEE0", Offset = "0x68CCE0", VA = "0x18068DEE0", Slot = "3")]
public override string ToString()
{
return null;
}
// Token: 0x040000F1 RID: 241
[global::Cpp2IlInjected.FieldOffset(Offset = "0x0")]
[Token(Token = "0x40000F1")]
private int x;
// Token: 0x040000F2 RID: 242
[global::Cpp2IlInjected.FieldOffset(Offset = "0x4")]
[Token(Token = "0x40000F2")]
private int y;
}
}