init(_:color:width:)
Creates an ink tool object with the specified color and line width values.
Declaration
init(_ inkType: PKInkingTool.InkType, color: UIColor = UIColor.black, width: CGFloat? = nil)Parameters
Discussion
This initializer creates a new inking tool with the specified type, color, and width.