DrawsanaViewDelegate
public protocol DrawsanaViewDelegate : AnyObject
Set yourself as the DrawsanaView
‘s delegate to be notified when the active
tool changes.
-
Declaration
Swift
func drawsanaView(_ drawsanaView: DrawsanaView, didSwitchTo tool: DrawingTool)
-
Declaration
Swift
func drawsanaView(_ drawsanaView: DrawsanaView, didStartDragWith tool: DrawingTool)
-
Declaration
Swift
func drawsanaView(_ drawsanaView: DrawsanaView, didEndDragWith tool: DrawingTool)
-
Declaration
Swift
func drawsanaView(_ drawsanaView: DrawsanaView, didChangeStrokeColor strokeColor: UIColor?)
-
Declaration
Swift
func drawsanaView(_ drawsanaView: DrawsanaView, didChangeFillColor fillColor: UIColor?)
-
Declaration
Swift
func drawsanaView(_ drawsanaView: DrawsanaView, didChangeStrokeWidth strokeWidth: CGFloat)
-
Declaration
Swift
func drawsanaView(_ drawsanaView: DrawsanaView, didChangeFontName fontName: String)
-
Declaration
Swift
func drawsanaView(_ drawsanaView: DrawsanaView, didChangeFontSize fontSize: CGFloat)