Foxit PDF SDK
FSSnappedPoint Class Reference
Inheritance diagram for FSSnappedPoint:
FSBase

Instance Methods

(FSPointF *) - getPoint
 Get the point value.
More...
 
(FSSnappedPointSnappedPointType- getType
 Get the snapped point type.
More...
 
(id) - initWithOther:
 Constructor, with another snapped point object.
More...
 
(BOOL) - isEmpty
 Check whether current object is empty or not.
More...
 

Detailed Description

This class represents information of a snapped point, which is snapped with specified snapping flags by class FSSnapPointMgr .

See also
FSSnapPointMgr .

Method Documentation

◆ getPoint()

- (FSPointF *) getPoint

Get the point value.

Point value represents a point in a path.

Returns
Snapped point value.

◆ getType()

Get the snapped point type.

Returns
Snapped point type. Please refer to values starting from FSSnappedPointTypeNone and this would be one of these values.

◆ initWithOther:()

- (id) initWithOther: (FSSnappedPoint*)  other

Constructor, with another snapped point object.

Parameters
[in]otherAnother snapped point object.

◆ isEmpty()

- (BOOL) isEmpty

Check whether current object is empty or not.

When the current object is empty, that means current object is useless.

Returns
YES means current object is empty, while NO means not.