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

    Swift

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

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) 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 (assign, readwrite, nonatomic) BOOL showDefaultSignature;

    Swift

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

    Declaration

    Objective-C

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

    Swift

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

    Declaration

    Objective-C

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

    Swift

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

    Declaration

    Objective-C

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

    Swift

    weak var delegate: PTFloatingSigViewControllerDelegate? { get set }