ATSketchKit icon indicating copy to clipboard operation
ATSketchKit copied to clipboard

I added a Highlighter option to your tool!

Open jforward5 opened this issue 4 years ago • 0 comments

Check it out! The Tools Enum: `// MARK: - Properties

public enum Tools: Int {
	case finger // Finger tool not implemented
	case pencil
    case highlighter
	case smartPencil
	case eraser
}`

The beginning of touches ended: override public func touchesEnded(_ touches: Set<UITouch>, with event: UIEvent?) { if self.currentTool == .finger { return } if self.currentTool == .highlighter { opacity = 0.5 } else { opacity = 1.0 } self.printTemplateSource(self.pointsBuffer)

jforward5 avatar Sep 09 '19 19:09 jforward5