Animar un punto de una curva Bezier [duplicar]
Esta pregunta ya tiene una respuesta aquí:
Cómo animar un UIBezierPath 1 respuesta¿Es posible animar un punto de una curva de bezier? Estoy tratando de hacer una transición suave de una línea a una flecha.
Así es como se ve la línea en el código
//// Color Declarations
UIColor* white = [UIColor colorWithRed: 1 green: 1 blue: 1 alpha: 0.374];
//// Group
{
//// Bezier Drawing
UIBezierPath* bezierPath = [UIBezierPath bezierPath];
[bezierPath moveToPoint: CGPointMake(30.5, 43.5)];
[bezierPath addLineToPoint: CGPointMake(30.5, 29.59)];
[bezierPath addLineToPoint: CGPointMake(30.5, 15.5)];
bezierPath.lineCapStyle = kCGLineCapRound;
bezierPath.lineJoinStyle = kCGLineJoinBevel;
[white setStroke];
bezierPath.lineWidth = 5.5;
[bezierPath stroke];
}
... sin embargo, no sé cómo elegir un punto y animar solo eso. ¿Es esto posible?