Files
2026-04-10 22:50:51 +02:00

185 lines
8.1 KiB
C#

using System;
using System.ComponentModel;
using System.Runtime.InteropServices;
using Cpp2IlInjected;
namespace System.Drawing
{
/// <summary>Stores a set of four integers that represent the location and size of a rectangle</summary>
// Token: 0x02000029 RID: 41
[Token(Token = "0x2000029")]
[TypeConverter]
[TypeConverter(typeof(RectangleConverter))]
[ComVisible(true)]
[Serializable]
public struct Rectangle
{
/// <summary>Tests whether two <see cref="T:System.Drawing.Rectangle" /> structures have equal location and size.</summary>
/// <param name="left">The <see cref="T:System.Drawing.Rectangle" /> structure that is to the left of the equality operator.</param>
/// <param name="right">The <see cref="T:System.Drawing.Rectangle" /> structure that is to the right of the equality operator.</param>
/// <returns>This operator returns <see langword="true" /> if the two <see cref="T:System.Drawing.Rectangle" /> structures have equal <see cref="P:System.Drawing.Rectangle.X" />, <see cref="P:System.Drawing.Rectangle.Y" />, <see cref="P:System.Drawing.Rectangle.Width" />, and <see cref="P:System.Drawing.Rectangle.Height" /> properties.</returns>
// Token: 0x060000CF RID: 207 RVA: 0x000024D8 File Offset: 0x000006D8
[Token(Token = "0x60000CF")]
[Address(RVA = "0x68EA60", Offset = "0x68D860", VA = "0x18068EA60")]
public static bool operator ==(Rectangle left, Rectangle right)
{
return default(bool);
}
/// <summary>Initializes a new instance of the <see cref="T:System.Drawing.Rectangle" /> class with the specified location and size.</summary>
/// <param name="x">The x-coordinate of the upper-left corner of the rectangle.</param>
/// <param name="y">The y-coordinate of the upper-left corner of the rectangle.</param>
/// <param name="width">The width of the rectangle.</param>
/// <param name="height">The height of the rectangle.</param>
// Token: 0x060000D0 RID: 208 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60000D0")]
[Address(RVA = "0x68EA00", Offset = "0x68D800", VA = "0x18068EA00")]
public Rectangle(int x, int y, int width, int height)
{
}
/// <summary>Gets or sets the height of this <see cref="T:System.Drawing.Rectangle" /> structure.</summary>
/// <returns>The height of this <see cref="T:System.Drawing.Rectangle" /> structure. The default is 0.</returns>
// Token: 0x17000015 RID: 21
// (get) Token: 0x060000D1 RID: 209 RVA: 0x000024F0 File Offset: 0x000006F0
[Token(Token = "0x17000015")]
public int Height
{
[Token(Token = "0x60000D1")]
[Address(RVA = "0x5DD020", Offset = "0x5DBE20", VA = "0x1805DD020")]
get
{
return 0;
}
}
/// <summary>Gets or sets the coordinates of the upper-left corner of this <see cref="T:System.Drawing.Rectangle" /> structure.</summary>
/// <returns>A <see cref="T:System.Drawing.Point" /> that represents the upper-left corner of this <see cref="T:System.Drawing.Rectangle" /> structure.</returns>
// Token: 0x17000016 RID: 22
// (get) Token: 0x060000D2 RID: 210 RVA: 0x00002508 File Offset: 0x00000708
[Token(Token = "0x17000016")]
[Browsable(false)]
public Point Location
{
[Token(Token = "0x60000D2")]
[Address(RVA = "0x68EA20", Offset = "0x68D820", VA = "0x18068EA20")]
get
{
return default(Point);
}
}
/// <summary>Gets or sets the size of this <see cref="T:System.Drawing.Rectangle" />.</summary>
/// <returns>A <see cref="T:System.Drawing.Size" /> that represents the width and height of this <see cref="T:System.Drawing.Rectangle" /> structure.</returns>
// Token: 0x17000017 RID: 23
// (get) Token: 0x060000D3 RID: 211 RVA: 0x00002520 File Offset: 0x00000720
[Token(Token = "0x17000017")]
[Browsable(false)]
public Size Size
{
[Token(Token = "0x60000D3")]
[Address(RVA = "0x68EA40", Offset = "0x68D840", VA = "0x18068EA40")]
get
{
return default(Size);
}
}
/// <summary>Gets or sets the width of this <see cref="T:System.Drawing.Rectangle" /> structure.</summary>
/// <returns>The width of this <see cref="T:System.Drawing.Rectangle" /> structure. The default is 0.</returns>
// Token: 0x17000018 RID: 24
// (get) Token: 0x060000D4 RID: 212 RVA: 0x00002538 File Offset: 0x00000738
[Token(Token = "0x17000018")]
public int Width
{
[Token(Token = "0x60000D4")]
[Address(RVA = "0x4C4D90", Offset = "0x4C3B90", VA = "0x1804C4D90")]
get
{
return 0;
}
}
/// <summary>Gets or sets the x-coordinate of the upper-left corner of this <see cref="T:System.Drawing.Rectangle" /> structure.</summary>
/// <returns>The x-coordinate of the upper-left corner of this <see cref="T:System.Drawing.Rectangle" /> structure. The default is 0.</returns>
// Token: 0x17000019 RID: 25
// (get) Token: 0x060000D5 RID: 213 RVA: 0x00002550 File Offset: 0x00000750
[Token(Token = "0x17000019")]
public int X
{
[Token(Token = "0x60000D5")]
[Address(RVA = "0x57C620", Offset = "0x57B420", VA = "0x18057C620")]
get
{
return 0;
}
}
/// <summary>Gets or sets the y-coordinate of the upper-left corner of this <see cref="T:System.Drawing.Rectangle" /> structure.</summary>
/// <returns>The y-coordinate of the upper-left corner of this <see cref="T:System.Drawing.Rectangle" /> structure. The default is 0.</returns>
// Token: 0x1700001A RID: 26
// (get) Token: 0x060000D6 RID: 214 RVA: 0x00002568 File Offset: 0x00000768
[Token(Token = "0x1700001A")]
public int Y
{
[Token(Token = "0x60000D6")]
[Address(RVA = "0x5DD040", Offset = "0x5DBE40", VA = "0x1805DD040")]
get
{
return 0;
}
}
/// <summary>Tests whether <paramref name="obj" /> is a <see cref="T:System.Drawing.Rectangle" /> structure with the same location and size of this <see cref="T:System.Drawing.Rectangle" /> structure.</summary>
/// <param name="obj">The <see cref="T:System.Object" /> to test.</param>
/// <returns>This method returns <see langword="true" /> if <paramref name="obj" /> is a <see cref="T:System.Drawing.Rectangle" /> structure and its <see cref="P:System.Drawing.Rectangle.X" />, <see cref="P:System.Drawing.Rectangle.Y" />, <see cref="P:System.Drawing.Rectangle.Width" />, and <see cref="P:System.Drawing.Rectangle.Height" /> properties are equal to the corresponding properties of this <see cref="T:System.Drawing.Rectangle" /> structure; otherwise, <see langword="false" />.</returns>
// Token: 0x060000D7 RID: 215 RVA: 0x00002580 File Offset: 0x00000780
[Token(Token = "0x60000D7")]
[Address(RVA = "0x68E6D0", Offset = "0x68D4D0", VA = "0x18068E6D0", Slot = "0")]
public override bool Equals(object obj)
{
return default(bool);
}
/// <summary>Returns the hash code for this <see cref="T:System.Drawing.Rectangle" /> structure. For information about the use of hash codes, see <see cref="M:System.Object.GetHashCode" /> .</summary>
/// <returns>An integer that represents the hash code for this rectangle.</returns>
// Token: 0x060000D8 RID: 216 RVA: 0x00002598 File Offset: 0x00000798
[Token(Token = "0x60000D8")]
[Address(RVA = "0x68E7F0", Offset = "0x68D5F0", VA = "0x18068E7F0", Slot = "2")]
public override int GetHashCode()
{
return 0;
}
/// <summary>Converts the attributes of this <see cref="T:System.Drawing.Rectangle" /> to a human-readable string.</summary>
/// <returns>A string that contains the position, width, and height of this <see cref="T:System.Drawing.Rectangle" /> structure ¾ for example, {X=20, Y=20, Width=100, Height=50}</returns>
// Token: 0x060000D9 RID: 217 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60000D9")]
[Address(RVA = "0x68E800", Offset = "0x68D600", VA = "0x18068E800", Slot = "3")]
public override string ToString()
{
return null;
}
// Token: 0x040000F3 RID: 243
[global::Cpp2IlInjected.FieldOffset(Offset = "0x0")]
[Token(Token = "0x40000F3")]
private int x;
// Token: 0x040000F4 RID: 244
[global::Cpp2IlInjected.FieldOffset(Offset = "0x4")]
[Token(Token = "0x40000F4")]
private int y;
// Token: 0x040000F5 RID: 245
[global::Cpp2IlInjected.FieldOffset(Offset = "0x8")]
[Token(Token = "0x40000F5")]
private int width;
// Token: 0x040000F6 RID: 246
[global::Cpp2IlInjected.FieldOffset(Offset = "0xC")]
[Token(Token = "0x40000F6")]
private int height;
}
}