### YamlMime:ManagedReference items: - uid: MLEM.Extensions.ColorExtensions commentId: T:MLEM.Extensions.ColorExtensions id: ColorExtensions parent: MLEM.Extensions children: - MLEM.Extensions.ColorExtensions.CopyAlpha(Microsoft.Xna.Framework.Color,Microsoft.Xna.Framework.Color) - MLEM.Extensions.ColorExtensions.Invert(Microsoft.Xna.Framework.Color) - MLEM.Extensions.ColorExtensions.Multiply(Microsoft.Xna.Framework.Color,Microsoft.Xna.Framework.Color) - MLEM.Extensions.ColorExtensions.ToHexStringRgb(Microsoft.Xna.Framework.Color,System.Boolean) - MLEM.Extensions.ColorExtensions.ToHexStringRgba(Microsoft.Xna.Framework.Color,System.Boolean) langs: - csharp - vb name: ColorExtensions nameWithType: ColorExtensions fullName: MLEM.Extensions.ColorExtensions type: Class source: remote: path: MLEM/Extensions/ColorExtensions.cs branch: main repo: https://github.com/Ellpeck/MLEM id: ColorExtensions path: ../MLEM/Extensions/ColorExtensions.cs startLine: 8 assemblies: - MLEM namespace: MLEM.Extensions summary: A set of extensions for dealing with objects. example: [] syntax: content: public static class ColorExtensions content.vb: Public Module ColorExtensions inheritance: - System.Object inheritedMembers: - System.Object.ToString - System.Object.Equals(System.Object) - System.Object.Equals(System.Object,System.Object) - System.Object.ReferenceEquals(System.Object,System.Object) - System.Object.GetHashCode - System.Object.GetType - System.Object.MemberwiseClone - uid: MLEM.Extensions.ColorExtensions.CopyAlpha(Microsoft.Xna.Framework.Color,Microsoft.Xna.Framework.Color) commentId: M:MLEM.Extensions.ColorExtensions.CopyAlpha(Microsoft.Xna.Framework.Color,Microsoft.Xna.Framework.Color) id: CopyAlpha(Microsoft.Xna.Framework.Color,Microsoft.Xna.Framework.Color) isExtensionMethod: true parent: MLEM.Extensions.ColorExtensions langs: - csharp - vb name: CopyAlpha(Color, Color) nameWithType: ColorExtensions.CopyAlpha(Color, Color) fullName: MLEM.Extensions.ColorExtensions.CopyAlpha(Microsoft.Xna.Framework.Color, Microsoft.Xna.Framework.Color) type: Method source: remote: path: MLEM/Extensions/ColorExtensions.cs branch: main repo: https://github.com/Ellpeck/MLEM id: CopyAlpha path: ../MLEM/Extensions/ColorExtensions.cs startLine: 16 assemblies: - MLEM namespace: MLEM.Extensions summary: Copies the alpha value from another color into this color and returns the result. example: [] syntax: content: public static Color CopyAlpha(this Color color, Color other) parameters: - id: color type: Microsoft.Xna.Framework.Color description: The color. - id: other type: Microsoft.Xna.Framework.Color description: The color to copy the alpha from. return: type: Microsoft.Xna.Framework.Color description: The first color with the second color's alpha value. content.vb: Public Shared Function CopyAlpha(color As Color, other As Color) As Color overload: MLEM.Extensions.ColorExtensions.CopyAlpha* - uid: MLEM.Extensions.ColorExtensions.Invert(Microsoft.Xna.Framework.Color) commentId: M:MLEM.Extensions.ColorExtensions.Invert(Microsoft.Xna.Framework.Color) id: Invert(Microsoft.Xna.Framework.Color) isExtensionMethod: true parent: MLEM.Extensions.ColorExtensions langs: - csharp - vb name: Invert(Color) nameWithType: ColorExtensions.Invert(Color) fullName: MLEM.Extensions.ColorExtensions.Invert(Microsoft.Xna.Framework.Color) type: Method source: remote: path: MLEM/Extensions/ColorExtensions.cs branch: main repo: https://github.com/Ellpeck/MLEM id: Invert path: ../MLEM/Extensions/ColorExtensions.cs startLine: 25 assemblies: - MLEM namespace: MLEM.Extensions summary: Returns an inverted version of this color. example: [] syntax: content: public static Color Invert(this Color color) parameters: - id: color type: Microsoft.Xna.Framework.Color description: The color to invert. return: type: Microsoft.Xna.Framework.Color description: The inverted color. content.vb: Public Shared Function Invert(color As Color) As Color overload: MLEM.Extensions.ColorExtensions.Invert* - uid: MLEM.Extensions.ColorExtensions.Multiply(Microsoft.Xna.Framework.Color,Microsoft.Xna.Framework.Color) commentId: M:MLEM.Extensions.ColorExtensions.Multiply(Microsoft.Xna.Framework.Color,Microsoft.Xna.Framework.Color) id: Multiply(Microsoft.Xna.Framework.Color,Microsoft.Xna.Framework.Color) isExtensionMethod: true parent: MLEM.Extensions.ColorExtensions langs: - csharp - vb name: Multiply(Color, Color) nameWithType: ColorExtensions.Multiply(Color, Color) fullName: MLEM.Extensions.ColorExtensions.Multiply(Microsoft.Xna.Framework.Color, Microsoft.Xna.Framework.Color) type: Method source: remote: path: MLEM/Extensions/ColorExtensions.cs branch: main repo: https://github.com/Ellpeck/MLEM id: Multiply path: ../MLEM/Extensions/ColorExtensions.cs startLine: 35 assemblies: - MLEM namespace: MLEM.Extensions summary: Multiplies this color with another color and returns the result. example: [] syntax: content: public static Color Multiply(this Color color, Color other) parameters: - id: color type: Microsoft.Xna.Framework.Color description: The first color. - id: other type: Microsoft.Xna.Framework.Color description: The second color. return: type: Microsoft.Xna.Framework.Color description: The two colors multiplied together. content.vb: Public Shared Function Multiply(color As Color, other As Color) As Color overload: MLEM.Extensions.ColorExtensions.Multiply* - uid: MLEM.Extensions.ColorExtensions.ToHexStringRgba(Microsoft.Xna.Framework.Color,System.Boolean) commentId: M:MLEM.Extensions.ColorExtensions.ToHexStringRgba(Microsoft.Xna.Framework.Color,System.Boolean) id: ToHexStringRgba(Microsoft.Xna.Framework.Color,System.Boolean) isExtensionMethod: true parent: MLEM.Extensions.ColorExtensions langs: - csharp - vb name: ToHexStringRgba(Color, bool) nameWithType: ColorExtensions.ToHexStringRgba(Color, bool) fullName: MLEM.Extensions.ColorExtensions.ToHexStringRgba(Microsoft.Xna.Framework.Color, bool) type: Method source: remote: path: MLEM/Extensions/ColorExtensions.cs branch: main repo: https://github.com/Ellpeck/MLEM id: ToHexStringRgba path: ../MLEM/Extensions/ColorExtensions.cs startLine: 45 assemblies: - MLEM namespace: MLEM.Extensions summary: Returns the hexadecimal representation of this color as a string in the format #AARRGGBB, or optionally AARRGGBB, without the pound symbol. example: [] syntax: content: public static string ToHexStringRgba(this Color color, bool hash = true) parameters: - id: color type: Microsoft.Xna.Framework.Color description: The color to convert. - id: hash type: System.Boolean description: 'Whether a # should prepend the string.' return: type: System.String description: The resulting hex string. content.vb: Public Shared Function ToHexStringRgba(color As Color, hash As Boolean = True) As String overload: MLEM.Extensions.ColorExtensions.ToHexStringRgba* nameWithType.vb: ColorExtensions.ToHexStringRgba(Color, Boolean) fullName.vb: MLEM.Extensions.ColorExtensions.ToHexStringRgba(Microsoft.Xna.Framework.Color, Boolean) name.vb: ToHexStringRgba(Color, Boolean) - uid: MLEM.Extensions.ColorExtensions.ToHexStringRgb(Microsoft.Xna.Framework.Color,System.Boolean) commentId: M:MLEM.Extensions.ColorExtensions.ToHexStringRgb(Microsoft.Xna.Framework.Color,System.Boolean) id: ToHexStringRgb(Microsoft.Xna.Framework.Color,System.Boolean) isExtensionMethod: true parent: MLEM.Extensions.ColorExtensions langs: - csharp - vb name: ToHexStringRgb(Color, bool) nameWithType: ColorExtensions.ToHexStringRgb(Color, bool) fullName: MLEM.Extensions.ColorExtensions.ToHexStringRgb(Microsoft.Xna.Framework.Color, bool) type: Method source: remote: path: MLEM/Extensions/ColorExtensions.cs branch: main repo: https://github.com/Ellpeck/MLEM id: ToHexStringRgb path: ../MLEM/Extensions/ColorExtensions.cs startLine: 56 assemblies: - MLEM namespace: MLEM.Extensions summary: >- Returns the hexadecimal representation of this color as a string in the format #RRGGBB, or optionally RRGGBB, without the pound symbol. The alpha channel is ignored. example: [] syntax: content: public static string ToHexStringRgb(this Color color, bool hash = true) parameters: - id: color type: Microsoft.Xna.Framework.Color description: The color to convert. - id: hash type: System.Boolean description: 'Whether a # should prepend the string.' return: type: System.String description: The resulting hex string. content.vb: Public Shared Function ToHexStringRgb(color As Color, hash As Boolean = True) As String overload: MLEM.Extensions.ColorExtensions.ToHexStringRgb* nameWithType.vb: ColorExtensions.ToHexStringRgb(Color, Boolean) fullName.vb: MLEM.Extensions.ColorExtensions.ToHexStringRgb(Microsoft.Xna.Framework.Color, Boolean) name.vb: ToHexStringRgb(Color, Boolean) references: - uid: Microsoft.Xna.Framework.Color commentId: T:Microsoft.Xna.Framework.Color parent: Microsoft.Xna.Framework isExternal: true name: Color nameWithType: Color fullName: Microsoft.Xna.Framework.Color - uid: MLEM.Extensions commentId: N:MLEM.Extensions href: MLEM.html name: MLEM.Extensions nameWithType: MLEM.Extensions fullName: MLEM.Extensions spec.csharp: - uid: MLEM name: MLEM href: MLEM.html - name: . - uid: MLEM.Extensions name: Extensions href: MLEM.Extensions.html spec.vb: - uid: MLEM name: MLEM href: MLEM.html - name: . - uid: MLEM.Extensions name: Extensions href: MLEM.Extensions.html - uid: System.Object commentId: T:System.Object parent: System isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object name: object nameWithType: object fullName: object nameWithType.vb: Object fullName.vb: Object name.vb: Object - uid: System.Object.ToString commentId: M:System.Object.ToString parent: System.Object isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object.tostring name: ToString() nameWithType: object.ToString() fullName: object.ToString() nameWithType.vb: Object.ToString() fullName.vb: Object.ToString() spec.csharp: - uid: System.Object.ToString name: ToString isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object.tostring - name: ( - name: ) spec.vb: - uid: System.Object.ToString name: ToString isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object.tostring - name: ( - name: ) - uid: System.Object.Equals(System.Object) commentId: M:System.Object.Equals(System.Object) parent: System.Object isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object) name: Equals(object) nameWithType: object.Equals(object) fullName: object.Equals(object) nameWithType.vb: Object.Equals(Object) fullName.vb: Object.Equals(Object) name.vb: Equals(Object) spec.csharp: - uid: System.Object.Equals(System.Object) name: Equals isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object) - name: ( - uid: System.Object name: object isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object - name: ) spec.vb: - uid: System.Object.Equals(System.Object) name: Equals isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object) - name: ( - uid: System.Object name: Object isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object - name: ) - uid: System.Object.Equals(System.Object,System.Object) commentId: M:System.Object.Equals(System.Object,System.Object) parent: System.Object isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object) name: Equals(object, object) nameWithType: object.Equals(object, object) fullName: object.Equals(object, object) nameWithType.vb: Object.Equals(Object, Object) fullName.vb: Object.Equals(Object, Object) name.vb: Equals(Object, Object) spec.csharp: - uid: System.Object.Equals(System.Object,System.Object) name: Equals isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object) - name: ( - uid: System.Object name: object isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object - name: ',' - name: " " - uid: System.Object name: object isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object - name: ) spec.vb: - uid: System.Object.Equals(System.Object,System.Object) name: Equals isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object) - name: ( - uid: System.Object name: Object isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object - name: ',' - name: " " - uid: System.Object name: Object isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object - name: ) - uid: System.Object.ReferenceEquals(System.Object,System.Object) commentId: M:System.Object.ReferenceEquals(System.Object,System.Object) parent: System.Object isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object.referenceequals name: ReferenceEquals(object, object) nameWithType: object.ReferenceEquals(object, object) fullName: object.ReferenceEquals(object, object) nameWithType.vb: Object.ReferenceEquals(Object, Object) fullName.vb: Object.ReferenceEquals(Object, Object) name.vb: ReferenceEquals(Object, Object) spec.csharp: - uid: System.Object.ReferenceEquals(System.Object,System.Object) name: ReferenceEquals isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object.referenceequals - name: ( - uid: System.Object name: object isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object - name: ',' - name: " " - uid: System.Object name: object isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object - name: ) spec.vb: - uid: System.Object.ReferenceEquals(System.Object,System.Object) name: ReferenceEquals isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object.referenceequals - name: ( - uid: System.Object name: Object isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object - name: ',' - name: " " - uid: System.Object name: Object isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object - name: ) - uid: System.Object.GetHashCode commentId: M:System.Object.GetHashCode parent: System.Object isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object.gethashcode name: GetHashCode() nameWithType: object.GetHashCode() fullName: object.GetHashCode() nameWithType.vb: Object.GetHashCode() fullName.vb: Object.GetHashCode() spec.csharp: - uid: System.Object.GetHashCode name: GetHashCode isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object.gethashcode - name: ( - name: ) spec.vb: - uid: System.Object.GetHashCode name: GetHashCode isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object.gethashcode - name: ( - name: ) - uid: System.Object.GetType commentId: M:System.Object.GetType parent: System.Object isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object.gettype name: GetType() nameWithType: object.GetType() fullName: object.GetType() nameWithType.vb: Object.GetType() fullName.vb: Object.GetType() spec.csharp: - uid: System.Object.GetType name: GetType isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object.gettype - name: ( - name: ) spec.vb: - uid: System.Object.GetType name: GetType isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object.gettype - name: ( - name: ) - uid: System.Object.MemberwiseClone commentId: M:System.Object.MemberwiseClone parent: System.Object isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone name: MemberwiseClone() nameWithType: object.MemberwiseClone() fullName: object.MemberwiseClone() nameWithType.vb: Object.MemberwiseClone() fullName.vb: Object.MemberwiseClone() spec.csharp: - uid: System.Object.MemberwiseClone name: MemberwiseClone isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone - name: ( - name: ) spec.vb: - uid: System.Object.MemberwiseClone name: MemberwiseClone isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone - name: ( - name: ) - uid: Microsoft.Xna.Framework commentId: N:Microsoft.Xna.Framework isExternal: true name: Microsoft.Xna.Framework nameWithType: Microsoft.Xna.Framework fullName: Microsoft.Xna.Framework spec.csharp: - uid: Microsoft name: Microsoft isExternal: true - name: . - uid: Microsoft.Xna name: Xna isExternal: true - name: . - uid: Microsoft.Xna.Framework name: Framework isExternal: true spec.vb: - uid: Microsoft name: Microsoft isExternal: true - name: . - uid: Microsoft.Xna name: Xna isExternal: true - name: . - uid: Microsoft.Xna.Framework name: Framework isExternal: true - uid: System commentId: N:System isExternal: true href: https://learn.microsoft.com/dotnet/api/system name: System nameWithType: System fullName: System - uid: MLEM.Extensions.ColorExtensions.CopyAlpha* commentId: Overload:MLEM.Extensions.ColorExtensions.CopyAlpha href: MLEM.Extensions.ColorExtensions.html#MLEM_Extensions_ColorExtensions_CopyAlpha_Microsoft_Xna_Framework_Color_Microsoft_Xna_Framework_Color_ name: CopyAlpha nameWithType: ColorExtensions.CopyAlpha fullName: MLEM.Extensions.ColorExtensions.CopyAlpha - uid: MLEM.Extensions.ColorExtensions.Invert* commentId: Overload:MLEM.Extensions.ColorExtensions.Invert href: MLEM.Extensions.ColorExtensions.html#MLEM_Extensions_ColorExtensions_Invert_Microsoft_Xna_Framework_Color_ name: Invert nameWithType: ColorExtensions.Invert fullName: MLEM.Extensions.ColorExtensions.Invert - uid: MLEM.Extensions.ColorExtensions.Multiply* commentId: Overload:MLEM.Extensions.ColorExtensions.Multiply href: MLEM.Extensions.ColorExtensions.html#MLEM_Extensions_ColorExtensions_Multiply_Microsoft_Xna_Framework_Color_Microsoft_Xna_Framework_Color_ name: Multiply nameWithType: ColorExtensions.Multiply fullName: MLEM.Extensions.ColorExtensions.Multiply - uid: MLEM.Extensions.ColorExtensions.ToHexStringRgba* commentId: Overload:MLEM.Extensions.ColorExtensions.ToHexStringRgba href: MLEM.Extensions.ColorExtensions.html#MLEM_Extensions_ColorExtensions_ToHexStringRgba_Microsoft_Xna_Framework_Color_System_Boolean_ name: ToHexStringRgba nameWithType: ColorExtensions.ToHexStringRgba fullName: MLEM.Extensions.ColorExtensions.ToHexStringRgba - uid: System.Boolean commentId: T:System.Boolean parent: System isExternal: true href: https://learn.microsoft.com/dotnet/api/system.boolean name: bool nameWithType: bool fullName: bool nameWithType.vb: Boolean fullName.vb: Boolean name.vb: Boolean - uid: System.String commentId: T:System.String parent: System isExternal: true href: https://learn.microsoft.com/dotnet/api/system.string name: string nameWithType: string fullName: string nameWithType.vb: String fullName.vb: String name.vb: String - uid: MLEM.Extensions.ColorExtensions.ToHexStringRgb* commentId: Overload:MLEM.Extensions.ColorExtensions.ToHexStringRgb href: MLEM.Extensions.ColorExtensions.html#MLEM_Extensions_ColorExtensions_ToHexStringRgb_Microsoft_Xna_Framework_Color_System_Boolean_ name: ToHexStringRgb nameWithType: ColorExtensions.ToHexStringRgb fullName: MLEM.Extensions.ColorExtensions.ToHexStringRgb