The width of the segment.
Initializerinit(line
init(lineWidth:lineCap:lineJoin:miterLimit:dash:dashPhase:)
Creates a new stroke style from the given components.
Availability 有効性
- iOS 13.0+
- iPadOS 13.0+
- macOS 10.15+
- Mac Catalyst 13.0+
- tvOS 13.0+
- watchOS 6.0+
Technology
- Swift
UI
Declaration 宣言
Parameters パラメータ
lineWidth
lineCap
The endpoint style of a segment.
lineJoin
The join type of a segment.
miterLimit
The threshold used to determine whether to use a bevel instead of a miter at a join.
dash
The lengths of painted and unpainted segments used to make a dashed line.
dashPhase
How far into the dash pattern the line starts.