ShapeSelectable
public protocol ShapeSelectable : ShapeWithBoundingRect, ShapeWithTransform
Enhancement to Shape
protocol that enforces requirements necessary for a
shape to be used with the selection tool. This includes
ShapeWithBoundingRect
to render the selection rect around the shape, and
ShapeWithTransform
to allow the shape to be moved from its original
position
-
hitTest(point:
Extension method) Declaration
Swift
public func hitTest(point: CGPoint) -> Bool