PTFloatingSigViewController


@interface PTFloatingSigViewController : UIViewController <PTOverridable>

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, assign, unsafe_unretained, readwrite)
        CGFloat strokeThickness;

    Swift

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

    Declaration

    Objective-C

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

    Swift

    var strokeColor: UIColor { get set }
  • Whether to allow saving a default signature. The default value of this property is YES.

    Declaration

    Objective-C

    @property (nonatomic, assign, unsafe_unretained, readwrite)
        BOOL showDefaultSignature;

    Swift

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

    Declaration

    Objective-C

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

    Swift

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

    Declaration

    Objective-C

    @property (nonatomic, assign, unsafe_unretained, readwrite)
        BOOL saveSignatureForReuse;

    Swift

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

    Declaration

    Objective-C

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

    Swift

    weak var delegate: PTFloatingSigViewControllerDelegate? { get set }