BrushToolController

@objc(PESDKBrushToolController) open class BrushToolController: StackLayoutToolController

A BrushToolController is reponsible for displaying the UI to draw a painting on top of an image.

  • This method starts a path. It is used during the deserialization process to recreate the brushes.

    Declaration

    Swift

    open func beginPath(location: CGPoint)

    Parameters

    location

    The starting location.

  • This method continues a path. It is used during the deserialization process to recreate the brushes.

    Declaration

    Swift

    open func continuePath(location: CGPoint)

    Parameters

    location

    The starting location.

  • This method ends a path. It is used during the deserialization process to recreate the brushes.

    Declaration

    Swift

    open func endPath(location: CGPoint)

    Parameters

    location

    The starting location.