Dashed line

I just can't figure this one out. How can I create a shape, in this case a simple rectangle, with a dashed outline instead of a continuos line?
k

1) Use the rectangle tool to make a rectangle. No fill, no outline.
2) Use the rectangle tool to make a small dash with fill, no outline.
3) Replicate the dash.
4) In the Replicator tab of the Inspector, set the shape to Geometry, and drag the rectangle to the well.
5) Adjust to taste.

Similar Messages

  • How to change draw dashed line with arrowhead (not straight)?

    Hi friends,
    The following code sinept draws an arrowed line from a given point to the other point. I want to know how it can changed to be dashed line as well? I would appreciate it if anybody help me for doing such changes.
    Thanks in advance,
    Reza_mp
    import javax.swing.*;
    import java.awt.*;
    import java.util.ArrayList;
    public class ArrowExample extends JFrame
        enum ArrowHead {
            HEIGHT(10), WIDTH(10);
            int n;
            ArrowHead(int n) {this.n = n;}
            public int value() {return n;}
        java.util.List<Arrow> arrows;
        BasicStroke stroke;
        private class Arrow {
            Point start;
            Point end;
            Polygon arrowHead;
            public Arrow(Point start, Point end) {
                this.start = start;
                this.end = end;
                double direction = Math.atan2(end.y - start.y, end.x - start.x);
                System.out.println(direction * 180/Math.PI);
                arrowHead = new Polygon();
                arrowHead.addPoint(0, 0);
                Point p1 = rotate(ArrowHead.WIDTH.value()/2, ArrowHead.HEIGHT.value(), direction);
                arrowHead.addPoint(p1.x, p1.y);
                Point p2 = rotate(-ArrowHead.WIDTH.value()/2, ArrowHead.HEIGHT.value(), direction);
                arrowHead.addPoint(p2.x, p2.y);
                arrowHead.addPoint(0, 0);
                arrowHead.translate(end.x, end.y);
            public Point rotate(int x, int y, double dir) {
                Point p = new Point();
                double r = Math.sqrt(x*x + y*y);
                double theta = Math.atan2(y, x);
                p.setLocation(Math.round(r*Math.cos(theta + dir + Math.PI/2)),
                              Math.round(r*Math.sin(theta + dir + Math.PI/2)));
                return p;
            public void draw(Graphics2D g) {
                g.drawLine(start.x, start.y, end.x, end.y);
                g.drawPolygon(arrowHead);
                g.fillPolygon(arrowHead);
        public ArrowExample() {
            super("Arrows");
            setDefaultCloseOperation(EXIT_ON_CLOSE);
            JPanel p = new JPanel() {
                protected void paintComponent(Graphics g) {
                    super.paintComponent(g);
                    Graphics2D g2d = (Graphics2D)g;
                    Stroke oldStroke = g2d.getStroke();
                    Color oldColor = g2d.getColor();
                    g2d.setStroke(stroke);
                    g2d.setColor(Color.black);
                    for (Arrow a : arrows)
                        a.draw(g2d);
                    g2d.setStroke(oldStroke);
                    g2d.setColor(oldColor);
            p.setBackground(Color.white);
            add(p, BorderLayout.CENTER);
            stroke = new BasicStroke(3);
            arrows = new ArrayList<Arrow>();
            arrows.add(new Arrow(new Point(10,10), new Point(100,100)));
            arrows.add(new Arrow(new Point(300,10), new Point(300,100)));
            arrows.add(new Arrow(new Point(450,450), new Point(400,100)));
            pack();
            setSize(500, 500);
        public static void main(String[] args) {
            setDefaultLookAndFeelDecorated(true);
            SwingUtilities.invokeLater(new Runnable() {
                public void run() {
                    new ArrowExample().setVisible(true);
    }

    Change the draw method as follows:
            public void draw(Graphics2D g) {
                Stroke s = g.getStroke();
                g.setStroke( new BasicStroke( 3.0f, BasicStroke.CAP_BUTT,
                   BasicStroke.JOIN_MITER, 1.0f, new float[] { 10.0f, 10.0f }, 0.0f ) );
                g.drawLine(start.x, start.y, end.x, end.y);
                g.setStroke( s );
                g.drawPolygon(arrowHead);
                g.fillPolygon(arrowHead);
            }

  • Problem with dashed line spacing when printing to pdf

    Hi all,
    this may be a problem with my pdf program (I use bluebeam), but maybe someone will have an idea how to fix it whether in indesign or bluebeam.
    so I made a dashed line using the stroke command in indesign. I need to have the spacing set to 3pt dash and 2pt space. I also need to keep the lineweight to 0.5...this all works fine and appears correctly in indesign when I preview
    the problem is that some of the dashed lines, but not all of them, change size and spacing in the pdf when I view it. it seems to change when I zoom in and out as well. I thought maybe this was just some odd feature with bluebeam and it would still print to the correct size, but it does not, it prints the lines as different sizes. does anyone have an idea why this happens and how to fix? ive viewed and printed from adobe reader and it seems to be okay there but this file will be accessed by multiple other people and they may not be opening and printing in adobe reader..
    thanks guys

    When you export a PDF you will notice that you are exporting to Adobe PDF. Using any reader beyond Acrobat Pro or Reader is a crapshoot.
    For issues with Bluebeam I suggest you contact the developer.

  • Drawing dashed line or dotted line in a flex line chart

    Friends,
    I want to draw a line chart which should be either dotted or dashed.
    since there is no component like dashed line chart, can anyone help me in creating one.
    i think if i extend the line series component, then i can draw that.
    but am stuck there. pls help people.
    Regards,
    Anoop

    Try looking [url http://www.macdevcenter.com/pub/a/mac/2002/03/22/vertical_text.html]here.
    : jay

  • Illustrator CS2 adds mysterious white dashed line thru my linked Photoshop file

    Im using Windows XP, Illustrator & Photoshop CS2, Acrobat 7.0 Professional.
    I have an illustrator file with a linked PSD file that has this mysterious thin white dashed line going through the entire image & I have no idea what it's from or how to repair it.
    My trouble shooting thus far includes:
    - In illustrator - I hide all the layers to see if there was an odd graphic on another layer that was causing the line, nothing. I tried to select the dashed line, not possible. I've created a PDF of the file, and the dashed line is in the PDF too (to verify it wasn't just Illustrator). Oddly in both Acrobat & Illustrator when I zoom in & zoom out, the dashes maintain their on-screen viewing proportions (like the dash spaces recalculate to the same tiny thin dashed line no matter what zoom Im at)
    - In Photoshop - I zoomed in until I couldn't zoom no more and there is not the slightest dashed line in the graphic.
    Lastly, I have this exact linked setup repeated throughout several different files (basically its the same ad but laid out to different dimensions for each)... and none of the others have this mysterious white dashed line.
    here's a screen capture from Acrobat... zoomed into 6400%
    argh - can someone help? Thanks!
    kristin

    Hi guys (and sorry for the tremendous delayed response).
    No the line doesn't print on my local b/w laser printer. However I have seen the lines print in 1 newspaper publications... (this is out of 50 different publications)
    Yes, the image is rotated slightly in illustrator, and I always flatten prior to making the PDF (cuz of the transparency/drop shadow).
    It's really making me nervous that ALL our ads have these lines appearing during onscreen viewing... Im making a new batch of ads for our campaign & there are more lines than before!
    Any tips theories remedies my friends?

  • Dashed lines in Flash CS3

    Hi all, Is there a way to make the end caps of an imported
    dashed line (say from Illustrator or Canvas) straight? They seem to
    always come out round.
    I have tried making them straight lines instead of dashed
    both before and after importing them to Flash but the end caps
    still come out rounded. Flash does not let me change the end caps
    of dashed lines at all. So even if I set it correctly when it's
    still a straight line, as soon as I turn it into a dashed line, it
    turns round and I can't change it.
    Very frustrating.
    Thanks for your help,
    Aryeh

    Seems like an oversight from Adobe to me. Submit a bug report
    at the following address, and maybe they will add that
    functionality.
    http://www.adobe.com/cfusion/mmform/index.cfm?name=wishform

  • Draw a continuous dashed line

    I suspect the answer is simpler than I expect, but it has been eluding me none the less, so I've been wondering how to draw a continuous dashed line, as per the title. I'm cleaning up a photo I made a while back and would to create a flowing line and set it to be dashed as you can do in Adobe Illustrator, where you could draw a line and edit the line type to be dashed, or dotted, or a bunch of snowflakes or what have you.
    I can hear you asking, "why not just use Illustrator?". Well, I do not have it. I used Illustrator and Photoshop CS6 in an art class senior year of high school, but it has been a little while so I'm trying to re-learn the ropes a little bit.

    I was able to use Filter - Other - Minimum with a particular set of parameters, followed by a Median filter to smooth the results, to get something not unlike what you showed, but given that I derived the parameters empirically from your very limited image, at exactly the size given, I wouldn't be surprised if the characteristics of this sequence of operations are way off from what you want.
    In any case, if you'd like to see this "proof of concept" action to understand what I did, here it is:
    http://Noel.ProDigitalSoftware.com/ForumPosts/BlackFindingAction.zip
    Keep in mind this will be VERY sensitive to the thresholds and sizes chosen for the various steps, and is crafted to work at an image with just the resolution you showed above.
    -Noel

  • How do I create a dashed line growing longer?

    Hi all,
    I want to create a dashed line that grows longer. I made two keyframes (at frame 1 and frame 15) with dashed lines of different lengths. Motion or Classic Tween just makes the small line move to the right and then turn into the long line immediately at frame 15.
    Shape Tween gets me the closest (actually shows a line growing), however, it turns into a solid line in the intermediate steps.
    My next idea is to create a mask that slowly reveals more of the line. Is that the best solution?
    Thanks!

    yes, use a tweened mask.  that's the easiest solution.

  • How to create a dashed line for cell border

    Hi,
    Is anyone know How to apply the style for cell border to get the dotted line in WinRT 
    In WPF i will get the dotted line for cell border using this way.
    <DrawingBrush Viewport="0,0,20,20" ViewportUnits="Absolute" TileMode="Tile">
    <DrawingBrush.Drawing>
    <DrawingGroup>
    <GeometryDrawing Brush="Black">
    <GeometryDrawing.Geometry>
    <GeometryGroup>
    <RectangleGeometry Rect="0,0,50,50" />
    <RectangleGeometry Rect="50,50,50,50" />
    </GeometryGroup>
    </GeometryDrawing.Geometry>
    </GeometryDrawing>
    </DrawingGroup>
    </DrawingBrush.Drawing>
    </DrawingBrush>
    Thanks in Advance,

    check this thread: 
    http://stackoverflow.com/questions/14673643/windows-store-apps-how-to-draw-a-dashed-line
    Fouad Roumieh

  • Can not draw a solid line after drawing a dashed line

    I have been using a Graphics2D object in order to paint onto a buffered image and then transition that to a panel for viewing. The way the program works requires me to create the dashed line first through BasicStroke. After doing this I have tried to reset the setStroke with multiple new pens including BasicStroke(), BasicStroke(1.0f), and BasicStroke(1.0f, BasicStroke.CAP_BUTT, BasicStroke.JOIN_BEVEL, 0.0f, new float[] {1,0}, 0.0f).
    Any ideas as to why I am still incapiable of drawing a solid line?

    Any ideas as to why I am still incapiable of drawing
    a solid line?Without seeing any code, I could guess, but my guess and a quarter won�t even buy you a newspaper around here now a days.
    Seriously though, you need to create a short, self contained, compilable example. Look here for an explanation on how to create this:
    http://www.physci.org/codes/sscce/

  • Dashed line "Dash" & "Gap" options

    Hey all, looking for a CS3 tip here.
    I use a lot of dashed strokes, and I've found that when I enter values in the Dash and Gap boxes, I later can't delete the values entirely. I can delete whatever I entered, but Illustrator won't leave the box blank - it now fills the box with 0 point.
    For example, I create a path, turn on Dashed Line, then enter 2 point Dash, 1 point Gap, and accidentally Tab to the third box. Once the focus has been put on that third box, it won't remain blank, the best I can have is 0 point. So now continuing the example, my stroke is 2 point dash, 1 point gap, 0 point dash (slightly visible on screen, invisible in print), 1 point gap, and repeat. The net effect is that it looks like a 2 point dash followed by a 2 point gap.
    Any way to reset the box to contain NO information? It's bugging me because once I've created one of these "bad" dashed strokes, I either have to fudge my values to make it look right, or quit illustrator and start over because the bad values are persistent any time I turn on the dashed line checkbox until Illustrator is quit.

    I'm deleting everything in the box, and just to be sure, I've tried clicking in the box and hitting command-a to select all, then hitting delete. But whether I do it that way or drop the cursor in at the end tap delete repeatedly, it still auto-fills "0 pt" when I leave the box.
    As to the second point, I always try emptying the boxes from right back to the left. I get the effect you describe if I empty the first box - they all reset to blank and the "dashed line" checkbox changes to unchecked. But the moment I try to put a dashed line on a path again, it refills with the previous setting, including the 0 pt entries on the right most boxes that I would hope to stay blank.
    I take it your installation doesn't replicate the behavior I'm experiencing? I will be upgrading to Leopard just as soon as I have a slump - I can just wait to see if a clean installation of Illustrator takes care of it.
    Thanks.

  • Dashed line showing up on placed psd in indesign

    Please help! I created flyer in indesign and placed some PSD graphics into the indesign file.  However when those files are placed on top of a "dotted" line—after printed a white "dashed" line appears.  (the line does not appear in digital file at all—only in print file, so I had to post a crappy scan, but I think it gets the point across). 
    Any insight to this issue?
    Much Thanks!
    Desiree

    Okay, another (probably bad) suggestion: Make a new 'rich black' swatch and change all your problem objects to use the new swatch.
    This screenshot is using a mix of C=20 M=10 Y=10 K=100 that I threw together for a sample. The left block is the 'rich black' and the right is 100% K only. InDesign displayed both as the same color, but when exported to PDF, the difference was visible (from which the screenshot was captured).
    Other mixes I've found referenced elsewhere are:
    C=80 M=80 Y=70 K=90
    C=35 M=45 Y=35 K=100
    C=45 M=35 Y=35 K=100
    If you were using an outside vendor, I'd suggest getting in contact with them to find out what their preferred blend is. Otherwise, since you seem ot be doing things in-house, you can make a test page with a variety of mixes to determine which one produces the level of black that you want from your Konica.
    If you are using a Mac, you may be able to locate an applescript code on the forums which will allow you to globally change all objects using the [Black] swatch with another swatch in your list.
    YMMV
    -mt
    And Peter responded while I was messing around. Lots of combinations.
    Aaannnd.. perhaps I should have read the remainder of the posts instead of jumping into this... ^_~
    Hope it all helps get this resolved for you, anyway!
    Message was edited by: MT.Freelance

  • Dashed line in Health app?

    Hi,
    I tracked a run today using Endomondo that posted the calories burned into Health in iOS8. However, the chart is sowing a dashed line as opposed to a solid line as it has done in the past
    Does anyone know what this means? The calories have been shared with all the other connected apps, so I'm not too concerned, I'm just curious!
    Many thanks,

    The dashed line corresponds to gaps in the data, spanning points in time where you did not log any activity.  For example, I cycled on Oct. 16 & 17, so the Week view shows a solid line between those adjacent days for which there was recorded activity.  I did not cycle again until Oct. 20, so there is a data point showing that day's activity on the 20th and a dashed line connecting to the previous data point (on the 17th).
    This is actually to prevent confusion about the meaning of the lines spanning the points.  The dashed line makes it easier to see that I did not cycle in those intermediate days, while still allowing me to see at-a-glance that my activity on the 20th was less strenuous (since the line slopes downward) than that previous point back on the 17th.

  • Writing text vertically and drawing dashed line

    Hello,
    I m trying to write text vertically ( basically to write data on the y-axis of a graph)..Is there a way in which i can set the line direction properties to VERTICAL..?
    Also, i m trying to draw a dashed line.Can anyone tell me how to do this?
    Thnx in advance....

    Try looking [url http://www.macdevcenter.com/pub/a/mac/2002/03/22/vertical_text.html]here.
    : jay

  • Showing grid lines as dashed lines

    Dear All,
    i am using a waveform chart to plot my data .. i want to insert grid inside my chart .
    There are 3 different options for inserting grids in d chart . 
    is dere any way i can change the style of lines of grids ?? i want to see them as dashed lines rather than a continous line ... 
    Thanks
    Ritesh

    Hi,
    the solution to it was a bit complicated .. i had to search for examples to get my data on the wavefrom graph... 
    thing is like dis. i have to store the data of different channels on different clusters and join the clustes using Build Array ... 
    Now dat i am able to show the data on graph(atleast) its not showing it continously .. the graph is plotting all d data at the starting point, i.e 0 and not moving forward .. 
    I am posting the Block Diagram as well as the Output that i am getting .. 
    Regarding Block Diargram - I am reading a text file containing the waveform data.. it has N number of rows.. each row has 4 columns containing data of 4 different channels .
    i read the file "line by line" and store the data in 4 diff arrays(b,c,d,e). then i cluster these 4 arrays separately and build array using dese 4 clusters .. and d output of the array is plotted on the graph den.. 
    Pl. have a look at it and see if dere's any solution to it .. 
    Thanks
    Attachments:
    Block Diagram.JPG ‏36 KB
    Output.JPG ‏17 KB

  • Can Flash create dashed line with blunt not rounded dashes ?

    Hi,
    using Flash8
    I can select line tool and dashed line in properties and draw a dashed line and get a line of sausages. How do I get a line of dashes without rounded ends to each dash ?
    Line option has end caps option with None (gives straight or blunt tip to line, round gives rounded tip .
    Draw a line with None and its got blunt ends, select it and choose dashed line option and it gets round ends to the dashes, the end cap option is greyed out !
    Are dashed lines with blunt dashes now possible again with CS4, a forum poster also found that CS3 no longer gave blunt dashes ?
    Why do I ask:-
    I am trying to bring a map into Flash8 from Illustrator (Illus version 10 as it allows blunt tip lines to remain blunt it was said on the forum)... which has blunt ends to roads and has blunt type dashed lines. The roads remain blunt..GOOD !..but the dashed lines become what looks like a solid line. BAD !
    I do a right click - break apart,  then double click one of those now solid lines that should be dashed, and I am able to select a portion of the line, it is no longer a continual line as drawn in Illustrator. Properties shows it as solid line. Flash8 obviously having a problem with supporting Illustrator 10 dashed line then !
    Select dashed in properties box and I get a portion of the line as sausage dashes, but working my way along the line doing each bit sees a far from correct dashed line result as sausages dont start stop evenly as each line is a separate entity and ignores the previous line.
    Looks like I shall have to try and draw the line as one long line again in flash but unless I can give it blunt dashes when done, there is no point even trying that method, hence my question.
    Would the latest Illustrator and Flash versions (CS4) allow blunt type dashed lines to appear in Flash ?
    This is crucial for bringing maps into Flash.
    Envirographics

    I noticed one problem with my solution.
    If you look, very carefully, at the end of the stream, it's flat. Not rounded like it should be. After a bit of trial and error, I tried a different brush:
    Note that, in addition to the rounded rectangle (done with the new corner controls in the latest version of Illustrator CC that just came out) and the three circles, there is also a rectangle, with no stroke and no fill, to provide a space at the end of the three dots. Here is the result:

Maybe you are looking for

  • Deleting i-tunes from hard disk

    When I delete a song from my library, there is no pop-up option to delete the song from my hard disk. I need to free up space. I am using the Windows XP portion of my Mac. Can anyone help me? Thanks

  • Lenovo SK-8825 (L) Keyboard - can't figure out how to use rupees symbol

    I am using lenovo SK-8821 SLIM KEYBOARD where I didnt find right click key, due to that i am unable to use the same frequently request you to please provide any updats against the same Regards  Tushar Moderator edit: Tidied up subject.

  • ITunes\Apple TV 2 Not Updating Aperture 3 Smart Album Photos

    Hi, Even after both updating the Preview photos in the Aperture 3 Smart Album and waiting for several hours, my iTunes photo link to the Apple TV 2  still shows the OLD pictures (and the photo count) from when I first linked the album. The link is of

  • Shutdown with no reason!!

    i was working on my macbook pro and it shutdown for no reasoned, no warring message. the power cord was more hot than usual. When i restart my computer  the time was rest in 2000. i had reprove some only permission. google chrome don't let me surf th

  • Role in Collaboration Room

    Hi I have duplicated the Collaboration Room Template "SAP_Information_Site" and created a new CR based on the duplicated template. Three roles are defined in that template: admin, content manager, public I assigned my own admin-user the admin-role in