1
0
Fork 0
mirror of https://github.com/Ellpeck/MLEM.git synced 2024-11-14 10:09:09 +01:00
MLEM/Docs/api/MLEM.Extended.Extensions.TextureExtensions.yml

549 lines
19 KiB
YAML
Raw Normal View History

### YamlMime:ManagedReference
items:
- uid: MLEM.Extended.Extensions.TextureExtensions
commentId: T:MLEM.Extended.Extensions.TextureExtensions
id: TextureExtensions
parent: MLEM.Extended.Extensions
children:
- MLEM.Extended.Extensions.TextureExtensions.ToExtended(MLEM.Textures.NinePatch)
- MLEM.Extended.Extensions.TextureExtensions.ToExtended(MLEM.Textures.TextureRegion)
- MLEM.Extended.Extensions.TextureExtensions.ToMlem(MonoGame.Extended.TextureAtlases.NinePatchRegion2D)
- MLEM.Extended.Extensions.TextureExtensions.ToMlem(MonoGame.Extended.TextureAtlases.TextureRegion2D)
langs:
- csharp
- vb
name: TextureExtensions
nameWithType: TextureExtensions
fullName: MLEM.Extended.Extensions.TextureExtensions
type: Class
source:
remote:
path: MLEM.Extended/Extensions/TextureExtensions.cs
branch: main
repo: https://github.com/Ellpeck/MLEM
id: TextureExtensions
path: ../MLEM.Extended/Extensions/TextureExtensions.cs
startLine: 8
assemblies:
- MLEM.Extended
namespace: MLEM.Extended.Extensions
summary: A set of extensions for converting texture-related types between MLEM and MonoGame.Extended.
example: []
syntax:
content: public static class TextureExtensions
content.vb: Public Module TextureExtensions
inheritance:
- System.Object
inheritedMembers:
- System.Object.Equals(System.Object)
- System.Object.Equals(System.Object,System.Object)
- System.Object.GetHashCode
- System.Object.GetType
- System.Object.MemberwiseClone
- System.Object.ReferenceEquals(System.Object,System.Object)
- System.Object.ToString
- uid: MLEM.Extended.Extensions.TextureExtensions.ToExtended(MLEM.Textures.NinePatch)
commentId: M:MLEM.Extended.Extensions.TextureExtensions.ToExtended(MLEM.Textures.NinePatch)
id: ToExtended(MLEM.Textures.NinePatch)
isExtensionMethod: true
parent: MLEM.Extended.Extensions.TextureExtensions
langs:
- csharp
- vb
name: ToExtended(NinePatch)
nameWithType: TextureExtensions.ToExtended(NinePatch)
fullName: MLEM.Extended.Extensions.TextureExtensions.ToExtended(MLEM.Textures.NinePatch)
type: Method
source:
remote:
path: MLEM.Extended/Extensions/TextureExtensions.cs
branch: main
repo: https://github.com/Ellpeck/MLEM
id: ToExtended
path: ../MLEM.Extended/Extensions/TextureExtensions.cs
startLine: 15
assemblies:
- MLEM.Extended
namespace: MLEM.Extended.Extensions
summary: Converts a MLEM <xref href="MLEM.Textures.NinePatch" data-throw-if-not-resolved="false"></xref> to a MonoGame.Extended <xref href="MonoGame.Extended.TextureAtlases.NinePatchRegion2D" data-throw-if-not-resolved="false"></xref>.
example: []
syntax:
content: public static NinePatchRegion2D ToExtended(this NinePatch patch)
parameters:
- id: patch
type: MLEM.Textures.NinePatch
description: The nine patch to convert
return:
type: MonoGame.Extended.TextureAtlases.NinePatchRegion2D
description: The converted nine patch
content.vb: Public Shared Function ToExtended(patch As NinePatch) As NinePatchRegion2D
overload: MLEM.Extended.Extensions.TextureExtensions.ToExtended*
- uid: MLEM.Extended.Extensions.TextureExtensions.ToExtended(MLEM.Textures.TextureRegion)
commentId: M:MLEM.Extended.Extensions.TextureExtensions.ToExtended(MLEM.Textures.TextureRegion)
id: ToExtended(MLEM.Textures.TextureRegion)
isExtensionMethod: true
parent: MLEM.Extended.Extensions.TextureExtensions
langs:
- csharp
- vb
name: ToExtended(TextureRegion)
nameWithType: TextureExtensions.ToExtended(TextureRegion)
fullName: MLEM.Extended.Extensions.TextureExtensions.ToExtended(MLEM.Textures.TextureRegion)
type: Method
source:
remote:
path: MLEM.Extended/Extensions/TextureExtensions.cs
branch: main
repo: https://github.com/Ellpeck/MLEM
id: ToExtended
path: ../MLEM.Extended/Extensions/TextureExtensions.cs
startLine: 24
assemblies:
- MLEM.Extended
namespace: MLEM.Extended.Extensions
summary: Converts a MLEM <xref href="MLEM.Textures.TextureRegion" data-throw-if-not-resolved="false"></xref> to a MonoGame.Extended <xref href="MonoGame.Extended.TextureAtlases.TextureRegion2D" data-throw-if-not-resolved="false"></xref>.
example: []
syntax:
content: public static TextureRegion2D ToExtended(this TextureRegion region)
parameters:
- id: region
type: MLEM.Textures.TextureRegion
description: The nine patch to convert
return:
type: MonoGame.Extended.TextureAtlases.TextureRegion2D
description: The converted nine patch
content.vb: Public Shared Function ToExtended(region As TextureRegion) As TextureRegion2D
overload: MLEM.Extended.Extensions.TextureExtensions.ToExtended*
- uid: MLEM.Extended.Extensions.TextureExtensions.ToMlem(MonoGame.Extended.TextureAtlases.NinePatchRegion2D)
commentId: M:MLEM.Extended.Extensions.TextureExtensions.ToMlem(MonoGame.Extended.TextureAtlases.NinePatchRegion2D)
id: ToMlem(MonoGame.Extended.TextureAtlases.NinePatchRegion2D)
isExtensionMethod: true
parent: MLEM.Extended.Extensions.TextureExtensions
langs:
- csharp
- vb
name: ToMlem(NinePatchRegion2D)
nameWithType: TextureExtensions.ToMlem(NinePatchRegion2D)
fullName: MLEM.Extended.Extensions.TextureExtensions.ToMlem(MonoGame.Extended.TextureAtlases.NinePatchRegion2D)
type: Method
source:
remote:
path: MLEM.Extended/Extensions/TextureExtensions.cs
branch: main
repo: https://github.com/Ellpeck/MLEM
id: ToMlem
path: ../MLEM.Extended/Extensions/TextureExtensions.cs
startLine: 33
assemblies:
- MLEM.Extended
namespace: MLEM.Extended.Extensions
summary: Converts a MonoGame.Extended <xref href="MonoGame.Extended.TextureAtlases.NinePatchRegion2D" data-throw-if-not-resolved="false"></xref> to a MLEM <xref href="MLEM.Textures.NinePatch" data-throw-if-not-resolved="false"></xref>.
example: []
syntax:
content: public static NinePatch ToMlem(this NinePatchRegion2D patch)
parameters:
- id: patch
type: MonoGame.Extended.TextureAtlases.NinePatchRegion2D
description: The nine patch to convert
return:
type: MLEM.Textures.NinePatch
description: The converted nine patch
content.vb: Public Shared Function ToMlem(patch As NinePatchRegion2D) As NinePatch
overload: MLEM.Extended.Extensions.TextureExtensions.ToMlem*
- uid: MLEM.Extended.Extensions.TextureExtensions.ToMlem(MonoGame.Extended.TextureAtlases.TextureRegion2D)
commentId: M:MLEM.Extended.Extensions.TextureExtensions.ToMlem(MonoGame.Extended.TextureAtlases.TextureRegion2D)
id: ToMlem(MonoGame.Extended.TextureAtlases.TextureRegion2D)
isExtensionMethod: true
parent: MLEM.Extended.Extensions.TextureExtensions
langs:
- csharp
- vb
name: ToMlem(TextureRegion2D)
nameWithType: TextureExtensions.ToMlem(TextureRegion2D)
fullName: MLEM.Extended.Extensions.TextureExtensions.ToMlem(MonoGame.Extended.TextureAtlases.TextureRegion2D)
type: Method
source:
remote:
path: MLEM.Extended/Extensions/TextureExtensions.cs
branch: main
repo: https://github.com/Ellpeck/MLEM
id: ToMlem
path: ../MLEM.Extended/Extensions/TextureExtensions.cs
startLine: 42
assemblies:
- MLEM.Extended
namespace: MLEM.Extended.Extensions
summary: Converts a MonoGame.Extended <xref href="MonoGame.Extended.TextureAtlases.TextureRegion2D" data-throw-if-not-resolved="false"></xref> to a MLEM <xref href="MLEM.Textures.TextureRegion" data-throw-if-not-resolved="false"></xref>.
example: []
syntax:
content: public static TextureRegion ToMlem(this TextureRegion2D region)
parameters:
- id: region
type: MonoGame.Extended.TextureAtlases.TextureRegion2D
description: The nine patch to convert
return:
type: MLEM.Textures.TextureRegion
description: The converted nine patch
content.vb: Public Shared Function ToMlem(region As TextureRegion2D) As TextureRegion
overload: MLEM.Extended.Extensions.TextureExtensions.ToMlem*
references:
- uid: MLEM.Extended.Extensions
commentId: N:MLEM.Extended.Extensions
href: MLEM.html
name: MLEM.Extended.Extensions
nameWithType: MLEM.Extended.Extensions
fullName: MLEM.Extended.Extensions
spec.csharp:
- uid: MLEM
name: MLEM
href: MLEM.html
- name: .
- uid: MLEM.Extended
name: Extended
href: MLEM.Extended.html
- name: .
- uid: MLEM.Extended.Extensions
name: Extensions
href: MLEM.Extended.Extensions.html
spec.vb:
- uid: MLEM
name: MLEM
href: MLEM.html
- name: .
- uid: MLEM.Extended
name: Extended
href: MLEM.Extended.html
- name: .
- uid: MLEM.Extended.Extensions
name: Extensions
href: MLEM.Extended.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.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.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: 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.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
commentId: N:System
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system
name: System
nameWithType: System
fullName: System
- uid: MLEM.Textures.NinePatch
commentId: T:MLEM.Textures.NinePatch
parent: MLEM.Textures
href: MLEM.Textures.NinePatch.html
name: NinePatch
nameWithType: NinePatch
fullName: MLEM.Textures.NinePatch
- uid: MonoGame.Extended.TextureAtlases.NinePatchRegion2D
commentId: T:MonoGame.Extended.TextureAtlases.NinePatchRegion2D
parent: MonoGame.Extended.TextureAtlases
isExternal: true
name: NinePatchRegion2D
nameWithType: NinePatchRegion2D
fullName: MonoGame.Extended.TextureAtlases.NinePatchRegion2D
- uid: MLEM.Extended.Extensions.TextureExtensions.ToExtended*
commentId: Overload:MLEM.Extended.Extensions.TextureExtensions.ToExtended
href: MLEM.Extended.Extensions.TextureExtensions.html#MLEM_Extended_Extensions_TextureExtensions_ToExtended_MLEM_Textures_NinePatch_
name: ToExtended
nameWithType: TextureExtensions.ToExtended
fullName: MLEM.Extended.Extensions.TextureExtensions.ToExtended
- uid: MLEM.Textures
commentId: N:MLEM.Textures
href: MLEM.html
name: MLEM.Textures
nameWithType: MLEM.Textures
fullName: MLEM.Textures
spec.csharp:
- uid: MLEM
name: MLEM
href: MLEM.html
- name: .
- uid: MLEM.Textures
name: Textures
href: MLEM.Textures.html
spec.vb:
- uid: MLEM
name: MLEM
href: MLEM.html
- name: .
- uid: MLEM.Textures
name: Textures
href: MLEM.Textures.html
- uid: MonoGame.Extended.TextureAtlases
commentId: N:MonoGame.Extended.TextureAtlases
isExternal: true
name: MonoGame.Extended.TextureAtlases
nameWithType: MonoGame.Extended.TextureAtlases
fullName: MonoGame.Extended.TextureAtlases
spec.csharp:
- uid: MonoGame
name: MonoGame
isExternal: true
- name: .
- uid: MonoGame.Extended
name: Extended
isExternal: true
- name: .
- uid: MonoGame.Extended.TextureAtlases
name: TextureAtlases
isExternal: true
spec.vb:
- uid: MonoGame
name: MonoGame
isExternal: true
- name: .
- uid: MonoGame.Extended
name: Extended
isExternal: true
- name: .
- uid: MonoGame.Extended.TextureAtlases
name: TextureAtlases
isExternal: true
- uid: MLEM.Textures.TextureRegion
commentId: T:MLEM.Textures.TextureRegion
parent: MLEM.Textures
href: MLEM.Textures.TextureRegion.html
name: TextureRegion
nameWithType: TextureRegion
fullName: MLEM.Textures.TextureRegion
- uid: MonoGame.Extended.TextureAtlases.TextureRegion2D
commentId: T:MonoGame.Extended.TextureAtlases.TextureRegion2D
parent: MonoGame.Extended.TextureAtlases
isExternal: true
name: TextureRegion2D
nameWithType: TextureRegion2D
fullName: MonoGame.Extended.TextureAtlases.TextureRegion2D
- uid: MLEM.Extended.Extensions.TextureExtensions.ToMlem*
commentId: Overload:MLEM.Extended.Extensions.TextureExtensions.ToMlem
href: MLEM.Extended.Extensions.TextureExtensions.html#MLEM_Extended_Extensions_TextureExtensions_ToMlem_MonoGame_Extended_TextureAtlases_NinePatchRegion2D_
name: ToMlem
nameWithType: TextureExtensions.ToMlem
fullName: MLEM.Extended.Extensions.TextureExtensions.ToMlem