Best way to transform an object into a circle?

Let's say I have a long rectangle I want to warp into a circle, what would be the best way to go about doing this?

Drag the rectangle into the Brushes palette.
In the resulting dialog, define an Art Brush.
Draw a circle.
Apply the Art Brush to the circle.
JET

Similar Messages

  • Best way to import all objects into work repository located on a new master respository

    Hi,
    We have two separate master repositories, one for all development work repositories (Development, ST, UAT, IAT), and one for Production.
    What would be the best approach to export and import all objects from the Dev Repository into the Prod Work Repository located on the Prod Master Repository.
    Internal Ids of all work repositories are different.
    We have tried putting everything into a solution and exporting that, but that did not work when we tried to import it.
    We successfully exported and imported a single scenario, however this is not very practical as we have over 500 scenarios.
    All suggestions welcome,
    Thanks,
    Nic

    Thanks,
    But we want to keep Dev Work Repositories separate to Prod Work Repositories on their respective Master Repositories.
    So our end result will have:
    1) All Development Work Repositories located in the Development Master Repository on the Development server.
    2) The Production Work Repository located on the Production Master Repository on the Production Server.
    3) The ability to update a Solution or similar in Development with all changes to any objects.
    4) The ability to import the Solution into the Prod Work Repo on the Prod Master Repo and execute via a load plan.
    Is this possible?

  • Best way to do a Object which holds a collection of another object type.

    I'm writing a caching object to store another object. The cache is only valid for a session, so I want a store the data in a nested table.
    I have try to simplify my example down to its core.
    How do I make this work and what is the best to index the index the items stored for fastest retrieval.
    CREATE OR REPLACE TYPE ty_item AS OBJECT (
    id_object VARCHAR2 (18),
    ORDER MEMBER FUNCTION compare (other ty_item)
    RETURN INTEGER
    CREATE OR REPLACE TYPE BODY ty_item
    AS
    ORDER MEMBER FUNCTION compare (other ty_item)
    RETURN INTEGER
    IS
    BEGIN
    IF SELF.id_object < other.id_object
    THEN
    RETURN -1;
    ELSIF SELF.id_object > other.id_object
    THEN
    RETURN 1;
    ELSE
    RETURN 0;
    END IF;
    END;
    END;
    CREATE OR REPLACE TYPE ty_item_store AS TABLE OF ty_item;
    CREATE OR REPLACE TYPE ty_item_holder AS OBJECT (
    CACHE ty_item_store,
    MEMBER FUNCTION get (p_id_object IN VARCHAR2)
    RETURN REF ty_item,
    MEMBER FUNCTION find (p_id_object IN VARCHAR2)
    RETURN REF ty_item,
    MEMBER FUNCTION ADD (p_id_object IN VARCHAR2)
    RETURN REF ty_item
    CREATE OR REPLACE TYPE BODY ty_item_holder
    AS
    MEMBER FUNCTION get (p_id_object IN VARCHAR2)
    RETURN REF ty_item
    IS
    rtn REF ty_item;
    BEGIN
    rtn := find (p_id_object);
    IF rtn IS NULL
    THEN
    rtn := ADD (p_id_object);
    END IF;
    RETURN rtn;
    END;
    MEMBER FUNCTION find (p_id_object IN VARCHAR2)
    RETURN REF ty_item
    IS
    rtn ty_item;
    BEGIN
    SELECT VALUE (ch)
    INTO rtn
    FROM CACHE ch
    WHERE ch.id_object = p_id_object;
    RETURN rtn;
    END;
    MEMBER FUNCTION ADD (p_id_object IN VARCHAR2)
    RETURN REF ty_item
    IS
    item ty_item;
    BEGIN
    item := ty_item (p_id_object);
    INSERT INTO CACHE
    VALUES (item);
    END;
    END;
    /

    Best way to do a Object which holds a collection of another object type. The best place for data in a database is.. no real surprise.. in tables. If that data is temporary of nature, global temporary tables cater for that.
    Storing/caching data using PL/SQL requires very expensive private process memory (PGA) from the server. This does not scale.
    I'm writing a caching object to store another object. Irrespective of how l33t your haxor skillz are, you will not be able to code as a sophisticated, performant and scalable PL/SQL data cache, as what already exists (as the database buffer cache) in Oracle.
    The cache is only valid for a session, so I want a store the data in a nested table.Not sure how you take one (session local data) to mean the other (oh, let's use a nested table).
    Session local data can be done using PL/SQL static variables. Can be done using name-value pairs residing in a context (Oracle namespace). Can be done using a global temporary table.
    The choice is dependent on the requirements that need to be addressed. However, the term +"caching+" has very specific connotations that say that a global temporary table is likely the best suited candidate.

  • What is the best way to turn line art into a 3D image in Illustrator? Thanks for your help.

    What is the best way to turn line art into a 3D image in Illustrator? Thanks for your help.

    What version of Illustrator? What do you mean by "Line Art"? What do you mean by "3d image"? Post images showing your starting artwork and an example of what you are trying to achieve.
    If you have Illustrator 12 or higher you can extrude or lathe a simple group or path using Effects > 3D > [Pick one]. You must start with vector data, not a placed raster image. You are very limited in what you can do, and you cannot model multiple objects within one 3D world. Each object you extrude/revolve/rotate is its own world, with its own perspective and camera. You can also make any art into a Symbol, then map that symbol onto any 3D surface you create. The results are, at best, acceptable, and often total garbage.

  • What is the best way to insert massive data into an existing excel file?

    dear gurus,
    i am wondering that what is the best way to insert massive data into an existing excel file, more performance perspective.
    the file is read from BDS , and we want to insert data into it .
    the way i can think of is
    1. OLE AUTOMATION
       i think performance will be a big problem
    2. Office integration
        i am not sure it's facing the same performance issue ?
    3 . XXL_SIMPLE_API/FULL_API
        I am not sure whether they can insert data into an existing excel file?
    could you please give me some advices?
    br.
    jun

    Hi,
    If you want to APPEND data( add data to an existing excel file) from SAP, then use GUI_DOWNLOAD fm with APPEND = 'X' paramter.
    Best regards,
    Prashant

  • Best way to make a object details page

    I have a dataTable, built with a sessionBean List. We have to make a link "show detail" in each row, and redirect to a new jsp showing selected row object details.
    Whats the best way to retrive the object selected?
    a commandLink with param (haschcode value) and search in list isn`t possible because is a sessionBean..
    I have some ideas but not with JSF....
    thanks

    1) Bind h:dataTable to an UIData property in main backing bean.
    2) Add a h:commandButton or h:commandLink to a column and bind it with an action method in main backing bean.
    3) In the main backing bean action method simply retrieve the row object byRowObject selectedRowObject = (RowObject) uiDataProperty.getRowData();and navigate to some display details page.
    4) In the display details page just access the data by #{mainManagedBean.selectedRowObject.someProperty} and so on.
    Detailed examples can be found here: [http://balusc.blogspot.com/2006/06/using-datatables.html].

  • I want to transform an object into a XML-String

    Hallo,
    in my BSP I want to transform an object into a xml string to set a server side cookie.
    Therefore my code is:
      DATA:
        lv_xml      TYPE string,
        lv_username TYPE string.
    model    ?= get_model( model_id = 'main' ).
      lv_username = sy-uname.
      Call TRANSFORMATION id SOURCE o = model  RESULT XML lv_xml.
      cl_bsp_server_side_cookie=>set_server_cookie(
            name                  = 'MODEL'
            application_name      = runtime->application_name
            application_namespace = runtime->application_namespace
            username              = lv_username
            session_id            = runtime->session_id
            data_value            = lv_xml
            data_name             = 'MODEL'
            expiry_time_rel       = 3600 ).
    But after the command "Call Transformation" the xml-string doesn't contain all the data of my object, only this:
    <?xml version="1.0" encoding="iso-8859-1"?>#<asx:abap xmlns:asx="http://www.sap.com/abapxml" version="1.0"><asx:values><O href="#o19"/></asx:values><asx:heap xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:abap="http://www.sap.com/abapxml/types/built-in" xmlns:cls="http://www.sap.com/abapxml/classes/global" xmlns:dic="http://www.sap.com/abapxml/types/dictionary"> <cls:ZCL_M_ESS_TRV_OVW id="o19"/
    ></asx:heap></asx:abap>
    What is wrong?
    Regards.
    Martin

    see thread nr.: Re: Call transformation with an object

  • Best way to Transform one XML to another XML using SSIS

    I am using Altova Mapforce tool to transform one XML into another XML, but now we are planning to use any other best way of using XSLT transformation. Could you guys shed me some light on different approaches and which one would be best based on time and
    cost constraint.
    In Altova Map force Tool, due to below reasons we wanted to avoid that,
    Resource cannot work parallely in single XSLT
    Maintanence is very difficult
    Licensed version of tool
    When the XML size grows, new resourse are feeling difficult to edit the XSLT etc.,
    Related to .net approaches would be best.
    Can we create XSLT by using SSIS to transfrom one xml into another xml format.
    In .net code we can do, but feel that it is time consuming due to large size of XML.
    Any other best way for handling XSLT transformation or any tool

    XSLT can be applied to an XML file fed as a source, but it does not resolve #1. I by the way do not understand this point, technically.
    For SSIS to go live in prod you need to deplete a SQL Server license (CPU + CALs).
    The time to transform in SSIS will be equal to doing in .net code as the whole SSIS is coded in .Net, too.
    Here, in this section of the forum we may not have the needed expertise in XSLT or XML transformations.
    In my IT life, XML transformations were done in Java if on a *NIX box. On Windows a C# .net app webservice did it. The most interesting implementation, and if you are a heavy users of XML is to use a dedicated database as Base X, it has an XLSLT transform
    moduleL http://docs.basex.org/wiki/XSLT_Module
    Arthur
    MyBlog
    Twitter

  • Best way to populate an object

    This is more of a coding convention question. I was wondering what is the best or industry standard way to populate an object.
    If there's a method that returns an object is it better to pass an empty object (just declared) into the method, have the method populate the object and then just use the object
    e.g. Object foo;
    populateObject(foo);
    foo.getProperty();
    or
    have the method return a newly populated object
    e.g. Object foo = populateObject();
    foo.getProperty();
    thanks

    It's better to pass in an object as an argument when performance is important. You can pass in the same object instead of creating new objects for each call to getProperty().
    It's better to return a newly populated object when the caller does not know what class of object will be returned. The getProperty() method could return a subclass of Object.
    As is often the case, the answer is: it depends.

  • Best way to include javascript-script into different struts-pages

    Hi,
    I'm running a struts-based webapplication using the tiles-templates for my layout. Now I have to use some javascript-code for a pop-up window and another javascript for tracing on multiple pages but in different combinations. As I do n't want to copy-paste it on every page, but put it on a single place for better maintenance I'm wondering what would be the best way to do this together with the struts-logic.
    I thought about the following options:
    1.) Using the "template:put" feature like this:
    <template:put name='js' content="/myJavascripts.jsp"> I don't think this would be a good option, as I always have to include the whole javascript and I cannot distinguish between my two different javascripts
    2.) Using the template:insert feature like this:
    <template:insert template="/myJavascripts.jsp"/>. This is a lot better, as I can split my two javascripts into two different files and can always decide, which one to include with the template:insert tag. But I'm not sure, if this is conforming with the struts-concept, as I do not use any template:put or template:set tags
    3.) Using simple jsp:include or <%@ include ... %> tags.
    This would be the easiest way to include my pages with <%@ include file='/myJavascripts.jsp' %>. Same advantages like template:insert but I don't need the additionally features of the template:insert-tag. But still the same question: is this the concept of struts? Or will I become any difficulties with this concept later??
    Any recommendations or further ideas are greatly appriciated.
    Thanx for your help
    Thomas

    Getting PDFs to download is fairly easy and the method is described here.....
    http://www.iwebformusicians.com/WebMusic/PDFs.html
    To get multi page docs to display in the browser requires the use of Google Docs viewer, ISSUU or some such thing....
    http://www.iwebformusicians.com/PromoPage/ISSUU.html
    Safari is the only browser I know of that will display PDFs in an iFrame without a plugin.

  • Best way to MouseDrag multiple objects around a scene.

    So I am having a little trouble trying to drag 3 Box's in a scene.
    Originally I had it set up where each was relocated to an x,y translated Z and set to a HWD. Then I figured I would, instead of the mouse click on the box itself, be in the root. From there I would look through all of the root.getChildren() then made that see if it contained the x,y position.
    Then from knowing which of my root Children I clicked I did root.getChildren.get(current).setOnDragged to figure out which one was dragged.
    The code itself worked except for finding which box I was on.
    The issue I find is that I onyl have getX, getSceneX, and getScreenX. X, and SceneX produce the same value, and ScreenX is useless. I tried then to do event.getX() - root.getLayoutX() to make the contains function to work, but it wasn't working and would require me to change up more things. getLayoutX() was = 0 since I didn't set the root location, only the locations of the box's.
    From there I kept wondering if there was a better way. Then I thought maybe to loop through every element in my root or in an arrayList(Which is what I used, but realized the root.getchildren should work like the original) but the problem is it keeps only registering the last one in the list, so it just loops and that's it.
    So what I want to know is, what would be the best way to figure out what object I'm in?
    Originally I use the contains(Swing) but Swing is different, and now especially since we can register mouseEvents to each node, shouldn't we know exactly which one we are on, just by looping through each of them? I figure that's easier than having to check every single mouse position contained within, especially if I have 10000 things to check?
    Edited by: KonradZuse on Mar 18, 2013 8:05 PM

    I slightly modified your code for 3D.
    - added a pointlight
    - added a phong material
    - the rectangle changed to a box
    - the circle changed to a sphere
    - add scene.setCamera(new PerspectiveCamera(false));
    Without the last line it is not working.
    I tested it with javafx8.0 build 80 Netbean7.3
    import javafx.application.Application;
    import javafx.scene.Node;
    import javafx.scene.Scene;
    import javafx.scene.input.MouseEvent;
    import javafx.scene.layout.Pane;
    import javafx.scene.paint.Color;
    import javafx.scene.shape.Circle;
    import javafx.scene.shape.Polygon;
    import javafx.scene.shape.Rectangle;
    import javafx.stage.Stage;
    import javafx.event.EventHandler;
    import javafx.scene.Group;
    import javafx.scene.PerspectiveCamera;
    import javafx.scene.PointLight;
    import javafx.scene.paint.PhongMaterial;
    import javafx.scene.shape.Box;
    import javafx.scene.shape.DrawMode;
    import javafx.scene.shape.Sphere;
    public class DraggingShapes3D extends Application {
        @Override
        public void start(Stage primaryStage) {
            PointLight pointLight = new PointLight(Color.ANTIQUEWHITE);    
            pointLight.setTranslateX(800);    
            pointLight.setTranslateY(-100);  
            pointLight.setTranslateZ(-1000);
            PhongMaterial material = new PhongMaterial();
            material.setDiffuseColor(Color.LIGHTGRAY);
            material.setSpecularColor(Color.rgb(30, 30, 30));
            Box box = new Box(200, 200, 200);
            box.setMaterial(material);
            box.setTranslateX(100);
            box.setTranslateY(100);
            box.setDrawMode(DrawMode.FILL);
            box.addEventHandler(MouseEvent.ANY, new DragShapeHandler());
            Group root = new Group();
            Sphere sphere = new Sphere(100);
            sphere.setTranslateX(400);
            sphere.setTranslateY(100);
            sphere.setMaterial(material);
            sphere.addEventHandler(MouseEvent.ANY, new DragShapeHandler());
            root.getChildren().addAll(box, sphere);
             root.getChildren().addAll(pointLight);
            Scene scene = new Scene(root, 800, 800, true);
            scene.setCamera(new PerspectiveCamera(false));
            primaryStage.setScene(scene);
            primaryStage.show();
        public static void main(String[] args) {
            launch(args);
        class DragShapeHandler implements EventHandler<MouseEvent> {
            private double sceneAnchorX;
            private double sceneAnchorY;
            @Override
            public void handle(MouseEvent event) {
                if (event.getEventType() == MouseEvent.MOUSE_PRESSED) {
                    sceneAnchorX = event.getSceneX();
                    sceneAnchorY = event.getSceneY();
                } else if (event.getEventType() == MouseEvent.MOUSE_DRAGGED) {
                    double x = event.getSceneX();
                    double y = event.getSceneY();
                    Node node = (Node) event.getSource();
                    node.setTranslateX(node.getTranslateX() + x - sceneAnchorX);
                    node.setTranslateY(node.getTranslateY() + y - sceneAnchorY);
                    sceneAnchorX = x;
                    sceneAnchorY = y;
    }

  • Best way to publish Edge files into html page?

    Ok,
    So im looking for the best way to add my edge files into my html page.
    I want to make it easy to integrate edge with dreamweaver html files, e.g if I change anything in my edge project and publish it I dont need to transfer the html over to my page again.
    I thought the best way to do this was put all the edge files into there own folder within my sites_files folder and then use iframe. However when I did this, I can not figure out how to use CSS to style the iframe.
    this is what I have tried    
    <iframe id="test" src="mackbyte1_files/animation/power-out-setup/power-out-preview.html" frameborder="0" height="400px" width="940px" scrolling="no" >Your browser does not support this animation. Get a real browses made for the 21st century! We recommend Chrome or Firefox...</iframe>
    I have tried using a ID for the iframe which didnt work.
    Without the iframe my animation is centred in the screen from the CSS with edge html e.g
    .edgeLoad-power-out-preview {
              visibility:hidden;
                        #Stage {
              height: 400px;
              width: 940px;
              margin-left: auto;
              margin-right: auto;
              border-radius: 7px;
              background-color: #CCC;
    I have given up and just manully copy/paste the html into the page I want it in. this works fine however, as stated if i make changes to my animation i have to amend the html which is a little annyoying.
    Is there a fix?
    Thanks in advanced

    joel_pau wrote:
    Hi,
    Can you copy and paste your html code from "mackbyte1_files/animation/power-out-setup/power-out-preview.html" ?
    hey mate,
    this is it
    <!DOCTYPE html>
    <html>
    <head>
              <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
              <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=IE8"/>
              <title>p-o-preview</title>
    <!--Adobe Edge Runtime-->
        <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/chrome-frame/1/CFInstall.min.js"></script>
        <script type="text/javascript" charset="utf-8" src="power-out-setup_edgePreload.js"></script>
        <style>
            .edgeLoad-power-out-preview { visibility:hidden; }
                        #Stage {
              height: 400px;
              width: 940px;
              margin-left: auto;
              margin-right: auto;
              border-radius: 7px;
              margin-top: 20px;
        </style>
    <!--Adobe Edge Runtime End-->
    </head>
    <body style="margin:0;padding:0;">
              <div id="Stage" class="power-out-preview">
            <div id="Stage_pw-point" class="edgeLoad-power-out-preview"></div>
            <div id="Stage_usb-hub-pluged2" class="edgeLoad-power-out-preview"></div>
            <div id="Stage_usb-hub-unpluged2" class="edgeLoad-power-out-preview"></div>
            <div id="Stage_usb-for-hub" class="edgeLoad-power-out-preview"></div>
            <div id="Stage_usb-hub-pluged-unlit" class="edgeLoad-power-out-preview"></div>
            <div id="Stage_usb-cable" class="edgeLoad-power-out-preview"></div>
            <div id="Stage_imac" class="edgeLoad-power-out-preview"></div>
            <div id="Stage_usb_icon-power-out" class="edgeLoad-power-out-preview"></div>
            <div id="Stage_Lightning" class="edgeLoad-power-out-preview"></div>
            <div id="Stage_imac-off" class="edgeLoad-power-out-preview"></div>
            <div id="Stage_shutdown-page" class="edgeLoad-power-out-preview"></div>
            <div id="Stage_shutdown-page-30" style="display:none;"></div>
            <div id="Stage_imac-black-off" style="display:none;"></div>
            <div id="Stage_RoundRect" style="display:none;"></div>
            <div id="Stage_play-btn" style="display:none;"></div>
        </div>
    </body>
    </html>

  • Best way to flatten colored art into line art?

    Hi All! Not sure how to properly explain this ... but if I have an illustration that I created where objects are overlapping eachother, what is the best way to get just the oulines with out a lot of copy/paste/knock out? It takes a while and to me it seems there should be an easier way. I've attached a pic to help explain what I'm talking about.
    Using CS5 on windows 7
    Thanks!

    Select All
    Object > Expand Appearance (if avaialble)
    Object > Expand
    Pathfinder > Merge
    Draw a no fill, no stroke rectangle and then choose Select > Same > Fill & Stroke
    Hit Delete
    [ At this point the artwork should look identical to where you started, even though it's constructed differently. ]
    Select All
    Apply stroke, and fill (or remove fill if desired)

  • What is the best way to put various songs into one album?

    I have been adding album information and album artwork within iTunes to take advantage of cover flow, but i have a lot of songs in my music library that are "stand alone" songs - it is the only song from that artist. I want to put all of these songs together in one album, so all of my miscellaneous rock songs will be put into a Rock Music album or file. I want to do this to eliminate all of the grey boxes within cover flow for all of these songs. When i give the files all the same album name (Rock Music) and album artist (Various Artists) it still does not put them all together within iTunes. It will do it for some, but not all.
    What is the best way to put all of these miscellaneous songs into the same album?

    Try marking all the tracks as part of a compilation. Click on the first track in your list, hold down the shift key and click on the last. Right click anywhere in the selection and choose Get Info, when you are asked if you want to edit multiple items say yes. Change compilation at the bottom of the window to Yes.

  • The best way to delete an object

    hi
    i'm searching for a while for the best method to delete an object
    for example let's say i have this object
    Mycar car = new Mycar("bmw");
    is this a correct way to delete it
    car=null;
    System.gc();

    J2ee_consultant wrote:
    i think that they are the same so what's the good solution to do that?You don't. In C++, for example, explicitly freeing objects is a major cause of runtime errors (double frees, or use of freed objects). In java you simply have to trust the garbage collector.

Maybe you are looking for

  • Which Mac Mini for word processing?

    Hello, my partner is looking to buy a computer to use exclusively for word processing.  Since she literally only wants to use a word processor – probably either MS Word or Nisus Writer – and nothing else (not even the internet), I suggested she might

  • Payment terms accoring to product/material range

    Hi SAP experts, We would like to be able to define different payment terms for a vendor, this is based on a subset of material, generally where one vendor is shared by multiple buyerships different payment terms have been negotited for different prod

  • Provision for zonewise budget entry  in APO-DP

    Hi experts Is it possible to enter zonewise (we have four sales zones) budget in demand planning ? Forecast to be done against budget. Could you pl. explain step by step This is very urgent and help any one pl. Thanks in advance SR Chandu 970 440 451

  • Business area required for subcontracting GR

    Dear Experts, In subcontracting scenario while executing GR; if we enter PO number, system proposes the component. We have expand / collapse button which allows us to see which are the materials (BOM) getting consumed for component we are receiving.

  • Javax.xml.soap.SOAPElement

    Hi I'm trying to get Apache Ant working, but it's giving me an error saying it cannot find this class. I assume it must be in a .jar file somewhere, but I can't find it. Does anyone anything about this, and what I need to include in my cp to get it?