Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7938511
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T22:49:57+00:00 2026-06-03T22:49:57+00:00

I have created Raphael content here .. http://jsfiddle.net/ryWH3/76/ Now I need to move the

  • 0

I have created Raphael content here .. http://jsfiddle.net/ryWH3/76/

Now I need to move the whole content of Raphael Canvas from one
co-ordinate to another co-ordinate.

For Example:

My Raphael Canvas is at — x_coordinate:100,y_coordinate:100

Now I want to move it to — x: 200, y :200

From the old co-ordinates I want to move that whole content to — x:150, y:150

again to some other co-ordinates from the last co-ordinates

Please suggest me in moving this content

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T22:49:59+00:00Added an answer on June 3, 2026 at 10:49 pm

    Ok I don’t think you can actually more the paper itself, which is what is returned by Raphael to your r variable. You can iterate over the elements and do whatever you like to them:

    r.forEach(function (el) {
       el.translate(200,200);
    });
    

    I updated your fiddle to demonstrate it moving:

    updated fiddle

    EDIT

    I have also added the following to demonstrate animating your various sets:

    Text.animate({transform: "t100,100"}, 1000);
    smallCircles.animate({transform: "t100,100"}, 1000);
    bigCircles.animate({transform: "t100,100"}, 1000);
    

    updated fiddle with above animation

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Based on Raphael demo: http://raphaeljs.com/australia.html I have created objects that changes their colour. But
I have created 3 classes as following Ext.mine.TextParent - Inherting from Textfield Ext.mine.child.TextChildA -
I'm trying to use a raphael.js example located here: http://raphaeljs.com/pie.html but I want to
I've got a bunch of Raphael element objects on a canvas and have associated
I have written a graphing widget with Raphael JS. Data is taken from a
I'm just learning now the Raphael.js. I have ONE questions: I have an image
I have created a shape using the raphael JS library. I have an input
I have a pie chart created with raphael. I have a form checkbox that
I have this two var abjects I created with raphael.js, and I am trying
I have created a QWidget with a bunch of QToolButtons in it and I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.