Permalink
Browse files

Added convertStartToLayer and convertEndToLayer

  • Loading branch information...
nvh committed Jan 31, 2018
1 parent 29e1659 commit e1711bd11e2f61c397c1d40a8767e852299f8960
Showing with 6 additions and 0 deletions.
  1. +6 −0 framer/SVGPath.coffee
View
@@ -108,6 +108,12 @@ class exports.SVGPath extends SVGBaseLayer
pointAtFraction: (fraction) ->
@_path.getPointAtLength(@length * fraction)
convertStartToLayer: (layer) ->
@convertPointToLayer(@start, layer)
convertEndToLayer: (layer) ->
@convertPointToLayer(@end, layer)
valueUpdater: (axis, target, offset) =>
switch axis
when "horizontal"

0 comments on commit e1711bd

Please sign in to comment.