Filling in a shape made with lines

I am really new to illustrator and I need to know the answer to this question fast. If I made a weird shape with 5 different lines how would I fill it in? Nothing really happens when I select the lines and then select a color.
Thank you for answering my question

What Wade said… or:
Select the lines you've created and choose convert to "Live Paint" (Object>Live Paint>Make). This nifty feature lets you fill non-joined paths. It also greatly simplifies the process of working with multiple shapes that share edges. Better yet, you can edit the indivual lines to update the shapes, automatically. That's why they call it "Live Paint". I use this feature extensively, along with the pencil or pen tool, to create complex, interlocking shapes, that would take MUCH more time, closing each shape individually. Read about it in the online help.

Similar Messages

  • How to fill an object made with line segment?

    I made some objects with the line segment tool, but i cant seem to fill them. Not even when i group the lines and try to fill after.
    Anybody an idea? thanks

    Live paint will do the trick you select the lines and click on the live paint bucket tool which will make the lines a part of live paint group, there are options for controlling the gap distance.
    Then select a color and click the live paint tool somewhere in the area that the lines are used to define. it will fill with that color.n CS 2 and 3 I think well CS3 for sure.

  • Vector Shapes Made With Previous Settings

    In Illustrator, for years there has been a feature where each new shape I create automatically takes on the stroke/fill settings of the last shape I created. This makes sense because it saves time, and the assumption is that if I've drawn a bunch of little green boxes I am likely to keep wanting to draw green boxes until I say otherwise.
    But in Photoshop CC, the same feature seems to be applied but it is working differently than I expect. For some reason, Photoshop will store one specific set of stroke/fill details (according to no particular logic that I can see) and draws every new shape with those details.
    The problem is that at some woeful point, I must have created a shape with no fill and a 15px white stroke. Now, every single shape that I draw, whether it be a line, a circle, a square, or anything else has this 15px stroke applied to it. No matter what changes I make to that shape, Photoshop always reverts and draws every new shape with the same settings applied.
    Every once in a while, for no apparent reason, Photoshop picks a new style that I've created and decides to apply that one to everything I draw. For a while every box I drew was blue, no matter what I did.
    How do I reset the vector tools so I don't have to go and manually remove this 15px stroke every single time I use the vector tool?
    Thank you very much.

    Thanks - that ended up being a simple solution to what seemed to me like a mysterious problem - I think I just didn't realize that the Options Bar was available before I created a shape (somehow I mistakenly thought I only had access to those options after the shape was made/selected)
    Thanks!

  • How to display polygons both with line contour and filled interior?

    How to display polygons both with line contour and filled interior?
    Java3D 1.3, Java 1.4.1-rc

    Hi,
    I just started with Java3D last week.
    I assume you mean drawing polygons with outlines (wireframe) in one color and polygon face filling with another color. If so, I've got the same question! (I usually think of "contour" to refers to plotting surface intensity of independent data like temperature or elevation, but I don't think you mean this.)
    The only solution I've found so far is to make two shapes with the same geometry.
    Here's an example - an outlined and filled cube. I made it using a generalize class DualShape which is two shapes with the same geometry, but one filled and one as a line.
    It works, although I can't say I understand the setPolygonOffset(), knowing what value to set. Without the command, the depthbuffer can't consistently decide which should be in front between the fills and lines so it looks bad.
    I certainly think it would be nicer to do both internally, like:
    pa.setPolygonMode(pa.POLYGON_LINE || pa.POLYGON_FILL);
    And then have setFillColor and setLineColor for each.
    I don't know why they don't allow this - maybe OpenGL can't do it like this so Java3D follows.
    If anyone has any better ideas I'd like to hear about it.
    Tom Ruen
    class DualCube extends DualShape // cube with outline and fill colors
    public DualCube(float ax, float ay, float az, //cube lower corner
    float bx, float by, float bz, //cube upper corner
    float br, float bg, float bb, //border color
    float fr, float fg, float fb) //fill color
    setGeometry(new CubeGeometry(ax,ay,az,bx,by,bz),br,bg,bb,fr,fg,fb);
    class DualShape extends BranchGroup //general shape with outline and fill colors
    Appearance ap1,ap2;
    PolygonAttributes pa1,pa2;
    ColoringAttributes ca1,ca2;
    Shape3D s1,s2;
    public void setGeometry(Geometry geo, float br, float bg, float bb, float fr, float fg, float fb)
    //filled shape:
    addChild(s1=new Shape3D(geo, ap1=new Appearance()));
    ap1.setPolygonAttributes(pa1=new PolygonAttributes()); pa1.setPolygonMode(pa1.POLYGON_FILL);
    ap1.setColoringAttributes(ca1=new ColoringAttributes()); ca1.setColor(fr,fg,fb);
    //lined (wire) shape:
    addChild(s2=new Shape3D(geo, ap2=new Appearance()));
    ap2.setPolygonAttributes(pa2=new PolygonAttributes()); pa2.setPolygonMode(pa2.POLYGON_LINE);
    ap2.setColoringAttributes(ca2=new ColoringAttributes()); ca2.setColor(br,bg,bb);
    pa2.setPolygonOffset(-1000); //Uncertain what "float" value to use!
    class CubeGeometry extends IndexedQuadArray //cube geometry data
    private static final int[] faces =
    0,3,2,1,
    0,1,5,4,
    1,2,6,5,
    2,3,7,6,
    3,0,4,7,
    4,5,6,7
    private static float[] verts = new float[24];
    public CubeGeometry(float ax, float ay, float az, //lower limit
    float bx, float by, float bz) //upper limit
    super(8, IndexedQuadArray.COORDINATES , 24);
    int n;
    n=0; verts[n]=ax; verts[n+1]=ay; verts[n+2]=az;
    n=3; verts[n]=bx; verts[n+1]=ay; verts[n+2]=az;
    n=6; verts[n]=bx; verts[n+1]=by; verts[n+2]=az;
    n=9; verts[n]=ax; verts[n+1]=by; verts[n+2]=az;
    n=12; verts[n]=ax; verts[n+1]=ay; verts[n+2]=bz;
    n=15; verts[n]=bx; verts[n+1]=ay; verts[n+2]=bz;
    n=18; verts[n]=bx; verts[n+1]=by; verts[n+2]=bz;
    n=21; verts[n]=ax; verts[n+1]=by; verts[n+2]=bz;
    setCoordinates(0, verts);
    setCoordinateIndices(0, faces);

  • Cannot fill a rectangular shape with Color

    HI,
    I cannot fill a rectangular shape with color. I know it was working at some point. I checked the ID help, and did a search here with no results.
    I have the tool bar set correctly I think (see below). The object isn't behind other objects either, - that I can see. I do see it when I use the scroll bar so it's there somewhere. (see Pink box below).
    Any ideas profound or otherwise?
    Thenk Yew.

    You haven't got 100% transparency applied to it?  Then it might appear while scrolling because of a slightly delayed display.  That's all I can think of at the moment...
    The other thing to try if you suspect an individual document is playing up is to export it to inx or idml and open that.  Then another thing is to try replacing your preferences.

  • How to fill canvas with lines

    <mx:Canvas id="b1" x="10" y="10" height="40" width="300" borderStyle="solid" borderColor="black"/>
    when i want to draw lines with 15 pixels gap to fill the entire canvas i wrote as follows
                   for(var i:int=b1.x+15;i<b1.x+b1.width;i=i+15)
                        var line1:UIComponent = new UIComponent();
                        var lineThickness1:Number = 1;
                        var lineColor1:Number = 0x000000;
                        var lineAlpha1:Number = 1;
                        line1.graphics.lineStyle(lineThickness1,lineColor1,lineAlpha1);
                        line1.graphics.moveTo(i,b1.y);
                        line1.graphics.lineTo(i,b1.y+b1.height);
                        this.addChild(line1);
    it's working fine
    lly,
    <mx:Canvas id="b4" x="600" y="200" height="60" width="300" borderStyle="solid" borderColor="black" rotation="40"/>
    I have the above canvas with id 'b4' only difference is that this canvas has the rotation
    how to fill this canvas with lines just i did above?

    Hope this code will help you,
    for(var i: int = 15; i < b4.width; i = i + 15) {
         var line1: UIComponent = new UIComponent();
         var lineThickness1: Number = 1;
         var lineColor1: Number = 0x000000;
         var lineAlpha1: Number = 1;
         line1.graphics.lineStyle(lineThickness1, lineColor1, lineAlpha1);
         line1.graphics.moveTo(i, 0);
         line1.graphics.lineTo(i, b4.height - 1);
         //Add line in canvas instead of main container
         b4.addChild(line1);
    <mx:Canvas id="b4" x="600" y="200" height="60" width="300" borderStyle="solid" borderColor="black" rotation="40"/>

  • Fill page with lines

    Post Author: RedAle
    CA Forum: General
    Hi,I'm using CR XI r2.I need to design e report with the CR XI Designer tool. In my report I have a DB table with some rows (about 10) linked to my report. Every detail section row has a table field and a Line. I would like to repeat this line to fill the entire page and not only for the number of table records.Does anybody knows how can I do it? Thank you in advanceAlessandro Rossi.

    Post Author: V361
    CA Forum: General
    Hope this will help.... Stolen from another post.
    Assuming that you have your report setup in such a way as to go to the next page when the record count is greater than 15, here is a way to 'draw' lines so that there are always 15 on a page.
    1. Create a sub-report with lines drawn such that if the subreport were displayed then the lines would match with those of the main report.
    2. In the subreport, suppress all sections except the detail.
    3. Create a formula with:
    whileprintingrecords;
    shared numbervar rc;
    if rc <= 15 then
    replicatestring('_______________' & chrw(13) & chrw(13),(15 - rc));
    where rc is your recordcount based upon which you go to next page. The string within the 'replicatestring' will be the lines you want to draw to make up the 15 rows.
    4. Place the subreport in a separate details section and suppress it based on conditions such that it is only displayed if there are less than 15 records displayed per page.

  • Filling Flex chart bars with line strokes

    HI all,
    I have requirement to fill the columns of column chart with line strokes any suggestions ??..plz put here..

    Try BitmapFill or a custom fill.

  • Problem with lines in Flash!!!

    Hello, I am currently using flash cs5.5. I am not having any software malfunctions or anything like that, I am just having a prolem with lines. When drawing with the pen, (or even pencil tool), is there anyway to make the lines you draw one solid line when you're done? For example, if tracing with the pen tool, each time you put an anchor, it creates a different line, which is fine while you're drawing it. I'm wondering is there anyway to select a certain amount of lines and make them one solid line? Let's say I am drawing an ear with the pen tool; by the time i am done drawing it, it is made up of 3 seperate lines. I did not know if there was anyway to select those three lines and make them one solid line? I know that I can double-click, but I just want to select the ear, not the entire head, (which is what happened when I double-click).
    Hopefully I got my question across, I'm not really sure how to describe it. Any help is greatly appreciated. Thank you so much!
    ~~~~~~~~~~~~~~~~~~~~~~~~~~
    Also too, on a 100% different note, I am also running into a different problem with lines. When drawing with the pencil tool, everytime I trace something with curves or bumps, by the time I let off the tablet, (this is not a tablet problem), the line with be in 100 different segments, even though I drew the line with one solid motion. It seems to do it more when I am working within a symbol. I do not know if there is a fix for this or not, but again, any help is greatly appreciated.
    Please do not get confused, both of these problems are 100% different from each other. The first is just something I am wondering if it exists. The second is more of a malfunction/glitch with the progam. Thanks again!

    Not sure if I understood you completely but let me suggest you a couple of things.
    1. Try drawing in Object mode. (available lower down in the tools panel. shortcut - J)
    The entire shape you draw now without releasing your mouse button will be treated as one shape object. These can be selected independently, broken apart (Ctrl + B) and even combined (Modify Menu -> Combine Objects -> Union). You can perform all the normal shape editing tasks as well on shape objects directly.
    2. For Pencil/brush tools, you can set the curve smoothness for your tools from the Properties panel -> Smoothness option.
    If you already have a line or curve drawn on Stage with too much of segmentation, you can select it then goto bottom of the Tools panel and click on Smooth button multiple times till you get the desired smoothness.,
    Hope this helps! Let me know in case of any doubts.
    -Nipun

  • How can I sign an app made with PhoneGap Build?

    HI,
    I have set up the PhoneGap Build service and created an account so I can make an app and upload it to my mobile phone.
    Now I have reached the point where I would like to sign it and upload it to Google Play.
    I have a developer account and I have filled in all data, made screenshots and icons and description for the app etc.
    When I try to upload it to Google play it says "Upload failed..." and that I need to disable debugging.
    I have tried to find information about how to do this and I have installed the SDK packet and even successfully set up the path in the Settings for PhoneGap Build without any protests..
    Now what?
    I have read trhe documentation on how to make a private key with keytool using the cmd in windows an the key has been uploaded to my account on the phonegap build site.
    Now according to the doc in phonegap build this key should be used signing the app that I made in dreamweaver. So I recreated the app in Dreamweaver and downloaded it and then tried to upload it on Google Play.
    Still the same problem that the app is in debug mode. This means that phone gap build is not doing it's job as it should or maybe that my key is not working.
    So my question first is, how can I see if the key is properly generated with keytool?
    My next step is to manually sign the app.apk file with the jarsigner tool so I tried to do this accordingly to the sample in the android documentation.
    This a screenshot of my attempt and the error-message in the command line:
    It feels like I have done everything by the book but still my app is not signed and not valid to upload to Google Play for public download.
    Please give me some assistance in how to create this last little but so hard step.
    Thanks!
    Micke
    Message was edited by: MickeBergman

    I got it solved...
    If anyone else has done the same mistake as I did then have a look here.
    You just have to create the key with keytool using the command line (cmd.exe)
    Here is the guide how to do it (scroll down to "1. Obtain a suitable private key")
    Use the example, it works fine.
    Then upload it to your PhoneGap Build account by logging in to build.phonegap.com
    Then under your account settings upload the yourkey.keystore file and unlock it.
    Then under Apps click your uploaded App title to come into the details of the app.
    Then (and this is what I missed and therefore didn't get it signed and released) choose the key you uploaded from the fold down menu at the right hanbd of the android logo
    Then click Rebuild and when it's done rebuilding you simply download it and it will have a YourApp-release added to the file name and you're set!
    Pheeeww this was a horrifying experience and yet so simple solution... strange noone else has experienced this before me.
    At the end I have to really salute Dreamweaver who has made such a great tool to easily make your own apps.

  • I can't update my Photoshop CS3 in order to open pictures made with Canon Eos 60 D

    I can't update my Photoshop CS3 in order to open pictures made with Canon Eos 60 D

    It's not terrible even if you jump a few versions; the Adobe folks don't want change a good thing, so much of what one expects is still where you expect to find it from version to version.  A person who upgrades from Photoshop CS3 to CS6 will find the new Tabbed View, introduced first in CS4, and probably won't like it (at first), but it actually can grow on you.
    With CS6 they've introduced this new "shape layer" abstraction of what was once a fill layer with a vector mask.  Beyond that, I suppose there must be 3D changes, though I haven't the experience to tell since Photoshop CS6 is the first version I've moved up to Extended with.  I admit, the 3D stuff is fun to play with.
    Just to give you an idea of what I've been doing with Photoshop just this evening...  My collaborator and I have been photographing carbon stars - red giant stars whose atmosphere contains more carbon than oxygen, and which are strikingly red.  In this image the carbon star, SAO49477 is the red member of the close double just up-right of center.  The red stuff between the stars is glowing hydrogen gas, singly ionized by starlight to emit a deep red color.  Someday it will coalesce and make more stars.
    -Noel

  • Shape subtraction for lines on its way?

    I've got an application in which various semi-transparent shapes of various types (rectangles, circles, and polygons) are connected to each other by lines. I want the lines to be directed towards the centers of these different shapes, but to stop at the edges. To accomplish that, I tried connecting the centers of shapes with a line, and then using Shape.subtract() in order to subtract the parts of the lines that overlap the shapes. Unfortunately, Shape.subtract() only works on fill-type shapes, and causes stroke-type shapes like lines to disappear entirely.
    I've heard that there are plans to make the shape manipulation methods work on stroke shapes in the future (namely, the last time I asked about this here: Using shape subtraction with a line but I'm wondering if there's an actual issue posted for this feature on JIRA. If there is one, could somebody point me to it so I can follow it?
    For now, I've settled with a rather hacky solution in which I use a really, really skinny filled polygon that looks like a line (and which has to be recalculated each time a shape is moved), and I do my subtraction from that.

    Just for what it's worth:
    So I click report so that I can see the details, and the whole thing goes away.
    It's probably not all that obvious - I've seen a couple of people confused by this lately - but that "report" button isn't meant to show you a report. It sends a report of the crash and any related details to Apple for their general information. As far as I know, it's not something they'll ever respond to you about, either - it's just for them to compile information about the causes of crashes, so they can work to prevent such crashes in future Mac OS development.
    Edit: Ah here's Apple's explanation of that - the "report" bit is at the bottom of the page: http://docs.info.apple.com/article.html?artnum=301084
    I notice it does say "Click Report to see more details or send a report to Apple." In my experience, it never does the former...

  • Using pathfinder to cut out a shape from multiple lines

    Hello,
    There is a probably a really easy answer to this but i cant find it. I have created an area of 'pinstripe' pattern using multiple lines equally spaced and alligned etc, i've then placed a rectangle shape on top of these lines and want to extract the rectangle from the lines so that i am only left with the pinstripe pattern in the area of the rectangle.Hope this makes sense, couldn't think of a better way of describing it !
    Thanks

    I do this all the time! Peter's suggestion is the best/only way I've found. Anything like you're describing, needs illustrator if you need more than what "Paste Into" does.
    Pathfinder in InDesign won't work with your pattern if it's made from lines (but will if it's made from boxes), as long as you don't create the file past page 12 ( see this thread: http://forums.adobe.com/thread/324684 ).

  • Problem with line clipping.

    Hi,
    In my applications there are various shapes and there is a Line Handle
    associated with every shape. That line handle's initial point is center of
    the shape and the end point is outside the shape.
    I am using g2d.clip() method to clip the line inside the shape so that
    Line shouldn't be visible from the center but from surface of the shape.
    My problem is that the line sometimes isn't visible ,specially if center point's x or y is same as line end points x or y.
    This is because of are clipping .
    Can anybody tell me how to negate this problem?
    I am posting small program to demonstrate the issue;
    import java.awt.BasicStroke;
    import java.awt.Color;
    import java.awt.Graphics;
    import java.awt.Graphics2D;
    import java.awt.RenderingHints;
    import java.awt.Shape;
    import java.awt.event.MouseEvent;
    import java.awt.event.MouseMotionListener;
    import java.awt.geom.Area;
    import java.awt.geom.Ellipse2D;
    import java.awt.geom.Line2D;
    import java.awt.geom.Point2D;
    import java.util.HashMap;
    import java.util.Map;
    import javax.swing.BorderFactory;
    import javax.swing.JFrame;
    import javax.swing.JPanel;
    public class EllipseDraw
    extends JPanel
    implements MouseMotionListener
         Line2D line = new Line2D.Double(new Point2D.Double(75, 75), new Point2D.Double(150, 60));
         Ellipse2D ellipse = new Ellipse2D.Double(50, 50, 50, 50);
         EllipseDraw()
              this.addMouseMotionListener(this);
         public static void main(String[] args)
              EllipseDraw ellipseDraw = new EllipseDraw();
              ellipseDraw.setBorder(BorderFactory.createRaisedBevelBorder());
              JFrame frame = new JFrame();
              frame.getContentPane().add(ellipseDraw);
              frame.setSize(300, 300);
              frame.setVisible(true);
         public void paintComponent(Graphics g)
              super.paintComponent(g);
              Graphics2D g2d = (Graphics2D)g;
              g2d.setStroke(new BasicStroke(2));
              Map renderHints = new HashMap();
              renderHints.put(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON);
              renderHints.put(RenderingHints.KEY_INTERPOLATION, RenderingHints.VALUE_INTERPOLATION_BILINEAR);
              g2d.setRenderingHints(renderHints);
              g2d.setPaint(Color.red);
              Area area = null;
              g2d.draw(ellipse);
              Shape currentClip = g2d.getClip();
              if (!ellipse.contains(line.getP2()))
                   area = new Area(line.getBounds2D());
                   area.subtract(new Area(ellipse));
                   g2d.clip(area);
                   g2d.draw(line);
                   g2d.setClip(currentClip);
              if (area != null)
                   g2d.draw(area);
         public void mouseDragged(MouseEvent e)
         public void mouseMoved(MouseEvent e)
              line.setLine(line.getP1(), e.getPoint());
              this.invalidate();
              this.repaint();
    }

    I solved the problem by growing the area .
    if (!ellipse.contains(line.getP2()))
                   Rectangle rect = line.getBounds();
                   rect.grow(10, 10);
                   area = new Area(rect);
                   area.subtract(new Area(ellipse));
                   g2d.clip(area);
                   g2d.draw(line);
                   g2d.setClip(currentClip);
              }

  • How can I avoid losing purchases made with an old Apple ID when I authorize my MacBook Pro under my current Apple ID?

    I am very confused!!  When I first used iTunes, I did not own any Apple products.  When I purchased my MacBook Pro and a Mobile Me subscription a few years ago, my email address @me.com became my new Apple ID.  I subsequently purchased an iPhone 3 and eventually an iPhone 4.  Apparently over this time, I have used both Apple IDs at various times.  Sometimes when I upgrade apps, the old ID will already be filled in and other times the new one will be instead.  I always use whichever one is there with the appropriate password.  This was probably a mistake.  I just realized that my MBPro is authorized under the original Apple ID and not the current one.  I tried to authorize it under the current Apple ID, but couldn't, so I was going to deauthorize it from the old one, but got a message about losing any purchases made with the original Apple ID.  I don't want that to happen.  Synching my iPhone in iTunes with my computer has been much more confusing since I got my newer iPhone. However, I don't remember anything about the process I went through to associate it with my iTunes account.  Any helpful suggestions are appreciated.

    Log into the store using the old Apple ID to re-download them, however, you can not switch them into your current Apple ID except by re-purchasing. You can contact Apple support and see if they are able to help you.
    Apple Store Customer Service at 1-800-676-2775 or visit online Help for more information.
    To contact product and tech support: Contacting Apple for support and service - this includes
    international calling numbers..
    For Mac App Store: Apple - Support - Mac App Store.
    For iTunes: Apple - Support - iTunes.

Maybe you are looking for