mirror of
https://github.com/Stone-Red-Code/DesktopMagic.git
synced 2026-09-04 17:06:12 +02:00
818 lines
31 KiB
YAML
818 lines
31 KiB
YAML
### YamlMime:ManagedReference
|
|
items:
|
|
- uid: DesktopMagicPluginAPI.Drawing.GraphicsExtentions
|
|
commentId: T:DesktopMagicPluginAPI.Drawing.GraphicsExtentions
|
|
id: GraphicsExtentions
|
|
parent: DesktopMagicPluginAPI.Drawing
|
|
children:
|
|
- DesktopMagicPluginAPI.Drawing.GraphicsExtentions.DrawStringFixedWidth(System.Drawing.Graphics,System.String,System.Drawing.Font,System.Drawing.Brush,System.Drawing.PointF,System.Single)
|
|
- DesktopMagicPluginAPI.Drawing.GraphicsExtentions.DrawStringFixedWidth(System.Drawing.Graphics,System.String,System.Drawing.Font,System.Drawing.Brush,System.Single,System.Single,System.Single)
|
|
- DesktopMagicPluginAPI.Drawing.GraphicsExtentions.DrawStringMonospace(System.Drawing.Graphics,System.String,System.Drawing.Font,System.Drawing.Brush,System.Drawing.PointF)
|
|
- DesktopMagicPluginAPI.Drawing.GraphicsExtentions.DrawStringMonospace(System.Drawing.Graphics,System.String,System.Drawing.Font,System.Drawing.Brush,System.Single,System.Single)
|
|
- DesktopMagicPluginAPI.Drawing.GraphicsExtentions.DrawStringNoLeftPadding(System.Drawing.Graphics,System.String,System.Drawing.Font,System.Drawing.Brush,System.Drawing.PointF)
|
|
- DesktopMagicPluginAPI.Drawing.GraphicsExtentions.DrawStringNoLeftPadding(System.Drawing.Graphics,System.String,System.Drawing.Font,System.Drawing.Brush,System.Single,System.Single)
|
|
- DesktopMagicPluginAPI.Drawing.GraphicsExtentions.MeasureStringNoLeftPadding(System.Drawing.Graphics,System.String,System.Drawing.Font)
|
|
langs:
|
|
- csharp
|
|
- vb
|
|
name: GraphicsExtentions
|
|
nameWithType: GraphicsExtentions
|
|
fullName: DesktopMagicPluginAPI.Drawing.GraphicsExtentions
|
|
type: Class
|
|
source:
|
|
remote:
|
|
path: src/DesktopMagicPluginAPI/Drawing/GraphicsExtentions.cs
|
|
branch: develop
|
|
repo: https://github.com/Stone-Red-Code/DesktopMagic.git
|
|
id: GraphicsExtentions
|
|
path: Drawing/GraphicsExtentions.cs
|
|
startLine: 9
|
|
assemblies:
|
|
- DesktopMagicPluginAPI
|
|
namespace: DesktopMagicPluginAPI.Drawing
|
|
summary: "\nExtensions for the <xref href=\"System.Drawing.Graphics\" data-throw-if-not-resolved=\"false\"></xref> class.\n"
|
|
example: []
|
|
syntax:
|
|
content: public static class GraphicsExtentions
|
|
content.vb: Public Module GraphicsExtentions
|
|
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: DesktopMagicPluginAPI.Drawing.GraphicsExtentions.DrawStringMonospace(System.Drawing.Graphics,System.String,System.Drawing.Font,System.Drawing.Brush,System.Single,System.Single)
|
|
commentId: M:DesktopMagicPluginAPI.Drawing.GraphicsExtentions.DrawStringMonospace(System.Drawing.Graphics,System.String,System.Drawing.Font,System.Drawing.Brush,System.Single,System.Single)
|
|
id: DrawStringMonospace(System.Drawing.Graphics,System.String,System.Drawing.Font,System.Drawing.Brush,System.Single,System.Single)
|
|
isExtensionMethod: true
|
|
parent: DesktopMagicPluginAPI.Drawing.GraphicsExtentions
|
|
langs:
|
|
- csharp
|
|
- vb
|
|
name: DrawStringMonospace(Graphics, String, Font, Brush, Single, Single)
|
|
nameWithType: GraphicsExtentions.DrawStringMonospace(Graphics, String, Font, Brush, Single, Single)
|
|
fullName: DesktopMagicPluginAPI.Drawing.GraphicsExtentions.DrawStringMonospace(System.Drawing.Graphics, System.String, System.Drawing.Font, System.Drawing.Brush, System.Single, System.Single)
|
|
type: Method
|
|
source:
|
|
remote:
|
|
path: src/DesktopMagicPluginAPI/Drawing/GraphicsExtentions.cs
|
|
branch: develop
|
|
repo: https://github.com/Stone-Red-Code/DesktopMagic.git
|
|
id: DrawStringMonospace
|
|
path: Drawing/GraphicsExtentions.cs
|
|
startLine: 22
|
|
assemblies:
|
|
- DesktopMagicPluginAPI
|
|
namespace: DesktopMagicPluginAPI.Drawing
|
|
summary: "\n<inheritdoc cref=\"M:System.Drawing.Graphics.DrawString(System.String,System.Drawing.Font,System.Drawing.Brush,System.Single,System.Single)\"></inheritdoc>\n"
|
|
example: []
|
|
syntax:
|
|
content: public static void DrawStringMonospace(this Graphics graphics, string s, Font font, Brush brush, float x, float y)
|
|
parameters:
|
|
- id: graphics
|
|
type: System.Drawing.Graphics
|
|
description: Graphics object.
|
|
- id: s
|
|
type: System.String
|
|
description: String to draw.
|
|
- id: font
|
|
type: System.Drawing.Font
|
|
description: <xref href="System.Drawing.Font" data-throw-if-not-resolved="false"></xref> that defines the text format of the string.
|
|
- id: brush
|
|
type: System.Drawing.Brush
|
|
description: <xref href="System.Drawing.Brush" data-throw-if-not-resolved="false"></xref> that determines the color and texture of the drawn text.
|
|
- id: x
|
|
type: System.Single
|
|
description: The x-coordinate of the upper-left corner of the drawn text.
|
|
- id: y
|
|
type: System.Single
|
|
description: The y-coordinate of the upper-left corner of the drawn text.
|
|
content.vb: >-
|
|
<ExtensionAttribute>
|
|
|
|
Public Shared Sub DrawStringMonospace(graphics As Graphics, s As String, font As Font, brush As Brush, x As Single, y As Single)
|
|
overload: DesktopMagicPluginAPI.Drawing.GraphicsExtentions.DrawStringMonospace*
|
|
modifiers.csharp:
|
|
- public
|
|
- static
|
|
modifiers.vb:
|
|
- Public
|
|
- Shared
|
|
- uid: DesktopMagicPluginAPI.Drawing.GraphicsExtentions.DrawStringMonospace(System.Drawing.Graphics,System.String,System.Drawing.Font,System.Drawing.Brush,System.Drawing.PointF)
|
|
commentId: M:DesktopMagicPluginAPI.Drawing.GraphicsExtentions.DrawStringMonospace(System.Drawing.Graphics,System.String,System.Drawing.Font,System.Drawing.Brush,System.Drawing.PointF)
|
|
id: DrawStringMonospace(System.Drawing.Graphics,System.String,System.Drawing.Font,System.Drawing.Brush,System.Drawing.PointF)
|
|
isExtensionMethod: true
|
|
parent: DesktopMagicPluginAPI.Drawing.GraphicsExtentions
|
|
langs:
|
|
- csharp
|
|
- vb
|
|
name: DrawStringMonospace(Graphics, String, Font, Brush, PointF)
|
|
nameWithType: GraphicsExtentions.DrawStringMonospace(Graphics, String, Font, Brush, PointF)
|
|
fullName: DesktopMagicPluginAPI.Drawing.GraphicsExtentions.DrawStringMonospace(System.Drawing.Graphics, System.String, System.Drawing.Font, System.Drawing.Brush, System.Drawing.PointF)
|
|
type: Method
|
|
source:
|
|
remote:
|
|
path: src/DesktopMagicPluginAPI/Drawing/GraphicsExtentions.cs
|
|
branch: develop
|
|
repo: https://github.com/Stone-Red-Code/DesktopMagic.git
|
|
id: DrawStringMonospace
|
|
path: Drawing/GraphicsExtentions.cs
|
|
startLine: 42
|
|
assemblies:
|
|
- DesktopMagicPluginAPI
|
|
namespace: DesktopMagicPluginAPI.Drawing
|
|
summary: "\n<inheritdoc cref=\"M:System.Drawing.Graphics.DrawString(System.String,System.Drawing.Font,System.Drawing.Brush,System.Drawing.PointF)\"></inheritdoc>\n"
|
|
example: []
|
|
syntax:
|
|
content: public static void DrawStringMonospace(this Graphics graphics, string s, Font font, Brush brush, PointF point)
|
|
parameters:
|
|
- id: graphics
|
|
type: System.Drawing.Graphics
|
|
description: Graphics object.
|
|
- id: s
|
|
type: System.String
|
|
description: String to draw.
|
|
- id: font
|
|
type: System.Drawing.Font
|
|
description: <xref href="System.Drawing.Font" data-throw-if-not-resolved="false"></xref> that defines the text format of the string.
|
|
- id: brush
|
|
type: System.Drawing.Brush
|
|
description: <xref href="System.Drawing.Brush" data-throw-if-not-resolved="false"></xref> that determines the color and texture of the drawn text.
|
|
- id: point
|
|
type: System.Drawing.PointF
|
|
description: <xref href="System.Drawing.PointF" data-throw-if-not-resolved="false"></xref> structure that specifies the upper-left corner of the drawn text.
|
|
content.vb: >-
|
|
<ExtensionAttribute>
|
|
|
|
Public Shared Sub DrawStringMonospace(graphics As Graphics, s As String, font As Font, brush As Brush, point As PointF)
|
|
overload: DesktopMagicPluginAPI.Drawing.GraphicsExtentions.DrawStringMonospace*
|
|
modifiers.csharp:
|
|
- public
|
|
- static
|
|
modifiers.vb:
|
|
- Public
|
|
- Shared
|
|
- uid: DesktopMagicPluginAPI.Drawing.GraphicsExtentions.DrawStringFixedWidth(System.Drawing.Graphics,System.String,System.Drawing.Font,System.Drawing.Brush,System.Single,System.Single,System.Single)
|
|
commentId: M:DesktopMagicPluginAPI.Drawing.GraphicsExtentions.DrawStringFixedWidth(System.Drawing.Graphics,System.String,System.Drawing.Font,System.Drawing.Brush,System.Single,System.Single,System.Single)
|
|
id: DrawStringFixedWidth(System.Drawing.Graphics,System.String,System.Drawing.Font,System.Drawing.Brush,System.Single,System.Single,System.Single)
|
|
isExtensionMethod: true
|
|
parent: DesktopMagicPluginAPI.Drawing.GraphicsExtentions
|
|
langs:
|
|
- csharp
|
|
- vb
|
|
name: DrawStringFixedWidth(Graphics, String, Font, Brush, Single, Single, Single)
|
|
nameWithType: GraphicsExtentions.DrawStringFixedWidth(Graphics, String, Font, Brush, Single, Single, Single)
|
|
fullName: DesktopMagicPluginAPI.Drawing.GraphicsExtentions.DrawStringFixedWidth(System.Drawing.Graphics, System.String, System.Drawing.Font, System.Drawing.Brush, System.Single, System.Single, System.Single)
|
|
type: Method
|
|
source:
|
|
remote:
|
|
path: src/DesktopMagicPluginAPI/Drawing/GraphicsExtentions.cs
|
|
branch: develop
|
|
repo: https://github.com/Stone-Red-Code/DesktopMagic.git
|
|
id: DrawStringFixedWidth
|
|
path: Drawing/GraphicsExtentions.cs
|
|
startLine: 64
|
|
assemblies:
|
|
- DesktopMagicPluginAPI
|
|
namespace: DesktopMagicPluginAPI.Drawing
|
|
summary: "\n<inheritdoc cref=\"M:System.Drawing.Graphics.DrawString(System.String,System.Drawing.Font,System.Drawing.Brush,System.Single,System.Single)\"></inheritdoc>\n"
|
|
example: []
|
|
syntax:
|
|
content: public static void DrawStringFixedWidth(this Graphics graphics, string s, Font font, Brush brush, float x, float y, float width)
|
|
parameters:
|
|
- id: graphics
|
|
type: System.Drawing.Graphics
|
|
description: Graphics object.
|
|
- id: s
|
|
type: System.String
|
|
description: String to draw.
|
|
- id: font
|
|
type: System.Drawing.Font
|
|
description: <xref href="System.Drawing.Font" data-throw-if-not-resolved="false"></xref> that defines the text format of the string.
|
|
- id: brush
|
|
type: System.Drawing.Brush
|
|
description: <xref href="System.Drawing.Brush" data-throw-if-not-resolved="false"></xref> that determines the color and texture of the drawn text.
|
|
- id: x
|
|
type: System.Single
|
|
description: The x-coordinate of the upper-left corner of the drawn text.
|
|
- id: y
|
|
type: System.Single
|
|
description: The y-coordinate of the upper-left corner of the drawn text.
|
|
- id: width
|
|
type: System.Single
|
|
description: The specified width.
|
|
content.vb: >-
|
|
<ExtensionAttribute>
|
|
|
|
Public Shared Sub DrawStringFixedWidth(graphics As Graphics, s As String, font As Font, brush As Brush, x As Single, y As Single, width As Single)
|
|
overload: DesktopMagicPluginAPI.Drawing.GraphicsExtentions.DrawStringFixedWidth*
|
|
modifiers.csharp:
|
|
- public
|
|
- static
|
|
modifiers.vb:
|
|
- Public
|
|
- Shared
|
|
- uid: DesktopMagicPluginAPI.Drawing.GraphicsExtentions.DrawStringFixedWidth(System.Drawing.Graphics,System.String,System.Drawing.Font,System.Drawing.Brush,System.Drawing.PointF,System.Single)
|
|
commentId: M:DesktopMagicPluginAPI.Drawing.GraphicsExtentions.DrawStringFixedWidth(System.Drawing.Graphics,System.String,System.Drawing.Font,System.Drawing.Brush,System.Drawing.PointF,System.Single)
|
|
id: DrawStringFixedWidth(System.Drawing.Graphics,System.String,System.Drawing.Font,System.Drawing.Brush,System.Drawing.PointF,System.Single)
|
|
isExtensionMethod: true
|
|
parent: DesktopMagicPluginAPI.Drawing.GraphicsExtentions
|
|
langs:
|
|
- csharp
|
|
- vb
|
|
name: DrawStringFixedWidth(Graphics, String, Font, Brush, PointF, Single)
|
|
nameWithType: GraphicsExtentions.DrawStringFixedWidth(Graphics, String, Font, Brush, PointF, Single)
|
|
fullName: DesktopMagicPluginAPI.Drawing.GraphicsExtentions.DrawStringFixedWidth(System.Drawing.Graphics, System.String, System.Drawing.Font, System.Drawing.Brush, System.Drawing.PointF, System.Single)
|
|
type: Method
|
|
source:
|
|
remote:
|
|
path: src/DesktopMagicPluginAPI/Drawing/GraphicsExtentions.cs
|
|
branch: develop
|
|
repo: https://github.com/Stone-Red-Code/DesktopMagic.git
|
|
id: DrawStringFixedWidth
|
|
path: Drawing/GraphicsExtentions.cs
|
|
startLine: 83
|
|
assemblies:
|
|
- DesktopMagicPluginAPI
|
|
namespace: DesktopMagicPluginAPI.Drawing
|
|
summary: "\n<inheritdoc cref=\"M:System.Drawing.Graphics.DrawString(System.String,System.Drawing.Font,System.Drawing.Brush,System.Drawing.PointF)\"></inheritdoc>\n"
|
|
example: []
|
|
syntax:
|
|
content: public static void DrawStringFixedWidth(this Graphics graphics, string s, Font font, Brush brush, PointF point, float width)
|
|
parameters:
|
|
- id: graphics
|
|
type: System.Drawing.Graphics
|
|
description: Graphics object.
|
|
- id: s
|
|
type: System.String
|
|
description: String to draw.
|
|
- id: font
|
|
type: System.Drawing.Font
|
|
description: <xref href="System.Drawing.Font" data-throw-if-not-resolved="false"></xref> that defines the text format of the string.
|
|
- id: brush
|
|
type: System.Drawing.Brush
|
|
description: <xref href="System.Drawing.Brush" data-throw-if-not-resolved="false"></xref> that determines the color and texture of the drawn text.
|
|
- id: point
|
|
type: System.Drawing.PointF
|
|
description: <xref href="System.Drawing.PointF" data-throw-if-not-resolved="false"></xref> structure that specifies the upper-left corner of the drawn text.
|
|
- id: width
|
|
type: System.Single
|
|
description: The specified width.
|
|
content.vb: >-
|
|
<ExtensionAttribute>
|
|
|
|
Public Shared Sub DrawStringFixedWidth(graphics As Graphics, s As String, font As Font, brush As Brush, point As PointF, width As Single)
|
|
overload: DesktopMagicPluginAPI.Drawing.GraphicsExtentions.DrawStringFixedWidth*
|
|
modifiers.csharp:
|
|
- public
|
|
- static
|
|
modifiers.vb:
|
|
- Public
|
|
- Shared
|
|
- uid: DesktopMagicPluginAPI.Drawing.GraphicsExtentions.DrawStringNoLeftPadding(System.Drawing.Graphics,System.String,System.Drawing.Font,System.Drawing.Brush,System.Single,System.Single)
|
|
commentId: M:DesktopMagicPluginAPI.Drawing.GraphicsExtentions.DrawStringNoLeftPadding(System.Drawing.Graphics,System.String,System.Drawing.Font,System.Drawing.Brush,System.Single,System.Single)
|
|
id: DrawStringNoLeftPadding(System.Drawing.Graphics,System.String,System.Drawing.Font,System.Drawing.Brush,System.Single,System.Single)
|
|
isExtensionMethod: true
|
|
parent: DesktopMagicPluginAPI.Drawing.GraphicsExtentions
|
|
langs:
|
|
- csharp
|
|
- vb
|
|
name: DrawStringNoLeftPadding(Graphics, String, Font, Brush, Single, Single)
|
|
nameWithType: GraphicsExtentions.DrawStringNoLeftPadding(Graphics, String, Font, Brush, Single, Single)
|
|
fullName: DesktopMagicPluginAPI.Drawing.GraphicsExtentions.DrawStringNoLeftPadding(System.Drawing.Graphics, System.String, System.Drawing.Font, System.Drawing.Brush, System.Single, System.Single)
|
|
type: Method
|
|
source:
|
|
remote:
|
|
path: src/DesktopMagicPluginAPI/Drawing/GraphicsExtentions.cs
|
|
branch: develop
|
|
repo: https://github.com/Stone-Red-Code/DesktopMagic.git
|
|
id: DrawStringNoLeftPadding
|
|
path: Drawing/GraphicsExtentions.cs
|
|
startLine: 102
|
|
assemblies:
|
|
- DesktopMagicPluginAPI
|
|
namespace: DesktopMagicPluginAPI.Drawing
|
|
summary: "\n<inheritdoc cref=\"M:System.Drawing.Graphics.DrawString(System.String,System.Drawing.Font,System.Drawing.Brush,System.Single,System.Single)\"></inheritdoc>\n"
|
|
example: []
|
|
syntax:
|
|
content: public static void DrawStringNoLeftPadding(this Graphics graphics, string s, Font font, Brush brush, float x, float y)
|
|
parameters:
|
|
- id: graphics
|
|
type: System.Drawing.Graphics
|
|
description: Graphics object.
|
|
- id: s
|
|
type: System.String
|
|
description: String to draw.
|
|
- id: font
|
|
type: System.Drawing.Font
|
|
description: <xref href="System.Drawing.Font" data-throw-if-not-resolved="false"></xref> that defines the text format of the string.
|
|
- id: brush
|
|
type: System.Drawing.Brush
|
|
description: <xref href="System.Drawing.Brush" data-throw-if-not-resolved="false"></xref> that determines the color and texture of the drawn text.
|
|
- id: x
|
|
type: System.Single
|
|
description: The x-coordinate of the upper-left corner of the drawn text.
|
|
- id: y
|
|
type: System.Single
|
|
description: The y-coordinate of the upper-left corner of the drawn text.
|
|
content.vb: >-
|
|
<ExtensionAttribute>
|
|
|
|
Public Shared Sub DrawStringNoLeftPadding(graphics As Graphics, s As String, font As Font, brush As Brush, x As Single, y As Single)
|
|
overload: DesktopMagicPluginAPI.Drawing.GraphicsExtentions.DrawStringNoLeftPadding*
|
|
modifiers.csharp:
|
|
- public
|
|
- static
|
|
modifiers.vb:
|
|
- Public
|
|
- Shared
|
|
- uid: DesktopMagicPluginAPI.Drawing.GraphicsExtentions.DrawStringNoLeftPadding(System.Drawing.Graphics,System.String,System.Drawing.Font,System.Drawing.Brush,System.Drawing.PointF)
|
|
commentId: M:DesktopMagicPluginAPI.Drawing.GraphicsExtentions.DrawStringNoLeftPadding(System.Drawing.Graphics,System.String,System.Drawing.Font,System.Drawing.Brush,System.Drawing.PointF)
|
|
id: DrawStringNoLeftPadding(System.Drawing.Graphics,System.String,System.Drawing.Font,System.Drawing.Brush,System.Drawing.PointF)
|
|
isExtensionMethod: true
|
|
parent: DesktopMagicPluginAPI.Drawing.GraphicsExtentions
|
|
langs:
|
|
- csharp
|
|
- vb
|
|
name: DrawStringNoLeftPadding(Graphics, String, Font, Brush, PointF)
|
|
nameWithType: GraphicsExtentions.DrawStringNoLeftPadding(Graphics, String, Font, Brush, PointF)
|
|
fullName: DesktopMagicPluginAPI.Drawing.GraphicsExtentions.DrawStringNoLeftPadding(System.Drawing.Graphics, System.String, System.Drawing.Font, System.Drawing.Brush, System.Drawing.PointF)
|
|
type: Method
|
|
source:
|
|
remote:
|
|
path: src/DesktopMagicPluginAPI/Drawing/GraphicsExtentions.cs
|
|
branch: develop
|
|
repo: https://github.com/Stone-Red-Code/DesktopMagic.git
|
|
id: DrawStringNoLeftPadding
|
|
path: Drawing/GraphicsExtentions.cs
|
|
startLine: 123
|
|
assemblies:
|
|
- DesktopMagicPluginAPI
|
|
namespace: DesktopMagicPluginAPI.Drawing
|
|
summary: "\n<inheritdoc cref=\"M:System.Drawing.Graphics.DrawString(System.String,System.Drawing.Font,System.Drawing.Brush,System.Drawing.PointF)\"></inheritdoc>\n"
|
|
example: []
|
|
syntax:
|
|
content: public static void DrawStringNoLeftPadding(this Graphics graphics, string s, Font font, Brush brush, PointF point)
|
|
parameters:
|
|
- id: graphics
|
|
type: System.Drawing.Graphics
|
|
description: Graphics object.
|
|
- id: s
|
|
type: System.String
|
|
description: String to draw.
|
|
- id: font
|
|
type: System.Drawing.Font
|
|
description: <xref href="System.Drawing.Font" data-throw-if-not-resolved="false"></xref> that defines the text format of the string.
|
|
- id: brush
|
|
type: System.Drawing.Brush
|
|
description: <xref href="System.Drawing.Brush" data-throw-if-not-resolved="false"></xref> that determines the color and texture of the drawn text.
|
|
- id: point
|
|
type: System.Drawing.PointF
|
|
description: <xref href="System.Drawing.PointF" data-throw-if-not-resolved="false"></xref> structure that specifies the upper-left corner of the drawn text.
|
|
content.vb: >-
|
|
<ExtensionAttribute>
|
|
|
|
Public Shared Sub DrawStringNoLeftPadding(graphics As Graphics, s As String, font As Font, brush As Brush, point As PointF)
|
|
overload: DesktopMagicPluginAPI.Drawing.GraphicsExtentions.DrawStringNoLeftPadding*
|
|
modifiers.csharp:
|
|
- public
|
|
- static
|
|
modifiers.vb:
|
|
- Public
|
|
- Shared
|
|
- uid: DesktopMagicPluginAPI.Drawing.GraphicsExtentions.MeasureStringNoLeftPadding(System.Drawing.Graphics,System.String,System.Drawing.Font)
|
|
commentId: M:DesktopMagicPluginAPI.Drawing.GraphicsExtentions.MeasureStringNoLeftPadding(System.Drawing.Graphics,System.String,System.Drawing.Font)
|
|
id: MeasureStringNoLeftPadding(System.Drawing.Graphics,System.String,System.Drawing.Font)
|
|
isExtensionMethod: true
|
|
parent: DesktopMagicPluginAPI.Drawing.GraphicsExtentions
|
|
langs:
|
|
- csharp
|
|
- vb
|
|
name: MeasureStringNoLeftPadding(Graphics, String, Font)
|
|
nameWithType: GraphicsExtentions.MeasureStringNoLeftPadding(Graphics, String, Font)
|
|
fullName: DesktopMagicPluginAPI.Drawing.GraphicsExtentions.MeasureStringNoLeftPadding(System.Drawing.Graphics, System.String, System.Drawing.Font)
|
|
type: Method
|
|
source:
|
|
remote:
|
|
path: src/DesktopMagicPluginAPI/Drawing/GraphicsExtentions.cs
|
|
branch: develop
|
|
repo: https://github.com/Stone-Red-Code/DesktopMagic.git
|
|
id: MeasureStringNoLeftPadding
|
|
path: Drawing/GraphicsExtentions.cs
|
|
startLine: 143
|
|
assemblies:
|
|
- DesktopMagicPluginAPI
|
|
namespace: DesktopMagicPluginAPI.Drawing
|
|
summary: "\n<inheritdoc cref=\"M:System.Drawing.Graphics.MeasureString(System.String,System.Drawing.Font)\"></inheritdoc>\n"
|
|
example: []
|
|
syntax:
|
|
content: public static SizeF MeasureStringNoLeftPadding(this Graphics graphics, string text, Font font)
|
|
parameters:
|
|
- id: graphics
|
|
type: System.Drawing.Graphics
|
|
description: Graphics object.
|
|
- id: text
|
|
type: System.String
|
|
description: String to measure.
|
|
- id: font
|
|
type: System.Drawing.Font
|
|
description: <xref href="System.Drawing.Font" data-throw-if-not-resolved="false"></xref> that defines the text format of the string.
|
|
return:
|
|
type: System.Drawing.SizeF
|
|
description: ''
|
|
content.vb: >-
|
|
<ExtensionAttribute>
|
|
|
|
Public Shared Function MeasureStringNoLeftPadding(graphics As Graphics, text As String, font As Font) As SizeF
|
|
overload: DesktopMagicPluginAPI.Drawing.GraphicsExtentions.MeasureStringNoLeftPadding*
|
|
modifiers.csharp:
|
|
- public
|
|
- static
|
|
modifiers.vb:
|
|
- Public
|
|
- Shared
|
|
references:
|
|
- uid: System.Drawing.Graphics
|
|
commentId: T:System.Drawing.Graphics
|
|
parent: System.Drawing
|
|
isExternal: true
|
|
name: Graphics
|
|
nameWithType: Graphics
|
|
fullName: System.Drawing.Graphics
|
|
- uid: DesktopMagicPluginAPI.Drawing
|
|
commentId: N:DesktopMagicPluginAPI.Drawing
|
|
name: DesktopMagicPluginAPI.Drawing
|
|
nameWithType: DesktopMagicPluginAPI.Drawing
|
|
fullName: DesktopMagicPluginAPI.Drawing
|
|
- 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.Drawing
|
|
commentId: N:System.Drawing
|
|
isExternal: true
|
|
name: System.Drawing
|
|
nameWithType: System.Drawing
|
|
fullName: System.Drawing
|
|
- uid: System
|
|
commentId: N:System
|
|
isExternal: true
|
|
name: System
|
|
nameWithType: System
|
|
fullName: System
|
|
- uid: System.Drawing.Font
|
|
commentId: T:System.Drawing.Font
|
|
parent: System.Drawing
|
|
isExternal: true
|
|
name: Font
|
|
nameWithType: Font
|
|
fullName: System.Drawing.Font
|
|
- uid: System.Drawing.Brush
|
|
commentId: T:System.Drawing.Brush
|
|
parent: System.Drawing
|
|
isExternal: true
|
|
name: Brush
|
|
nameWithType: Brush
|
|
fullName: System.Drawing.Brush
|
|
- uid: DesktopMagicPluginAPI.Drawing.GraphicsExtentions.DrawStringMonospace*
|
|
commentId: Overload:DesktopMagicPluginAPI.Drawing.GraphicsExtentions.DrawStringMonospace
|
|
name: DrawStringMonospace
|
|
nameWithType: GraphicsExtentions.DrawStringMonospace
|
|
fullName: DesktopMagicPluginAPI.Drawing.GraphicsExtentions.DrawStringMonospace
|
|
- uid: System.String
|
|
commentId: T:System.String
|
|
parent: System
|
|
isExternal: true
|
|
name: String
|
|
nameWithType: String
|
|
fullName: System.String
|
|
- uid: System.Single
|
|
commentId: T:System.Single
|
|
parent: System
|
|
isExternal: true
|
|
name: Single
|
|
nameWithType: Single
|
|
fullName: System.Single
|
|
- uid: System.Drawing.PointF
|
|
commentId: T:System.Drawing.PointF
|
|
parent: System.Drawing
|
|
isExternal: true
|
|
name: PointF
|
|
nameWithType: PointF
|
|
fullName: System.Drawing.PointF
|
|
- uid: DesktopMagicPluginAPI.Drawing.GraphicsExtentions.DrawStringFixedWidth*
|
|
commentId: Overload:DesktopMagicPluginAPI.Drawing.GraphicsExtentions.DrawStringFixedWidth
|
|
name: DrawStringFixedWidth
|
|
nameWithType: GraphicsExtentions.DrawStringFixedWidth
|
|
fullName: DesktopMagicPluginAPI.Drawing.GraphicsExtentions.DrawStringFixedWidth
|
|
- uid: DesktopMagicPluginAPI.Drawing.GraphicsExtentions.DrawStringNoLeftPadding*
|
|
commentId: Overload:DesktopMagicPluginAPI.Drawing.GraphicsExtentions.DrawStringNoLeftPadding
|
|
name: DrawStringNoLeftPadding
|
|
nameWithType: GraphicsExtentions.DrawStringNoLeftPadding
|
|
fullName: DesktopMagicPluginAPI.Drawing.GraphicsExtentions.DrawStringNoLeftPadding
|
|
- uid: DesktopMagicPluginAPI.Drawing.GraphicsExtentions.MeasureStringNoLeftPadding*
|
|
commentId: Overload:DesktopMagicPluginAPI.Drawing.GraphicsExtentions.MeasureStringNoLeftPadding
|
|
name: MeasureStringNoLeftPadding
|
|
nameWithType: GraphicsExtentions.MeasureStringNoLeftPadding
|
|
fullName: DesktopMagicPluginAPI.Drawing.GraphicsExtentions.MeasureStringNoLeftPadding
|
|
- uid: System.Drawing.SizeF
|
|
commentId: T:System.Drawing.SizeF
|
|
parent: System.Drawing
|
|
isExternal: true
|
|
name: SizeF
|
|
nameWithType: SizeF
|
|
fullName: System.Drawing.SizeF
|