Skip to main content
Participant
July 8, 2016
Question

Jsfl edit bezier handle

  • July 8, 2016
  • 1 reply
  • 1327 views

Hi All.

I'm tring to edit via jsfl the bezier handles, NOT the vertex itself, just the 2 classic handles that every curved bezier has.

In the jsfl documentation the only command about bezier is "moveSelectedBezierPointsBy"

but this just move the vertex and leave the handle in their position

Does anyone know if and how I can edit or "read" the value of the handles?

Many thanks

Luca

This topic has been closed for replies.

1 reply

Known Participant
May 9, 2023

I am also interested in knowing if it's possible to get Shape object vertices' Bezier Handles from the JSFL API. I've seen documentation on getting the Shapes' vertices and the Controls of Edges, but not the Bezier Handles' coordinates. Does anyone know if it's possible? Thank you!

Vladin M. Mitov
Inspiring
May 9, 2023

I think, this is the proper method to obtain the coordinates of all control points of the quadratic bezier curve in Flash/Animate:

var pt = shape.edges[0].getControl(0); // 0 to 2

 

 

- Vlad: UX and graphic design, Flash user since 1998Member of Flanimate Power Tools team - extensions for character animation
Known Participant
May 9, 2023

Hello,

Thank you very much for the reply. As mentioned in the original message, I am already aware of Controls of Edges. I need to get the Bezier Handles for my Command. Is there a way to derive them from these control points?