PenTool
public class PenTool : DrawingTool
-
Declaration
Swift
public typealias ShapeType = PenShape
-
Declaration
Swift
public var name: String { get }
-
Declaration
Swift
public var shapeInProgress: PenShape?
-
Declaration
Swift
public var isProgressive: Bool { get }
-
Declaration
Swift
public var velocityBasedWidth: Bool
-
Declaration
Swift
public init()
-
Declaration
Swift
public func handleTap(context: ToolOperationContext, point: CGPoint)
-
Declaration
Swift
public func handleDragStart(context: ToolOperationContext, point: CGPoint)
-
Declaration
Swift
public func handleDragContinue(context: ToolOperationContext, point: CGPoint, velocity: CGPoint)
-
Declaration
Swift
public func handleDragEnd(context: ToolOperationContext, point: CGPoint)
-
Declaration
Swift
public func handleDragCancel(context: ToolOperationContext, point: CGPoint)
-
Declaration
Swift
public func renderShapeInProgress(transientContext: CGContext)