StrokeStyle structure
Describes stroke attributes: line cap, line join, miter limit, and optional dash pattern.
public struct StrokeStyle : IEquatable<StrokeStyle>Public Members
Section titled “Public Members”| name | description |
|---|---|
| static readonly Default | The default stroke style: flat caps, miter join, miter limit 10, solid. |
| DashArray { get; set; } | Gets the dash pattern as alternating (dash length, gap length) values in stroke-width units. null or empty means a solid stroke. |
| DashOffset { get; set; } | Gets the offset into the dash pattern at which drawing begins, in stroke-width units. |
| IsDashed { get; } | Returns true when this style produces a dashed stroke. |
| LineCap { get; set; } | Gets the cap style applied to both the start and end of each open sub-path. |
| LineJoin { get; set; } | Gets the join style applied at each vertex. |
| MiterLimit { get; set; } | Gets the miter limit. When the miter join angle is very sharp the miter can extend far; if the ratio of miter length to stroke width exceeds this value the join is clipped to a bevel. Meaningful only when LineJoin is Miter. Defaults to 10.0, matching the SVG default. |
| override Equals(…) | |
| Equals(…) | |
| override GetHashCode() | |
| operator == | |
| operator != |
See Also
Section titled “See Also”- namespace Aprillz.MewUI.Rendering