Move a shape through a line

Dear all,
i post my question. I have to pick a shape (already done), move it (already done) through / along a line. Example: i have a small rectangle and it has to follow the line in a "S" shape.
What do you suggest me? is there any class that can help me? do I have to implement the whole logic on myself?
Thanks in advance
Giorgio

Get a (Flattening)PathIterator for your s-shape using an initial flatness in the range of 0.1 - 0.01 and get the coords[0 and 1] for the SEG_MOVET0 and SEG_LINETO sections. Use these to position your moving shape/rectangle.

Similar Messages

  • When I move a shape or text in Photoshop, the dimensions/size changes. How do I fix this? ex) moved a 20px x 40px rectangle, and rectangle's dimensions changed to 20px x 40.16px.

    When I move a shape or text in Photoshop, the dimensions/size changes. How do I fix this?
    It's always a decimal point too.
    ex 1) moved a 20px x 40px rectangle, and rectangle's dimensions changed to 20px x 40.16px.
    ex 2) moved a 124pt text to the right (Shift + arrow right a few times) and text changed to 14.06pt.

    When I move a shape or text in Photoshop, the dimensions/size changes. How do I fix this?
    It's always a decimal point too.
    ex 1) moved a 20px x 40px rectangle, and rectangle's dimensions changed to 20px x 40.16px.
    ex 2) moved a 124pt text to the right (Shift + arrow right a few times) and text changed to 14.06pt.

  • How to install adobe flash player through command line with some script

    Hi Guys,
    Do you know how to install adobe flash player through command line with some script?
    Thanks,
    Galina

    Windows. I tried silent install  with "install_flash_player.exe /install" but it works only with one file that I downloaded from adobe.com - "install_flashplayer10_mssd_aih.exe". But it is possible to download this last file only one time, every next time it redirects me to download install_flash_player.exe file.

  • Compare two pdf files using adobe acrobat through command line

    Does anyone know how to compare two pdf files using adobe acrobat through command line. I want to do this via command line because we want to compare hundreds of file every day through some automated windows tasks.
    If command line option is not available in acrobat, then is it feasible to make use of acrobat javascript API to do this task?
    Any kind of help will be greatly.

    Command-line: Not possible.
    JavaScript: Possible, but very limited. Basically the only thing you can do is simulate clicking the Compare Documents button. The rest has to be done manually.
    However, it *might* be possible to automate this process a bit more using a plugin. Ask over at the Acrobat SDK forum for more information...

  • How to get the list of deployed projects in OSB through commond line

    How to get the list of deployed projects in OSB through commond line; as we are able to get in weblogic.

    You can go with standard JMX API using WLST
    http://www.oracle.com/technology/sample_code/products/osb/index.html
    http://download.oracle.com/docs/cd/E14571_01/apirefs.1111/e15033/index.html
    or you can try a little bit tricky way like
    ls $DOMAIN_HOME/osb/config/core/ | grep -v ^_:-)

  • How to move the origin in the line chart.

    Hello,
    I am unable to move the origin in the line chart, the general graph usually starts from next to the origin, but in the line chart for eg: I have jan,feb,march etc on x-axis, I m getting Jan at the origin place, I wanna shift it to the right  so that I get a graph in the middle.Can anybody please help me regarding this.
    suma.

    Erik:
    You can specify the '%' in the 'Postfix' field in the 'Display Settings' on the 'Chart Attributes' page.
    Varad

  • Merge/concatenate animation codec movie files in the command line/shell

    We know how to join 2 mp4/h264 movies together in the command line/shell via MP4Box.
    We have not been able to find a similar tool for joining to Quicktime Animation codec movie together via command line/shell.
    Anyone know how to do that of have suggestions?
    thanks,
    paul

    Hi,
    I'm also having trouble with this same issue. I've been trying to change the Quicktime Default Setting to 10-bit uncompressed (btw codec works fine out directly out of QT and other apps), or to use the command line to do quick renders of tiff frame sequences to QT 10-bit. I think its a problem with my syntax on the command line. As per the manual I set up a fileout in a script with 10-bit as the codec, opened the script in Textedit and followed the instructions on p393, and dropped it into the include/startup directory. Below is a copy of the Textedit view of the script output settings. Also, If I want to use these settings the command line what should I change? The quotation marks, commas etc?
    "QuickTime", "Shake 3 QT 1", "Apple FCP Uncompressed 10-bit 4:2:2",
    0, "100W@c6000WDcsuHpoe10pFnKA6W230PPMMRH#0LgfI5ALV1EaKGn3DG3214QaPb03SeOBPg00K1bY AESIIW0KAbabF7YWOQan8401v6QvQehFnRYIBt9be1B4AEjYA6ci8YmM#IKXCg5aRMZC2MXBM0Ani04w HAJLmBrQ97MtegeEEO9d5oBoxCgv7GNhEOvai8INwFwb2roIf91bvbr040HAK4IYCW0",
    0, 44100, 16);
    I get the same message returned in Terminal:
    error: - NRiCompressor - corrupted input data (length)
    The QuickTime codec specified in the global default could not be selected. The system default codec will be selected.
    So it renders to Animation. Something else I found was that the example on p393 in the manual is for 10-bit uncompressed - so I tried copying it right off the page, into Textedit, and into the include/startup dir - still no joy.
    Can anyone shed any light on the matter?
    D.
    G5 Quad 2.5   Mac OS X (10.4.8)  

  • Static coming through computer line out, PLEK500

    I have three of these working just fine, in this configuration:
    #1 tied to cable modem
    #2 tied to ethernet port of a macbook pro
    #3 tied to a Roku box
    #4 is meant to serve the Ethernet port on the Mac Pro tower in my home office.  Unfortunately, upon installing it I get a huge amount of audio static coming through the Line Out jack on the computer, or the speakers if not using the Line Out (which I connect to a stereo receiver).  The static correlates clearly to network load; if I run a test on speedtest.net, pushing a big amount of data up and down, the static is nearly continuous.  If I'm just working locally on the word processor it's intermittent.  So something is interacting between the Ethernet connection and the other electronics of the computer.
    What is going on here?  I can't use it like this.

    Hi zenpicker,
    I would suggest you try using another Ethernet cord for isolation. Make sure as well that the Powerline's firmware is upto date for better performance.
    Help, learn and share

  • Creation of Jobserver through command line

    Hi
    Is there any way in Data Integrator 11.7.3 for creating the job server through command line in linux instead of invoking ./svrcfg and giving options.
    Thanks
    Maran

    No, there is no command line option to create a job server.
    You have to use the Server config tool to create each job server.
    Thanks & Regards
    Tiji

  • Run App Engine through command line but have it show up in Process Monitor

    We are trying to run Application Engine through command line and have it show up in the Process Monitor.
    We have successfully ran the Application Engine through command line. We also can successfully run the Application Engine through PIA.
    Only when you run the AppEng through PIA it goes through the Process Scheduler and shows up in the Process Monitor.
    We would like to be able to do this through command line as well. Has anyone done this before?

    I'm not sure if it is (easily) doable.
    => Fire a process through the front end appl is nothing but insert few rows in process scheduler tables settings (PSPRCSRQST, PSPRCSQUE), then the process scheduler is taking information from there every x seconds and eventually run the command (on the process scheduler server) keeping an eye on the process result in the tables to post the result.
    => Fire psae through command line (or pssqr) bypass the process scheduler, you can run it from any client... so even without any clue about Process Scheduler server or even without Process Scheduler at all (cf. the very first AE running during an installation is VERSION without anything else than the client).
    So finally, your AE program has no clue where it should run outside the client you are fired the command from (i.e. on the batch server as it is running when you are fired the same AE through the front end application), nothing more about the process scheduler configuration file, and where the output files should be posted.
    Maybe not by running the AE from the command line, but by simulating the actions as it would be from the front end application, for instance by inserting in the tables whatever you want to run... but it sounds odd. Probably some developer might have done this before... but this should be reconsidered by Peopletools version/patch level (or through CI ?)
    Nicolas.
    added the last paragraph
    Edited by: N Gasparotto on May 21, 2010 2:46 PM

  • Undeploy an sda file through command-line

    Hi All,
          I want to undeploy an .sda file through command-line,what is the procedure to undeploy an sda file through command-line and send me the procedure for this
    Thanks & Regards,
    guru

    Hi
    Please find below the steps to undeploy thro command line :
    Shut down the sdm server
    1)SDM shutdown "sdmhome=D:\usr\sap\J2E\JCO1\SDM\program" "sdmguiport=50018" "sdmhostname=<hostname>" password="<password>" "shutdownmode=abort"
    2)sdm jstartup "mode=standalone" "sdmhome=c:\usr\sap\J2E\DVEBMGS00\SDM\program"
    3) sdm undeploy "sdmhome=D:\usr\sap\J2E\DVEBMGS00\SDM\program" "compname=c:\test.sda"
    4)sdm jstartup "mode=integrated" "sdmhome=c:\usr\sap\J2E\DVEBMGS00\SDM\program"
    5)start the sdm server again
    SDM server "sdmhome=D:\usr\sap\J2E\JCO1\SDM\program"
    Hope this helps. do not forget to reward points
    regards
    rajeshkr

  • Scheduling Report  through  Command Line

    Post Author: gunjesh
    CA Forum: Administration
    Hi All,
              I would like to know how to schedule a  Webi (infoview) report of Bussiness Objects XI Release2    through Command line , Not through CMS.
    Command line options
    1. To schedule a report from CMS but using a command line. What all parameters are needed in order to do this ?
    2. To stop/reschedule a report being refreshed/running at this moment. What all parameters are needed in order to do this ?

    Post Author: sgolby
    CA Forum: Administration
    Did you have any luck finding out how to do this ?   We would like to trigger reports from the command line on demand. (or via an API is fine too)
    Thanks,
    Scott

  • Help packaging an android apk through command line

    Hello everyone.  I've recently developed an app that is near the release deadline and I've ran into the problem of low resolutions icons.  All of the troubleshooting I've done has claimed I'll need to manually package the app through the command line to do this.  I have never done this before so I'm having some trouble. 
    I've downloaded all of the required files I believe and have reached the correct bin folder, I'm completely clueless as to what syntax I need to type in from this point though.  I've gotten as far as "adt -package" which then outputs that I'm missing additional information, but as I said, I haven't used command promt much and I have no idea how to format the rest of the information I need to put in or how to attach my current app.xml file to it.
    Any help would be appreciated.
    Edit: Nevermind everyone.  After a lot  more time spent researching I've managed to piece together how to do it and actually understand it as well.

    Hi,
    Here is the command to package android apk through command line;
    <adt-path> -package -target <target-option e.g. apk, apk-debug etc> -storetype pkcs12 -keystore <your certificate> -storepass <password> name.apk app.xml name.swf assets
    Please run adt -help on terminal or cmd if you need any help regarding targets or packaging command. adt is available at you sdk/bin/adt folder.
    Also, you can see the page http://help.adobe.com/en_US/air/build/WS901d38e593cd1bac1e63e3d128cdca935b-8000.html for more details.
    Hope this will help.
    Regards,
    Nimit

  • Email id through command line

    is there any way to create email id through command line??
    please help me

    If you want to use a command line email client, there is the (built-in to OS X) mail aka. mailx client. There is also the option of downloading and installing the mutt client.
    See http://en.wikipedia.org/wiki/Mailx
    See http://www.mutt.org

  • HT200109 Help! Cant buy movies on itunes through apple tv as it keeps telling me my credit card has expired.It has been updated through my pc.

    Help! Cant buy movies on itunes through apple tv.Keeps telling me my credit card has expired despite having updated info on my pc.?

    *know :/

Maybe you are looking for

  • How do I create a new mailbox? (Not account)

    I can't figure out how to create a new mailbox or folder. (It even shows them in the manual) I know to tap the folder icon on bottom. It takes the email you want to file back to the INBOX, TRASH page. Now what how do you create a folder? Thanks.

  • An unknown error occurred (-54).

    I recently started getting this message when I plug my iphone into my imac "The iTunes library file cannot be saved. An unknown error occurred (-54)."

  • How do you reset answers to security questions?

    How do you reset answers to security questions?

  • Enter vs. Shift Enter

    Simple question here (I think) that i'm hoping somebody can help me with. How do I know how hitting 'enter' vs hitting 'shift>enter' is going to react in InDesign?  Sometimes 'enter' gives me a new paragraph, and sometimes it bumps me right out of th

  • Can't add Windows Live Mail store folder, as per l...

    I used to be able to backup my Outlook Express store folder (on XP) to have an up to date copy of my email, but for some reason I can't do this with Windows Live Mail in Windows 7. C:\USERS\logon\LOCAL SETTINGS\APPDATA\MICROSOFT\WINDOWS LIVE MAIL (wh