콘텐츠로 이동

StrokeStyle structure

이 콘텐츠는 아직 번역되지 않았습니다.

Describes stroke attributes: line cap, line join, miter limit, and optional dash pattern.

public struct StrokeStyle : IEquatable<StrokeStyle>
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 !=