WhiteboardView
open class WhiteboardView : UIView
Represents whiteboard view
-
Declaration
Swift
open private(set) var mode: WhiteboardViewMode { get set }
-
Remote cursor size
Declaration
Swift
open private(set) var cursorSize: CGSize { get }
-
Size of arrow tool triangle for the smallest brush size
Declaration
Swift
open private(set) var arrowSize: CGSize { get }
-
Declaration
Swift
open override var frame: CGRect { get set }
-
Declaration
Swift
open var backgroundImage: UIImage? { get }
-
Called only in preview mode
Declaration
Swift
open var onTap: ((_ location: CGPoint) -> Void)?
-
Declaration
Swift
open var onDoubleTap: ((_ location: CGPoint) -> Void)?
-
Declaration
Swift
public required override init(frame: CGRect)
-
Declaration
Swift
required public init?(coder aDecoder: NSCoder)
-
Sets the mode that may allow to handle touches or not
Declaration
Swift
open func setMode(_ mode: WhiteboardViewMode)
-
Declaration
Swift
open func setCursorSize(_ cursorSize: CGSize)
-
Declaration
Swift
open func setArrowSize(_ arrowSize: CGSize)
-
Declaration
Swift
override open func touchesBegan(_ touches: Set<UITouch>, with event: UIEvent?)
-
Declaration
Swift
override open func touchesMoved(_ touches: Set<UITouch>, with event: UIEvent?)
-
Declaration
Swift
override open func touchesEnded(_ touches: Set<UITouch>, with event: UIEvent?)
-
Declaration
Swift
open override func touchesCancelled(_ touches: Set<UITouch>, with event: UIEvent?)