PTFloatingSigViewController


@interface PTFloatingSigViewController
    : UIViewController <PTOverridable, UIImagePickerControllerDelegate,
                        UINavigationControllerDelegate>

The PTFloatingSigViewController allows the user to add signatures anywhere on a document. A default signature can be saved for subsequent use.

  • The thickness of the drawn lines.

    Declaration

    Objective-C

    @property (nonatomic) CGFloat strokeThickness;

    Swift

    var strokeThickness: CGFloat { get set }
  • The color to use for drawing.

    Declaration

    Objective-C

    @property (nonatomic, strong) UIColor *_Nonnull strokeColor;

    Swift

    var strokeColor: UIColor { get set }
  • The canvas view where path appearances are drawn.

    Declaration

    Objective-C

    @property (nonatomic, strong) PTDigSigView *_Nonnull digSigView;

    Swift

    var digSigView: PTDigSigView { get set }
  • Whether to save the signature for later reuse.

    Declaration

    Objective-C

    @property (nonatomic) BOOL saveSignatureForReuse;

    Swift

    var saveSignatureForReuse: Bool { get set }
  • An object that conforms to the PTFloatingSigViewControllerDelegate protocol.

    Declaration

    Objective-C

    @property (nonatomic, weak) id<PTFloatingSigViewControllerDelegate> _Nullable delegate;

    Swift

    weak var delegate: PTFloatingSigViewControllerDelegate? { get set }