FUIInlineSignatureFormView
@MainActor
public class FUIInlineSignatureFormView : FUIBaseDrawingView, FUISignatureDrawingPadComponent, FUITitleComponent, FUIMandatoryFieldComponent, FUIStartActionComponent, FUIRestartActionComponent, FUICancelActionComponent, FUIClearActionComponent, FUISaveActionComponent, FUIWatermarkTextComponent
The content view of a FUIInlineSignatureFormCell.
Theming
Supported FUIInlineSignatureFormView class path:
fdlFUIInlineSignatureFormView
Supported FUIInlineSignatureFormView properties:
stroke-width: (Number)
stroke-color: (Color)
drawing-area-background-color: (Color)
xmark-color: (Color)
signature-line-color: (Color)
Supported Text class path:
fdlFUIInlineSignatureFormView_title
fdlFUIInlineSignatureFormView_startActionTitle
fdlFUIInlineSignatureFormView_restartActionTitle
fdlFUIInlineSignatureFormView_cancelActionTitle
fdlFUIInlineSignatureFormView_clearActionTitle
fdlFUIInlineSignatureFormView_saveActionTitle
fdlFUIInlineSignatureFormView_watermarkText
Supported Text properties:
font-color: Color;
font-style: UIFontTextStyle;
-
The width of the signature stroke.
The default width is 3.0.
Declaration
Swift
@MainActor public var strokeWidth: CGFloat { get set } -
The color of the signature stroke.
The default color is Fiori color style
primaryLabel.Declaration
Swift
@MainActor public var strokeColor: UIColor { get set } -
The background color of the signature drawing area.
The default color is Fiori color style
primaryBackground.Declaration
Swift
@MainActor public var drawingAreaBackgroundColor: UIColor { get set } -
The color of the “X” mark.
Declaration
Swift
@MainActor public var xMarkColor: UIColor? -
The color of the signature line.
Declaration
Swift
@MainActor public var signatureLineColor: UIColor? -
The title of the
FUIInlineSignatureFormView.The default is localized “Signature”. You can also use this property to customize the font and color.
Declaration
Swift
@MainActor public var title: FUIText { get set } -
The title of the start signing button.
The default text is localized “Tap to Sign”. You can also use this property to customize the font and color.
Declaration
Swift
@MainActor public var startActionTitle: FUIText { get set } -
The title of the restart signing button.
The default text is localized “Re-enter Signature”. You can also use this property to customize the font and color.
Declaration
Swift
@MainActor public var restartActionTitle: FUIText { get set } -
The title of the cancel signing button.
The default text is localized “Cancel”. You can also use this property to customize the font and color.
Declaration
Swift
@MainActor public var cancelActionTitle: FUIText { get set } -
The title of the clear signing button.
The default text is localized “Cancel”. You can also use this property to customize the font and color.
Declaration
Swift
@MainActor public var clearActionTitle: FUIText { get set } -
The title of the save signature button.
The default text is localized “Save”. You can also use this property to customize the font and color.
Declaration
Swift
@MainActor public var saveActionTitle: FUIText { get set } -
This property sets whether the X mark is to be hidden or not.
The default value is
false, which means the X mark will not be hidden.Declaration
Swift
@MainActor open var hidesXMark: Bool { get set } -
This property sets whether the signature line is to be hidden or not.
The default value is
false, which means the signature line will not be hidden.Declaration
Swift
@MainActor open var hidesSignatureLine: Bool { get set } -
This property indicates if a timestamp should be added to the signature image or not.
The default is
false, no timestamp is added to the image.Declaration
Swift
@MainActor open var addsTimestampInImage: Bool { get set } -
Provide this to format the timestamp.
If this is
nil, the default format string is “MM/dd/YYYY hh:mma zzz”.Declaration
Swift
@MainActor open var timestampFormatter: DateFormatter? { get set } -
The watermark text to be added to the signature image.
Declaration
Swift
@MainActor open var watermarkText: FUIText { get set } -
The text alignment for the watermark text.
The default is
.natural.Declaration
Swift
@MainActor open var watermarkTextAlignment: NSTextAlignment { 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 { get set } -
Implementation of the change handler. This is invoked on changes to the
valueproperty.Declaration
Swift
@MainActor public var onChangeHandler: ((UIImage?) -> Void)? -
Indicates whether the cell is a mandatory field.
The default value is
false.Declaration
Swift
@MainActor open var isRequired: Bool { get set } -
Indicates that the cell is a mandatory field.
The default value is
*.Declaration
Swift
@MainActor public var mandatoryIndicator: FUIText { get set } -
The existing user signature image.
Default is
nil.Declaration
Swift
@MainActor public var signatureImage: UIImage? { get set } -
Declaration
Swift
@MainActor required public init() -
Declaration
Swift
@MainActor public required init?(coder aDecoder: NSCoder) -
Declaration
Swift
@MainActor public override func calculateLayout(_ targetSize: CGSize) -
Undocumented
Declaration
Swift
@MainActor public override func systemLayoutSizeFitting(_ targetSize: CGSize, withHorizontalFittingPriority horizontalFittingPriority: UILayoutPriority, verticalFittingPriority: UILayoutPriority) -> CGSize