FUISignatureCaptureView
@MainActor
public class FUISignatureCaptureView : UIView, FUIStrokeComponent
This is the view to be displayed in the FUISignatureCaptureController.
This FUISignatureCaptureView has a “X” image followed by a signature line for user to sign above the line.
This view is created from FUISignatureCaptureController. Developer should not instantiate this view directly.
Theming
Supported STROKEVIEW class paths:
fdlFUISignatureCaptureView {}
Supported STROKEVIEW properties:
background-color: (Color)
stroke-color: (Color)
stroke-width: (Number)
Supported IMAGE class paths:
fdlFUISignatureCaptureView_xImageView {}
Supported IMAGE properties:
tint-color: (Color)
Supported VIEW class paths:
fdlFUISignatureCaptureView_signatureLineView {}
Supported VIEW properties:
background-color: (Color)
Supported TEXT class paths:
fdlFUISignatureCaptureView_footnote {}
Supported TEXT properties:
font-color: (Color)
font-style: (UIFontTextStyle)
-
The image view in the signature capture view witch has an “X” image.
Declaration
Swift
@MainActor weak public internal(set) var xImageView: UIImageView! { get } -
This property indicates if
xImageViewis to be hidden or not.The default value is
false, means not to hidexImageView.Declaration
Swift
@MainActor open var hidesXImageView: Bool -
Set
usesCompactSignatureto true to remove signature whitespaceDeclaration
Swift
@MainActor open var usesCompactSignature: Bool? { get set } -
The view for the signature line.
Declaration
Swift
@MainActor weak public internal(set) var signatureLineView: UIView! { get } -
This property indicates if
signatureLineViewis to be hidden or not.The default value is
false, means not to hidesignatureLineView.Declaration
Swift
@MainActor open var hidesSignatureLineView: Bool -
The width of the signature stroke.
Declaration
Swift
@MainActor public var strokeWidth: CGFloat { get set } -
The color of the signature stroke.
Declaration
Swift
@MainActor public var strokeColor: UIColor { get set } -
The previously saved signature image.
Declaration
Swift
@MainActor open var signatureImage: UIImage? { get set } -
This property indicates if the tint color should be applied to display the previously saved signature image.
The default is true. The tint color to be applied is the
strokeColor,Declaration
Swift
@MainActor open var appliesTintColorToImage: Bool -
This property indicates if the whole screen can be used for signature area or not for iPhone devices in portrait mode.
When
isFullScreenModeisfalse, which is the default value, the signature area is limited to a smaller area for iPhone in portrait mode. The signature area is using the full view area of theFUISignatureCaptureViewfor iPhone in landscape mode and iPad devices.Declaration
Swift
@MainActor open var isFullScreenMode: Bool -
Clears the signature.
Declaration
Swift
@MainActor public func clear() -
Generate the signature image.
Declaration
Swift
@MainActor public func generateImage() -> UIImage?Return Value
The
UIImageof the signature. Or,nilif no signature, yet.