public Response edit(String noteId, int noteX, int noteY, int noteWidth, int noteHeight, String noteText) throws JinxException {
    JinxUtils.validateParams(noteId, noteText);
    Map<String, String> params = new TreeMap<>();
    params.put("method", "flickr.photos.notes.edit");
    params.put("note_id", noteId);
    params.put("note_x", Integer.toString(noteX));
    params.put("note_y", Integer.toString(noteY));
    params.put("note_w", Integer.toString(noteWidth));
    params.put("note_h", Integer.toString(noteHeight));
    params.put("note_text", noteText);
    return jinx.flickrPost(params, Response.class);
  }
public Response edit ( String noteId , int noteX , int noteY , int noteWidth , int noteHeight , String noteText ) throws JinxException { JinxUtils . validateParams ( noteId , noteText ) ; Map < String , String > params = new TreeMap < > ( ) ; params . put ( "method" , "flickr.photos.notes.edit" ) ; params . put ( "note_id" , noteId ) ; params . put ( "note_x" , Integer . toString ( noteX ) ) ; params . put ( "note_y" , Integer . toString ( noteY ) ) ; params . put ( "note_w" , Integer . toString ( noteWidth ) ) ; params . put ( "note_h" , Integer . toString ( noteHeight ) ) ; params . put ( "note_text" , noteText ) ; return jinx . flickrPost ( params , Response . class ) ; }
Edit a note on a photo. Coordinates and sizes are in pixels, based on the 500px image size shown on individual photo pages.
<br>
This method requires authentication with 'write' permission.

@param noteId     (Required) The id of the note to edit.
@param noteX      (Required) The left coordinate of the note.
@param noteY      (Required) The top coordinate of the note.
@param noteWidth  (Required) The width of the note.
@param noteHeight (Required) The height of the note.
@param noteText   (Required) The text of the note.
@return object with the status of the requested operation.
@throws JinxException if required parameters are missing, or if there are any errors.
@see <a href="https://www.flickr.com/services/api/flickr.photos.notes.edit.html">flickr.photos.notes.edit</a>