Class draw2d.SnapToGeometry

Object
   |
   +--draw2d.SnapToHelper
         |
         +--draw2d.SnapToGeometry

class draw2d.SnapToGeometry
extends draw2d.SnapToHelper

Defined in SnapToGeometry.js

Version: 0.9.14

Author: Andreas Herz


Field Summary
<static>  Object THRESHOLD
          
   
Fields inherited from class draw2d.SnapToHelper
workflow
 
Constructor Summary
draw2d.SnapToGeometry ( workflow)
           
 
Method Summary
 Object getCorrectionFor( entries, value, side)
          
 void populateRowsAndCols()
           Updates the cached row and column Entries using the provided parts.
 Object snapPoint( snapOrientation, inputPoint, resultPoint)
           Applies a snapping correction to the given result.
 Object snapRectangle( inputBounds, resultBounds)
           Applies a snap correction to a Rectangle based on a given Rectangle.

Field Detail

THRESHOLD

<static> Object THRESHOLD

Constructor Detail

draw2d.SnapToGeometry

draw2d.SnapToGeometry( workflow)

Method Detail

getCorrectionFor

Object getCorrectionFor( entries, value, side)

populateRowsAndCols

void populateRowsAndCols()

snapPoint

Object snapPoint( snapOrientation, inputPoint, resultPoint)

snapRectangle

Object snapRectangle( inputBounds, resultBounds)


Documentation generated by JSDoc on Thu Feb 7 23:45:47 2008