yFiles FLEX 1.9 API Documentation
All Packages
|
All Classes
|
Index
|
Frames
No Frames
IPortGridConstraintProvider
Package
com.yworks.canvas.input
Interface
public interface IPortGridConstraintProvider extends
IGridConstraintProvider
Implementors
SimpleGridConstraintProvider
An
IGridConstraintProvider
that is meant to be used for
IPort
s.
Public Properties
Hide Inherited Public Properties
Show Inherited Public Properties
Property
Defined By
gridInfo
:
GridInfo
[read-only] Gets the grid info containing the canonic grid origin as well as the grid's horizontal and vertical spacing.
IGridConstraintProvider
Public Methods
Hide Inherited Public Methods
Show Inherited Public Methods
Method
Defined By
snapToGrid
(context:
IInputModeContext
, item:Object, point:
IPoint
):
IPoint
Performs the actual snapping to grid coordinates.
IGridConstraintProvider
Wed Oct 7 2015, 04:52 PM +02:00