PTSquiggly

@interface PTSquiggly : PTTextMarkup

A Squiggly annotation shows as a wavy line segment across the bottom of a word or a group of contiguous words.

  • Creates a Squiggly annotation and initializes it using given Cos/SDF object.

    Note

    The constructor does not copy any data, but is instead the logical equivalent of a type cast.

    Declaration

    Objective-C

    - (instancetype)initWithD:(PTObj *)d;

    Swift

    init!(d: PTObj!)

    Parameters

    d

    The Cos/SDF object to initialze the annotation with.

  • Undocumented

    Declaration

    Objective-C

    - (instancetype)initWithAnn: (PTAnnot*)ann;

    Swift

    init!(ann: PTAnnot!)
  • Creates a new Squiggly annotation in the specified document.

    Declaration

    Objective-C

    + (PTSquiggly *)Create:(PTSDFDoc *)doc pos:(PTPDFRect *)pos;

    Swift

    class func create(_ doc: PTSDFDoc!, pos: PTPDFRect!) -> PTSquiggly!

    Parameters

    doc

    A document to which the Popup annotation is added.

    pos

    A rectangle specifying the Popup annotation’s bounds in default user space units.

    Return Value

    A newly created blank Squiggly annotation.

  • Undocumented

    Declaration

    Objective-C

    + (PTSquiggly*)CreateAnnot: (PTSDFDoc*)doc pos:  (PTPDFRect*)pos;

    Swift

    class func createAnnot(_ doc: PTSDFDoc!, pos: PTPDFRect!) -> PTSquiggly!