### YamlMime:ManagedReference items: - uid: MLEM.Textures.NinePatchExtensions commentId: T:MLEM.Textures.NinePatchExtensions id: NinePatchExtensions parent: MLEM.Textures children: - MLEM.Textures.NinePatchExtensions.Draw(Microsoft.Xna.Framework.Graphics.SpriteBatch,MLEM.Textures.NinePatch,Microsoft.Xna.Framework.Rectangle,Microsoft.Xna.Framework.Color,System.Single) - MLEM.Textures.NinePatchExtensions.Draw(Microsoft.Xna.Framework.Graphics.SpriteBatch,MLEM.Textures.NinePatch,Microsoft.Xna.Framework.Rectangle,Microsoft.Xna.Framework.Color,System.Single,Microsoft.Xna.Framework.Vector2,Microsoft.Xna.Framework.Graphics.SpriteEffects,System.Single,System.Single) - MLEM.Textures.NinePatchExtensions.Draw(Microsoft.Xna.Framework.Graphics.SpriteBatch,MLEM.Textures.NinePatch,MLEM.Misc.RectangleF,Microsoft.Xna.Framework.Color,System.Single) - MLEM.Textures.NinePatchExtensions.Draw(Microsoft.Xna.Framework.Graphics.SpriteBatch,MLEM.Textures.NinePatch,MLEM.Misc.RectangleF,Microsoft.Xna.Framework.Color,System.Single,Microsoft.Xna.Framework.Vector2,Microsoft.Xna.Framework.Graphics.SpriteEffects,System.Single,System.Single) langs: - csharp - vb name: NinePatchExtensions nameWithType: NinePatchExtensions fullName: MLEM.Textures.NinePatchExtensions type: Class source: remote: path: MLEM/Textures/NinePatch.cs branch: master repo: https://github.com/Ellpeck/MLEM id: NinePatchExtensions path: ../MLEM/Textures/NinePatch.cs startLine: 100 assemblies: - MLEM namespace: MLEM.Textures summary: "\nA set of extensions that allow for rendering\n" example: [] syntax: content: public static class NinePatchExtensions content.vb: Public Module NinePatchExtensions 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 modifiers.csharp: - public - static - class modifiers.vb: - Public - Module - uid: MLEM.Textures.NinePatchExtensions.Draw(Microsoft.Xna.Framework.Graphics.SpriteBatch,MLEM.Textures.NinePatch,MLEM.Misc.RectangleF,Microsoft.Xna.Framework.Color,System.Single,Microsoft.Xna.Framework.Vector2,Microsoft.Xna.Framework.Graphics.SpriteEffects,System.Single,System.Single) commentId: M:MLEM.Textures.NinePatchExtensions.Draw(Microsoft.Xna.Framework.Graphics.SpriteBatch,MLEM.Textures.NinePatch,MLEM.Misc.RectangleF,Microsoft.Xna.Framework.Color,System.Single,Microsoft.Xna.Framework.Vector2,Microsoft.Xna.Framework.Graphics.SpriteEffects,System.Single,System.Single) id: Draw(Microsoft.Xna.Framework.Graphics.SpriteBatch,MLEM.Textures.NinePatch,MLEM.Misc.RectangleF,Microsoft.Xna.Framework.Color,System.Single,Microsoft.Xna.Framework.Vector2,Microsoft.Xna.Framework.Graphics.SpriteEffects,System.Single,System.Single) isExtensionMethod: true parent: MLEM.Textures.NinePatchExtensions langs: - csharp - vb name: Draw(SpriteBatch, NinePatch, RectangleF, Color, Single, Vector2, SpriteEffects, Single, Single) nameWithType: NinePatchExtensions.Draw(SpriteBatch, NinePatch, RectangleF, Color, Single, Vector2, SpriteEffects, Single, Single) fullName: MLEM.Textures.NinePatchExtensions.Draw(Microsoft.Xna.Framework.Graphics.SpriteBatch, MLEM.Textures.NinePatch, MLEM.Misc.RectangleF, Microsoft.Xna.Framework.Color, System.Single, Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Graphics.SpriteEffects, System.Single, System.Single) type: Method source: remote: path: MLEM/Textures/NinePatch.cs branch: master repo: https://github.com/Ellpeck/MLEM id: Draw path: ../MLEM/Textures/NinePatch.cs startLine: 114 assemblies: - MLEM namespace: MLEM.Textures summary: "\nDraws a nine patch area using the given sprite batch\n" example: [] syntax: content: public static void Draw(this SpriteBatch batch, NinePatch texture, RectangleF destinationRectangle, Color color, float rotation, Vector2 origin, SpriteEffects effects, float layerDepth, float patchScale = 1F) parameters: - id: batch type: Microsoft.Xna.Framework.Graphics.SpriteBatch description: The batch to draw with - id: texture type: MLEM.Textures.NinePatch description: The nine patch to draw - id: destinationRectangle type: MLEM.Misc.RectangleF description: The area that should be covered by this nine patch - id: color type: Microsoft.Xna.Framework.Color description: The color to use - id: rotation type: System.Single description: The rotation - id: origin type: Microsoft.Xna.Framework.Vector2 description: The origin position - id: effects type: Microsoft.Xna.Framework.Graphics.SpriteEffects description: The effects that the sprite should have - id: layerDepth type: System.Single description: The depth - id: patchScale type: System.Single description: The scale of each area of the nine patch content.vb: >- Public Shared Sub Draw(batch As SpriteBatch, texture As NinePatch, destinationRectangle As RectangleF, color As Color, rotation As Single, origin As Vector2, effects As SpriteEffects, layerDepth As Single, patchScale As Single = 1F) overload: MLEM.Textures.NinePatchExtensions.Draw* modifiers.csharp: - public - static modifiers.vb: - Public - Shared - uid: MLEM.Textures.NinePatchExtensions.Draw(Microsoft.Xna.Framework.Graphics.SpriteBatch,MLEM.Textures.NinePatch,Microsoft.Xna.Framework.Rectangle,Microsoft.Xna.Framework.Color,System.Single,Microsoft.Xna.Framework.Vector2,Microsoft.Xna.Framework.Graphics.SpriteEffects,System.Single,System.Single) commentId: M:MLEM.Textures.NinePatchExtensions.Draw(Microsoft.Xna.Framework.Graphics.SpriteBatch,MLEM.Textures.NinePatch,Microsoft.Xna.Framework.Rectangle,Microsoft.Xna.Framework.Color,System.Single,Microsoft.Xna.Framework.Vector2,Microsoft.Xna.Framework.Graphics.SpriteEffects,System.Single,System.Single) id: Draw(Microsoft.Xna.Framework.Graphics.SpriteBatch,MLEM.Textures.NinePatch,Microsoft.Xna.Framework.Rectangle,Microsoft.Xna.Framework.Color,System.Single,Microsoft.Xna.Framework.Vector2,Microsoft.Xna.Framework.Graphics.SpriteEffects,System.Single,System.Single) isExtensionMethod: true parent: MLEM.Textures.NinePatchExtensions langs: - csharp - vb name: Draw(SpriteBatch, NinePatch, Rectangle, Color, Single, Vector2, SpriteEffects, Single, Single) nameWithType: NinePatchExtensions.Draw(SpriteBatch, NinePatch, Rectangle, Color, Single, Vector2, SpriteEffects, Single, Single) fullName: MLEM.Textures.NinePatchExtensions.Draw(Microsoft.Xna.Framework.Graphics.SpriteBatch, MLEM.Textures.NinePatch, Microsoft.Xna.Framework.Rectangle, Microsoft.Xna.Framework.Color, System.Single, Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Graphics.SpriteEffects, System.Single, System.Single) type: Method source: remote: path: MLEM/Textures/NinePatch.cs branch: master repo: https://github.com/Ellpeck/MLEM id: Draw path: ../MLEM/Textures/NinePatch.cs startLine: 125 assemblies: - MLEM namespace: MLEM.Textures example: [] syntax: content: public static void Draw(this SpriteBatch batch, NinePatch texture, Rectangle destinationRectangle, Color color, float rotation, Vector2 origin, SpriteEffects effects, float layerDepth, float patchScale = 1F) parameters: - id: batch type: Microsoft.Xna.Framework.Graphics.SpriteBatch - id: texture type: MLEM.Textures.NinePatch - id: destinationRectangle type: Microsoft.Xna.Framework.Rectangle - id: color type: Microsoft.Xna.Framework.Color - id: rotation type: System.Single - id: origin type: Microsoft.Xna.Framework.Vector2 - id: effects type: Microsoft.Xna.Framework.Graphics.SpriteEffects - id: layerDepth type: System.Single - id: patchScale type: System.Single content.vb: >- Public Shared Sub Draw(batch As SpriteBatch, texture As NinePatch, destinationRectangle As Rectangle, color As Color, rotation As Single, origin As Vector2, effects As SpriteEffects, layerDepth As Single, patchScale As Single = 1F) overload: MLEM.Textures.NinePatchExtensions.Draw* modifiers.csharp: - public - static modifiers.vb: - Public - Shared - uid: MLEM.Textures.NinePatchExtensions.Draw(Microsoft.Xna.Framework.Graphics.SpriteBatch,MLEM.Textures.NinePatch,MLEM.Misc.RectangleF,Microsoft.Xna.Framework.Color,System.Single) commentId: M:MLEM.Textures.NinePatchExtensions.Draw(Microsoft.Xna.Framework.Graphics.SpriteBatch,MLEM.Textures.NinePatch,MLEM.Misc.RectangleF,Microsoft.Xna.Framework.Color,System.Single) id: Draw(Microsoft.Xna.Framework.Graphics.SpriteBatch,MLEM.Textures.NinePatch,MLEM.Misc.RectangleF,Microsoft.Xna.Framework.Color,System.Single) isExtensionMethod: true parent: MLEM.Textures.NinePatchExtensions langs: - csharp - vb name: Draw(SpriteBatch, NinePatch, RectangleF, Color, Single) nameWithType: NinePatchExtensions.Draw(SpriteBatch, NinePatch, RectangleF, Color, Single) fullName: MLEM.Textures.NinePatchExtensions.Draw(Microsoft.Xna.Framework.Graphics.SpriteBatch, MLEM.Textures.NinePatch, MLEM.Misc.RectangleF, Microsoft.Xna.Framework.Color, System.Single) type: Method source: remote: path: MLEM/Textures/NinePatch.cs branch: master repo: https://github.com/Ellpeck/MLEM id: Draw path: ../MLEM/Textures/NinePatch.cs startLine: 130 assemblies: - MLEM namespace: MLEM.Textures example: [] syntax: content: public static void Draw(this SpriteBatch batch, NinePatch texture, RectangleF destinationRectangle, Color color, float patchScale = 1F) parameters: - id: batch type: Microsoft.Xna.Framework.Graphics.SpriteBatch - id: texture type: MLEM.Textures.NinePatch - id: destinationRectangle type: MLEM.Misc.RectangleF - id: color type: Microsoft.Xna.Framework.Color - id: patchScale type: System.Single content.vb: >- Public Shared Sub Draw(batch As SpriteBatch, texture As NinePatch, destinationRectangle As RectangleF, color As Color, patchScale As Single = 1F) overload: MLEM.Textures.NinePatchExtensions.Draw* modifiers.csharp: - public - static modifiers.vb: - Public - Shared - uid: MLEM.Textures.NinePatchExtensions.Draw(Microsoft.Xna.Framework.Graphics.SpriteBatch,MLEM.Textures.NinePatch,Microsoft.Xna.Framework.Rectangle,Microsoft.Xna.Framework.Color,System.Single) commentId: M:MLEM.Textures.NinePatchExtensions.Draw(Microsoft.Xna.Framework.Graphics.SpriteBatch,MLEM.Textures.NinePatch,Microsoft.Xna.Framework.Rectangle,Microsoft.Xna.Framework.Color,System.Single) id: Draw(Microsoft.Xna.Framework.Graphics.SpriteBatch,MLEM.Textures.NinePatch,Microsoft.Xna.Framework.Rectangle,Microsoft.Xna.Framework.Color,System.Single) isExtensionMethod: true parent: MLEM.Textures.NinePatchExtensions langs: - csharp - vb name: Draw(SpriteBatch, NinePatch, Rectangle, Color, Single) nameWithType: NinePatchExtensions.Draw(SpriteBatch, NinePatch, Rectangle, Color, Single) fullName: MLEM.Textures.NinePatchExtensions.Draw(Microsoft.Xna.Framework.Graphics.SpriteBatch, MLEM.Textures.NinePatch, Microsoft.Xna.Framework.Rectangle, Microsoft.Xna.Framework.Color, System.Single) type: Method source: remote: path: MLEM/Textures/NinePatch.cs branch: master repo: https://github.com/Ellpeck/MLEM id: Draw path: ../MLEM/Textures/NinePatch.cs startLine: 135 assemblies: - MLEM namespace: MLEM.Textures example: [] syntax: content: public static void Draw(this SpriteBatch batch, NinePatch texture, Rectangle destinationRectangle, Color color, float patchScale = 1F) parameters: - id: batch type: Microsoft.Xna.Framework.Graphics.SpriteBatch - id: texture type: MLEM.Textures.NinePatch - id: destinationRectangle type: Microsoft.Xna.Framework.Rectangle - id: color type: Microsoft.Xna.Framework.Color - id: patchScale type: System.Single content.vb: >- Public Shared Sub Draw(batch As SpriteBatch, texture As NinePatch, destinationRectangle As Rectangle, color As Color, patchScale As Single = 1F) overload: MLEM.Textures.NinePatchExtensions.Draw* modifiers.csharp: - public - static modifiers.vb: - Public - Shared references: - uid: MLEM.Textures.NinePatch commentId: T:MLEM.Textures.NinePatch parent: MLEM.Textures name: NinePatch nameWithType: NinePatch fullName: MLEM.Textures.NinePatch - uid: MLEM.Textures commentId: N:MLEM.Textures name: MLEM.Textures nameWithType: MLEM.Textures fullName: MLEM.Textures - uid: System.Object commentId: T:System.Object parent: System isExternal: true name: Object nameWithType: Object fullName: System.Object - uid: System.Object.Equals(System.Object) commentId: M:System.Object.Equals(System.Object) parent: System.Object isExternal: true name: Equals(Object) nameWithType: Object.Equals(Object) fullName: System.Object.Equals(System.Object) spec.csharp: - uid: System.Object.Equals(System.Object) name: Equals nameWithType: Object.Equals fullName: System.Object.Equals isExternal: true - name: ( nameWithType: ( fullName: ( - uid: System.Object name: Object nameWithType: Object fullName: System.Object isExternal: true - name: ) nameWithType: ) fullName: ) spec.vb: - uid: System.Object.Equals(System.Object) name: Equals nameWithType: Object.Equals fullName: System.Object.Equals isExternal: true - name: ( nameWithType: ( fullName: ( - uid: System.Object name: Object nameWithType: Object fullName: System.Object isExternal: true - name: ) nameWithType: ) fullName: ) - uid: System.Object.Equals(System.Object,System.Object) commentId: M:System.Object.Equals(System.Object,System.Object) parent: System.Object isExternal: true name: Equals(Object, Object) nameWithType: Object.Equals(Object, Object) fullName: System.Object.Equals(System.Object, System.Object) spec.csharp: - uid: System.Object.Equals(System.Object,System.Object) name: Equals nameWithType: Object.Equals fullName: System.Object.Equals isExternal: true - name: ( nameWithType: ( fullName: ( - uid: System.Object name: Object nameWithType: Object fullName: System.Object isExternal: true - name: ', ' nameWithType: ', ' fullName: ', ' - uid: System.Object name: Object nameWithType: Object fullName: System.Object isExternal: true - name: ) nameWithType: ) fullName: ) spec.vb: - uid: System.Object.Equals(System.Object,System.Object) name: Equals nameWithType: Object.Equals fullName: System.Object.Equals isExternal: true - name: ( nameWithType: ( fullName: ( - uid: System.Object name: Object nameWithType: Object fullName: System.Object isExternal: true - name: ', ' nameWithType: ', ' fullName: ', ' - uid: System.Object name: Object nameWithType: Object fullName: System.Object isExternal: true - name: ) nameWithType: ) fullName: ) - uid: System.Object.GetHashCode commentId: M:System.Object.GetHashCode parent: System.Object isExternal: true name: GetHashCode() nameWithType: Object.GetHashCode() fullName: System.Object.GetHashCode() spec.csharp: - uid: System.Object.GetHashCode name: GetHashCode nameWithType: Object.GetHashCode fullName: System.Object.GetHashCode isExternal: true - name: ( nameWithType: ( fullName: ( - name: ) nameWithType: ) fullName: ) spec.vb: - uid: System.Object.GetHashCode name: GetHashCode nameWithType: Object.GetHashCode fullName: System.Object.GetHashCode isExternal: true - name: ( nameWithType: ( fullName: ( - name: ) nameWithType: ) fullName: ) - uid: System.Object.GetType commentId: M:System.Object.GetType parent: System.Object isExternal: true name: GetType() nameWithType: Object.GetType() fullName: System.Object.GetType() spec.csharp: - uid: System.Object.GetType name: GetType nameWithType: Object.GetType fullName: System.Object.GetType isExternal: true - name: ( nameWithType: ( fullName: ( - name: ) nameWithType: ) fullName: ) spec.vb: - uid: System.Object.GetType name: GetType nameWithType: Object.GetType fullName: System.Object.GetType isExternal: true - name: ( nameWithType: ( fullName: ( - name: ) nameWithType: ) fullName: ) - uid: System.Object.MemberwiseClone commentId: M:System.Object.MemberwiseClone parent: System.Object isExternal: true name: MemberwiseClone() nameWithType: Object.MemberwiseClone() fullName: System.Object.MemberwiseClone() spec.csharp: - uid: System.Object.MemberwiseClone name: MemberwiseClone nameWithType: Object.MemberwiseClone fullName: System.Object.MemberwiseClone isExternal: true - name: ( nameWithType: ( fullName: ( - name: ) nameWithType: ) fullName: ) spec.vb: - uid: System.Object.MemberwiseClone name: MemberwiseClone nameWithType: Object.MemberwiseClone fullName: System.Object.MemberwiseClone isExternal: true - name: ( nameWithType: ( fullName: ( - name: ) nameWithType: ) fullName: ) - uid: System.Object.ReferenceEquals(System.Object,System.Object) commentId: M:System.Object.ReferenceEquals(System.Object,System.Object) parent: System.Object isExternal: true name: ReferenceEquals(Object, Object) nameWithType: Object.ReferenceEquals(Object, Object) fullName: System.Object.ReferenceEquals(System.Object, System.Object) spec.csharp: - uid: System.Object.ReferenceEquals(System.Object,System.Object) name: ReferenceEquals nameWithType: Object.ReferenceEquals fullName: System.Object.ReferenceEquals isExternal: true - name: ( nameWithType: ( fullName: ( - uid: System.Object name: Object nameWithType: Object fullName: System.Object isExternal: true - name: ', ' nameWithType: ', ' fullName: ', ' - uid: System.Object name: Object nameWithType: Object fullName: System.Object isExternal: true - name: ) nameWithType: ) fullName: ) spec.vb: - uid: System.Object.ReferenceEquals(System.Object,System.Object) name: ReferenceEquals nameWithType: Object.ReferenceEquals fullName: System.Object.ReferenceEquals isExternal: true - name: ( nameWithType: ( fullName: ( - uid: System.Object name: Object nameWithType: Object fullName: System.Object isExternal: true - name: ', ' nameWithType: ', ' fullName: ', ' - uid: System.Object name: Object nameWithType: Object fullName: System.Object isExternal: true - name: ) nameWithType: ) fullName: ) - uid: System.Object.ToString commentId: M:System.Object.ToString parent: System.Object isExternal: true name: ToString() nameWithType: Object.ToString() fullName: System.Object.ToString() spec.csharp: - uid: System.Object.ToString name: ToString nameWithType: Object.ToString fullName: System.Object.ToString isExternal: true - name: ( nameWithType: ( fullName: ( - name: ) nameWithType: ) fullName: ) spec.vb: - uid: System.Object.ToString name: ToString nameWithType: Object.ToString fullName: System.Object.ToString isExternal: true - name: ( nameWithType: ( fullName: ( - name: ) nameWithType: ) fullName: ) - uid: System commentId: N:System isExternal: true name: System nameWithType: System fullName: System - uid: MLEM.Textures.NinePatchExtensions.Draw* commentId: Overload:MLEM.Textures.NinePatchExtensions.Draw name: Draw nameWithType: NinePatchExtensions.Draw fullName: MLEM.Textures.NinePatchExtensions.Draw - uid: Microsoft.Xna.Framework.Graphics.SpriteBatch commentId: T:Microsoft.Xna.Framework.Graphics.SpriteBatch parent: Microsoft.Xna.Framework.Graphics isExternal: true name: SpriteBatch nameWithType: SpriteBatch fullName: Microsoft.Xna.Framework.Graphics.SpriteBatch - uid: MLEM.Misc.RectangleF commentId: T:MLEM.Misc.RectangleF parent: MLEM.Misc name: RectangleF nameWithType: RectangleF fullName: MLEM.Misc.RectangleF - 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: System.Single commentId: T:System.Single parent: System isExternal: true name: Single nameWithType: Single fullName: System.Single - uid: Microsoft.Xna.Framework.Vector2 commentId: T:Microsoft.Xna.Framework.Vector2 parent: Microsoft.Xna.Framework isExternal: true name: Vector2 nameWithType: Vector2 fullName: Microsoft.Xna.Framework.Vector2 - uid: Microsoft.Xna.Framework.Graphics.SpriteEffects commentId: T:Microsoft.Xna.Framework.Graphics.SpriteEffects parent: Microsoft.Xna.Framework.Graphics isExternal: true name: SpriteEffects nameWithType: SpriteEffects fullName: Microsoft.Xna.Framework.Graphics.SpriteEffects - uid: Microsoft.Xna.Framework.Graphics commentId: N:Microsoft.Xna.Framework.Graphics isExternal: true name: Microsoft.Xna.Framework.Graphics nameWithType: Microsoft.Xna.Framework.Graphics fullName: Microsoft.Xna.Framework.Graphics - uid: MLEM.Misc commentId: N:MLEM.Misc name: MLEM.Misc nameWithType: MLEM.Misc fullName: MLEM.Misc - uid: Microsoft.Xna.Framework commentId: N:Microsoft.Xna.Framework isExternal: true name: Microsoft.Xna.Framework nameWithType: Microsoft.Xna.Framework fullName: Microsoft.Xna.Framework - uid: MLEM.Textures.NinePatchExtensions.Draw(Microsoft.Xna.Framework.Graphics.SpriteBatch,MLEM.Textures.NinePatch,MLEM.Misc.RectangleF,Microsoft.Xna.Framework.Color,System.Single,Microsoft.Xna.Framework.Vector2,Microsoft.Xna.Framework.Graphics.SpriteEffects,System.Single,System.Single) commentId: M:MLEM.Textures.NinePatchExtensions.Draw(Microsoft.Xna.Framework.Graphics.SpriteBatch,MLEM.Textures.NinePatch,MLEM.Misc.RectangleF,Microsoft.Xna.Framework.Color,System.Single,Microsoft.Xna.Framework.Vector2,Microsoft.Xna.Framework.Graphics.SpriteEffects,System.Single,System.Single) isExternal: true - uid: Microsoft.Xna.Framework.Rectangle commentId: T:Microsoft.Xna.Framework.Rectangle parent: Microsoft.Xna.Framework isExternal: true name: Rectangle nameWithType: Rectangle fullName: Microsoft.Xna.Framework.Rectangle