SelectionTool
public class SelectionTool : DrawingTool
-
Declaration
Swift
public let name: String
-
Declaration
Swift
public var isProgressive: Bool { get }
-
You may set yourself as the delegate to be notified when special selection events happen that you might want to react to. The core framework does not use this delegate.
Declaration
Swift
public weak var delegate: SelectionToolDelegate?
-
Declaration
Swift
public init(delegate: SelectionToolDelegate? = nil)
-
Declaration
Swift
public func deactivate(context: ToolOperationContext)
-
Declaration
Swift
public func apply(context: ToolOperationContext, userSettings: UserSettings)
-
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)