PTFreeTextAppearanceViewModel

A view model representing the appearance of a free text annotation.

  • Initializes a PTFreeTextAppearanceViewModel instance.

    Declaration

    Objective-C

    - (nonnull instancetype)init;

    Swift

    init()

    Return Value

    An initialized PTFreeTextAppearanceViewModel instance.

  • The amount that the text is inset from the edges of the content.

    Note

    The default value of this property is {2, 2, 2, 2}.

    Declaration

    Objective-C

    @property (nonatomic) UIEdgeInsets textContentInset;

    Swift

    var textContentInset: UIEdgeInsets { get set }