EU TENHO UM VETOR COM COORDENADAS X E OUTRO VETOR COM COORDENADAS Y. EU PRECISO APARTIR DESSAS COORDENAD X,Y , DESENHAR UMA CURVA. DEI UMA OLHADA NA API E VI O METODO:
public void setCurve(Point2D[] pts, int offset)
Sets the location of the end points and control points of this QuadCurve2D to the coordinates of the Point2D objects at the specified offset in the specified array.
Parâmetros:
pts - an array containing Point2D that define coordinate values
offset - the index into pts from which to start getting the coordinate values and assigning them to this QuadCurve2D
PORÉM, NÃO ENTENDI MUITO BEM COMO UTILIZÁ-LO. ALGUÉM PODE ME AJUDAR?
OBRIGADA!