init(_:color:)
Creates a new ink, specifying its type and color.
Declaration
init(_ inkType: PKInk.InkType, color: NSColor = NSColor.black)Parameters
- inkType:
The type of ink represented by one of the available Inktype Swift.enum enumerations.
- color:
The color of the ink, defaults to black.