CanvasStrokeTransformBehavior Enumeration |
Defines how the world transform, dots per inch (DPI), and stroke width affect the shape of the pen used to stroke a primitive.
Namespace:
Microsoft.Graphics.Canvas.Geometry
Assembly:
Microsoft.Graphics.Canvas (in Microsoft.Graphics.Canvas.dll) Version: 0.0.0.0
Syntax public enum CanvasStrokeTransformBehavior
Members
| Member name | Value | Description |
---|
| Normal | 0 | The stroke respects the currently set world transform, the DPI, and the stroke width. |
| Fixed | 1 | The stroke does not respect the world transform but it does respect the DPI and stroke width. |
| Hairline | 2 | The stroke is forced to 1 pixel wide (in device space) and does not respect the world transform, the DPI, or the stroke width. |
See Also