Provides an implementation of the SnapObjectToGrid method for this AnnRectangleEditDesigner object.
AnnRectangleEditDesigner.prototype.snapObjectToGrid = function(targetObject, clipToContainer)
snapObjectToGrid(targetObject: AnnObject, clipToContainer: boolean): void;
targetObject
An AnnObject to snap.
clipToContainer
A Boolean value to specify if we want to clip the point to container bounds after snap or no.