m
This commit is contained in:
@@ -0,0 +1,296 @@
|
||||
using System;
|
||||
using System.ComponentModel;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Drawing
|
||||
{
|
||||
/// <summary>Represents an ARGB (alpha, red, green, blue) color.</summary>
|
||||
// Token: 0x02000009 RID: 9
|
||||
[Token(Token = "0x2000009")]
|
||||
[Editor]
|
||||
[TypeConverter]
|
||||
[Serializable]
|
||||
public struct Color
|
||||
{
|
||||
/// <summary>Gets the name of this <see cref="T:System.Drawing.Color" />.</summary>
|
||||
/// <returns>The name of this <see cref="T:System.Drawing.Color" />.</returns>
|
||||
// Token: 0x17000002 RID: 2
|
||||
// (get) Token: 0x06000013 RID: 19 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x17000002")]
|
||||
public string Name
|
||||
{
|
||||
[Token(Token = "0x6000013")]
|
||||
[Address(RVA = "0x10ED130", Offset = "0x10EC130", VA = "0x1810ED130")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Gets a value indicating whether this <see cref="T:System.Drawing.Color" /> structure is a predefined color. Predefined colors are represented by the elements of the <see cref="T:System.Drawing.KnownColor" /> enumeration.</summary>
|
||||
/// <returns>
|
||||
/// <see langword="true" /> if this <see cref="T:System.Drawing.Color" /> was created from a predefined color by using either the <see cref="M:System.Drawing.Color.FromName(System.String)" /> method or the <see cref="M:System.Drawing.Color.FromKnownColor(System.Drawing.KnownColor)" /> method; otherwise, <see langword="false" />.</returns>
|
||||
// Token: 0x17000003 RID: 3
|
||||
// (get) Token: 0x06000014 RID: 20 RVA: 0x00002070 File Offset: 0x00000270
|
||||
[Token(Token = "0x17000003")]
|
||||
public bool IsKnownColor
|
||||
{
|
||||
[Token(Token = "0x6000014")]
|
||||
[Address(RVA = "0x10ED100", Offset = "0x10EC100", VA = "0x1810ED100")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Gets a value indicating whether this <see cref="T:System.Drawing.Color" /> structure is a system color. A system color is a color that is used in a Windows display element. System colors are represented by elements of the <see cref="T:System.Drawing.KnownColor" /> enumeration.</summary>
|
||||
/// <returns>
|
||||
/// <see langword="true" /> if this <see cref="T:System.Drawing.Color" /> was created from a system color by using either the <see cref="M:System.Drawing.Color.FromName(System.String)" /> method or the <see cref="M:System.Drawing.Color.FromKnownColor(System.Drawing.KnownColor)" /> method; otherwise, <see langword="false" />.</returns>
|
||||
// Token: 0x17000004 RID: 4
|
||||
// (get) Token: 0x06000015 RID: 21 RVA: 0x00002088 File Offset: 0x00000288
|
||||
[Token(Token = "0x17000004")]
|
||||
public bool IsSystemColor
|
||||
{
|
||||
[Token(Token = "0x6000015")]
|
||||
[Address(RVA = "0x10ED120", Offset = "0x10EC120", VA = "0x1810ED120")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Gets a value indicating whether this <see cref="T:System.Drawing.Color" /> structure is a named color or a member of the <see cref="T:System.Drawing.KnownColor" /> enumeration.</summary>
|
||||
/// <returns>
|
||||
/// <see langword="true" /> if this <see cref="T:System.Drawing.Color" /> was created by using either the <see cref="M:System.Drawing.Color.FromName(System.String)" /> method or the <see cref="M:System.Drawing.Color.FromKnownColor(System.Drawing.KnownColor)" /> method; otherwise, <see langword="false" />.</returns>
|
||||
// Token: 0x17000005 RID: 5
|
||||
// (get) Token: 0x06000016 RID: 22 RVA: 0x000020A0 File Offset: 0x000002A0
|
||||
[Token(Token = "0x17000005")]
|
||||
public bool IsNamedColor
|
||||
{
|
||||
[Token(Token = "0x6000016")]
|
||||
[Address(RVA = "0x10ED110", Offset = "0x10EC110", VA = "0x1810ED110")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17000006 RID: 6
|
||||
// (get) Token: 0x06000017 RID: 23 RVA: 0x000020B8 File Offset: 0x000002B8
|
||||
// (set) Token: 0x06000018 RID: 24 RVA: 0x00002053 File Offset: 0x00000253
|
||||
[Token(Token = "0x17000006")]
|
||||
internal long Value
|
||||
{
|
||||
[Token(Token = "0x6000017")]
|
||||
[Address(RVA = "0x10ED200", Offset = "0x10EC200", VA = "0x1810ED200")]
|
||||
get
|
||||
{
|
||||
return 0L;
|
||||
}
|
||||
[Token(Token = "0x6000018")]
|
||||
[Address(RVA = "0x593200", Offset = "0x592200", VA = "0x180593200")]
|
||||
set
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Creates a <see cref="T:System.Drawing.Color" /> structure from the four ARGB component (alpha, red, green, and blue) values. Although this method allows a 32-bit value to be passed for each component, the value of each component is limited to 8 bits.</summary>
|
||||
/// <param name="alpha">The alpha component. Valid values are 0 through 255.</param>
|
||||
/// <param name="red">The red component. Valid values are 0 through 255.</param>
|
||||
/// <param name="green">The green component. Valid values are 0 through 255.</param>
|
||||
/// <param name="blue">The blue component. Valid values are 0 through 255.</param>
|
||||
/// <returns>The <see cref="T:System.Drawing.Color" /> that this method creates.</returns>
|
||||
/// <exception cref="T:System.ArgumentException">
|
||||
/// <paramref name="alpha" />, <paramref name="red" />, <paramref name="green" />, or <paramref name="blue" /> is less than 0 or greater than 255.</exception>
|
||||
// Token: 0x06000019 RID: 25 RVA: 0x000020D0 File Offset: 0x000002D0
|
||||
[Token(Token = "0x6000019")]
|
||||
[Address(RVA = "0x10ECAA0", Offset = "0x10EBAA0", VA = "0x1810ECAA0")]
|
||||
public static Color FromArgb(int alpha, int red, int green, int blue)
|
||||
{
|
||||
return default(Color);
|
||||
}
|
||||
|
||||
/// <summary>Gets the 32-bit ARGB value of this <see cref="T:System.Drawing.Color" /> structure.</summary>
|
||||
/// <returns>The 32-bit ARGB value of this <see cref="T:System.Drawing.Color" />.</returns>
|
||||
// Token: 0x0600001A RID: 26 RVA: 0x000020E8 File Offset: 0x000002E8
|
||||
[Token(Token = "0x600001A")]
|
||||
[Address(RVA = "0x10ECE20", Offset = "0x10EBE20", VA = "0x1810ECE20")]
|
||||
public int ToArgb()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
/// <summary>Creates a <see cref="T:System.Drawing.Color" /> structure from the specified predefined color.</summary>
|
||||
/// <param name="color">An element of the <see cref="T:System.Drawing.KnownColor" /> enumeration.</param>
|
||||
/// <returns>The <see cref="T:System.Drawing.Color" /> that this method creates.</returns>
|
||||
// Token: 0x0600001B RID: 27 RVA: 0x00002100 File Offset: 0x00000300
|
||||
[Token(Token = "0x600001B")]
|
||||
[Address(RVA = "0x10ECC00", Offset = "0x10EBC00", VA = "0x1810ECC00")]
|
||||
public static Color FromKnownColor(KnownColor color)
|
||||
{
|
||||
return default(Color);
|
||||
}
|
||||
|
||||
/// <summary>Tests whether two specified <see cref="T:System.Drawing.Color" /> structures are equivalent.</summary>
|
||||
/// <param name="left">The <see cref="T:System.Drawing.Color" /> that is to the left of the equality operator.</param>
|
||||
/// <param name="right">The <see cref="T:System.Drawing.Color" /> that is to the right of the equality operator.</param>
|
||||
/// <returns>
|
||||
/// <see langword="true" /> if the two <see cref="T:System.Drawing.Color" /> structures are equal; otherwise, <see langword="false" />.</returns>
|
||||
// Token: 0x0600001C RID: 28 RVA: 0x00002118 File Offset: 0x00000318
|
||||
[Token(Token = "0x600001C")]
|
||||
[Address(RVA = "0x10ED3E0", Offset = "0x10EC3E0", VA = "0x1810ED3E0")]
|
||||
public static bool operator ==(Color left, Color right)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
/// <summary>Specifies whether this <see cref="T:System.Drawing.Color" /> structure is uninitialized.</summary>
|
||||
/// <returns>This property returns <see langword="true" /> if this color is uninitialized; otherwise, <see langword="false" />.</returns>
|
||||
// Token: 0x17000007 RID: 7
|
||||
// (get) Token: 0x0600001D RID: 29 RVA: 0x00002130 File Offset: 0x00000330
|
||||
[Token(Token = "0x17000007")]
|
||||
public bool IsEmpty
|
||||
{
|
||||
[Token(Token = "0x600001D")]
|
||||
[Address(RVA = "0x10ED0F0", Offset = "0x10EC0F0", VA = "0x1810ED0F0")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Gets the alpha component value of this <see cref="T:System.Drawing.Color" /> structure.</summary>
|
||||
/// <returns>The alpha component value of this <see cref="T:System.Drawing.Color" />.</returns>
|
||||
// Token: 0x17000008 RID: 8
|
||||
// (get) Token: 0x0600001E RID: 30 RVA: 0x00002148 File Offset: 0x00000348
|
||||
[Token(Token = "0x17000008")]
|
||||
public byte A
|
||||
{
|
||||
[Token(Token = "0x600001E")]
|
||||
[Address(RVA = "0x10ED0B0", Offset = "0x10EC0B0", VA = "0x1810ED0B0")]
|
||||
get
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Gets the red component value of this <see cref="T:System.Drawing.Color" /> structure.</summary>
|
||||
/// <returns>The red component value of this <see cref="T:System.Drawing.Color" />.</returns>
|
||||
// Token: 0x17000009 RID: 9
|
||||
// (get) Token: 0x0600001F RID: 31 RVA: 0x00002160 File Offset: 0x00000360
|
||||
[Token(Token = "0x17000009")]
|
||||
public byte R
|
||||
{
|
||||
[Token(Token = "0x600001F")]
|
||||
[Address(RVA = "0x10ED1E0", Offset = "0x10EC1E0", VA = "0x1810ED1E0")]
|
||||
get
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Gets the green component value of this <see cref="T:System.Drawing.Color" /> structure.</summary>
|
||||
/// <returns>The green component value of this <see cref="T:System.Drawing.Color" />.</returns>
|
||||
// Token: 0x1700000A RID: 10
|
||||
// (get) Token: 0x06000020 RID: 32 RVA: 0x00002178 File Offset: 0x00000378
|
||||
[Token(Token = "0x1700000A")]
|
||||
public byte G
|
||||
{
|
||||
[Token(Token = "0x6000020")]
|
||||
[Address(RVA = "0x10ED0D0", Offset = "0x10EC0D0", VA = "0x1810ED0D0")]
|
||||
get
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Gets the blue component value of this <see cref="T:System.Drawing.Color" /> structure.</summary>
|
||||
/// <returns>The blue component value of this <see cref="T:System.Drawing.Color" />.</returns>
|
||||
// Token: 0x1700000B RID: 11
|
||||
// (get) Token: 0x06000021 RID: 33 RVA: 0x00002190 File Offset: 0x00000390
|
||||
[Token(Token = "0x1700000B")]
|
||||
public byte B
|
||||
{
|
||||
[Token(Token = "0x6000021")]
|
||||
[Address(RVA = "0x10ECE20", Offset = "0x10EBE20", VA = "0x1810ECE20")]
|
||||
get
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Tests whether the specified object is a <see cref="T:System.Drawing.Color" /> structure and is equivalent to this <see cref="T:System.Drawing.Color" /> structure.</summary>
|
||||
/// <param name="obj">The object to test.</param>
|
||||
/// <returns>
|
||||
/// <see langword="true" /> if <paramref name="obj" /> is a <see cref="T:System.Drawing.Color" /> structure equivalent to this <see cref="T:System.Drawing.Color" /> structure; otherwise, <see langword="false" />.</returns>
|
||||
// Token: 0x06000022 RID: 34 RVA: 0x000021A8 File Offset: 0x000003A8
|
||||
[Token(Token = "0x6000022")]
|
||||
[Address(RVA = "0x10EC880", Offset = "0x10EB880", VA = "0x1810EC880", Slot = "0")]
|
||||
public override bool Equals(object obj)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
/// <summary>Returns a hash code for this <see cref="T:System.Drawing.Color" /> structure.</summary>
|
||||
/// <returns>An integer value that specifies the hash code for this <see cref="T:System.Drawing.Color" />.</returns>
|
||||
// Token: 0x06000023 RID: 35 RVA: 0x000021C0 File Offset: 0x000003C0
|
||||
[Token(Token = "0x6000023")]
|
||||
[Address(RVA = "0x10ECDA0", Offset = "0x10EBDA0", VA = "0x1810ECDA0", Slot = "2")]
|
||||
public override int GetHashCode()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
/// <summary>Converts this <see cref="T:System.Drawing.Color" /> structure to a human-readable string.</summary>
|
||||
/// <returns>A string that is the name of this <see cref="T:System.Drawing.Color" />, if the <see cref="T:System.Drawing.Color" /> is created from a predefined color by using either the <see cref="M:System.Drawing.Color.FromName(System.String)" /> method or the <see cref="M:System.Drawing.Color.FromKnownColor(System.Drawing.KnownColor)" /> method; otherwise, a string that consists of the ARGB component names and their values.</returns>
|
||||
// Token: 0x06000024 RID: 36 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6000024")]
|
||||
[Address(RVA = "0x10ECE30", Offset = "0x10EBE30", VA = "0x1810ECE30", Slot = "3")]
|
||||
public override string ToString()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06000025 RID: 37 RVA: 0x00002053 File Offset: 0x00000253
|
||||
[Token(Token = "0x6000025")]
|
||||
[Address(RVA = "0x10EC730", Offset = "0x10EB730", VA = "0x1810EC730")]
|
||||
private static void CheckRGBValues(int red, int green, int blue)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06000026 RID: 38 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6000026")]
|
||||
[Address(RVA = "0x10EC7F0", Offset = "0x10EB7F0", VA = "0x1810EC7F0")]
|
||||
private static ArgumentException CreateColorArgumentException(int value, string color)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06000027 RID: 39 RVA: 0x00002053 File Offset: 0x00000253
|
||||
[Token(Token = "0x6000027")]
|
||||
[Address(RVA = "0x10EC610", Offset = "0x10EB610", VA = "0x1810EC610")]
|
||||
private static void CheckARGBValues(int alpha, int red, int green, int blue)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x04000004 RID: 4
|
||||
[FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x4000004")]
|
||||
private long value;
|
||||
|
||||
// Token: 0x04000005 RID: 5
|
||||
[FieldOffset(Offset = "0x8")]
|
||||
[Token(Token = "0x4000005")]
|
||||
internal short state;
|
||||
|
||||
// Token: 0x04000006 RID: 6
|
||||
[FieldOffset(Offset = "0xA")]
|
||||
[Token(Token = "0x4000006")]
|
||||
internal short knownColor;
|
||||
|
||||
// Token: 0x04000007 RID: 7
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4000007")]
|
||||
internal string name;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user