PTPDFPoint

@interface PTPDFPoint : PT_TRN_point




- (instancetype)init;- (instancetype)initWithPx: (double)px py:  (double)py;
@end

Undocumented

  • Undocumented

    Declaration

    Objective-C

    - (instancetype)init;

    Swift

    init!()
  • Undocumented

    Declaration

    Objective-C

    - (instancetype)initWithPx: (double)px py:  (double)py;

    Swift

    init!(px: Double, py: Double)
  • x

    The x-coordinate of the point.

    Declaration

    Objective-C

    @property (nonatomic, assign, unsafe_unretained, readwrite, getter=PT_getX,
              setter=PT_setX:) double x;

    Swift

    var x: Double { get set }
  • y

    The y-coordinate of the point.

    Declaration

    Objective-C

    @property (nonatomic, assign, unsafe_unretained, readwrite, getter=PT_getY,
              setter=PT_setY:) double y;

    Swift

    var y: Double { get set }
  • Returns a copy of this point.

    Declaration

    Objective-C

    - (nonnull instancetype)copy;

    Swift

    func copy() -> Self

    Return Value

    a copy of this point