Stroke of Rectangle Problem

Hello
My Problem is :
When i draw a rectangle and gave it a stroke of 2 points.
When i reduce the size of rectangle then the stroke (or outline) increase its width.
Waiting for the answer. i need to solve this issue.
Thanx In advance

The stroke is not scaling with the object, i.e. it remains at 2 points. You can change this behaviour by going to Edit>Preferences>General>Scale strokes & Effects. That way the stroke will scale with everything else.

Similar Messages

  • Problem with stroke shifting rectangles location.

    I am on a mac-system 10.5.8 and using Illustrator 5. I have created an RGB document using the Web VGA pre-set. When I stroke  a rectangle it actually shifts .5 pixels on both the x and y axis. This doesn't seem to happen with the Print pre-set. Any ideas?

    That is, if you are sure you want the rectangle off whole pixels, Nielsen.
    If you do, you may consider changing the default setting for Web VGA setting, or it will happen with the next document, too. They made the Align to Pixel Grid to make it easy to have images adapted to whole pixels.

  • Major stroke and rollover problem.

    Major stroke and rollover problem.
    Muse5 CC
    On images I applied 6px inside stroke in rollover state.
    On rollover in both preview mode and browser previews the image moves from its top left corner and overlaps the stroke.
    Both when images are place inside a blank composition or anywhere basically.
    On the composition frame also 6pix stroke were applied.
    HELP!
    Three screengrabs to illustrate this issue.
    NORMAL STATE:
    ROLLOVER ON COMPOSITION
    ROLLOVER ON SINGLE IMAGE

    Can anybody from Adobe help with this???
    I have the exact same problem. Very annoing, i tried everything, but no solution...
    Please guys!!!

  • [VB][CS5] Hyperlink on Rectangle problem - urgent

    Hi there,
    I got the a problem with VB and CS5. I try to do something like that:
    Dim mInDesign As InDesign.Application
    Dim mPub As InDesign.Document
    Dim mHyperlink As InDesign.Hyperlink
    Set mInDesign = GetObject("", "InDesign.Application.CS5")
    Set mPub = mInDesign.Documents.Item(1)
    Dim mRectangle as InDesign.Rectangle
    'REM - rectangleID is a Long parameter for this function and is a valid rectangle ID
    Set mRectangle=mPub.Rectangles.ItemById(rectangleID)
    Dim mHysperSource As InDesign.HyperlinkPageItemSource
    Set mHysperSource = mPub.HyperlinkPageItemSources.Add(mRectangle)
    Well, the bold underlined line of code creates error 13 - type mismatch!
    No mather what I am trying to use mRectangle.AllPageItems.Item(1), mRectangle.PageItems.Item(1), mRectangle.AllGraphics.Item(1) - still no success
    Watching the variable shows mRectangle as Variant/Object/Rectange and mRectangle.AllGraphics.Item(1) as Variant/Object/Image
    The Image is a JPEG Image....
    Any suggestions how to get Hyperlinks working with Rectnagle? (I cannot use TextFrame with InsertionPoint... it is Rectangle and I cannot change it)
    Regards
    Jarema

    I'm no VB expert, but what happens when you change:
    Set mRectangle=mPub.Rectangles.ItemById(rectangleID)
    to:
    Set mRectangle=mPub.PageItems.ItemById(rectangleID)
    Harbs

  • Point in Polygon/Rectangle problem.

    Hi,
    I'm want to find out, what points in my DB are inside an user-defined area.
    If I have a rectangle and treat it like a rectangle in the query:
    SELECT * FROM TABLE WHERE
    sdo_relate(point, mdsys.sdo_geometry(2003,8307,null,
    mdsys.sdo_elem_info_array(1,1003,3),
    mdsys.sdo_ordinate_array(-30,-30, 30,30)),
    'mask=INSIDE querytype=window layer_gtype=point') = 'TRUE'
    ...everything is ok.
    If I take the same geometry and use it as an polygon in the query:
    SELECT * FROM TABLE WHERE
    sdo_relate(point, mdsys.sdo_geometry(2003,8307,null,
    mdsys.sdo_elem_info_array(1,1003,1),
    mdsys.sdo_ordinate_array(-30,-30, 30,-30, 30,30, -30,30, -30,-30 )),
    'mask=INSIDE querytype=window layer_gtype=point') = 'TRUE'
    ...the result is wrong, there are lots of points that are definitely outside the area. The number of errors is rising the bigger the choosen area becomes.
    Any idea?
    Best regards
    Florian

    wateenmooiedag,
    this seems to work. Thanks.
    But: if I make the query window very large, than again I have wrong results.
    Here: http://gdsg.ngdc.noaa.gov/spatial_cookbook.html I found the sentence:
    Also, this query will not return the correct number of records if the selection area > one-half the surface of the earth
    This is exactly what I'm experienced.
    Now I ask myself: how should I use Oracle Spatial if it's not possible to aks for points that are inside a certain polygon (even if the polygon is more than half the world) ??
    siva,
    I understand what you mean.
    But in my case, the problem is not that I get little differences between the rectangle and the polygon. If I use the polygon, I get completely wrong results.
    For example: my query window is mdsys.sdo_ordinate_array(-100,-80, 100,-80, 100,80, -100,80, -100,-80 ), than I only get results that are outside the longitude area (-180 to -100 and 100 to 180).
    For me this seems to be a bug.
    Best regards,
    Florian

  • Fill and stroke a rectangle

    Hello.
    When I write the following text, adobe reader displays a red rectangle with a black border.
    10 w
    100 100 200 150 re
    1 0 0 rg   %red fill
    0 0 0 RG   %black stroke

    but when i use operators f and S the red rectangle is displayed without the border.
    10 w
    100 100 200 150 re
    1 0 0 rg  %red fill
    f
    0 0 0 RG  %black stroke
    S
    From a pdf reader perspective why in the second example the border is not displayed?
    Isn't  f+S=B ?
    Thank You.

    Correct.
    Again, please review that section of the PDF standard, it will explain everything.

  • Repaint(Rectangle ) problem

    Hi, anyone knows any problems calling repaint with a Rectangle parameter when the component doesn't fit in the window ( both width and height ).
    I'm trying to repaint an area delimited by a Rectangle, but when its bounds are outside of the window, width and height it doesnt repaint the area. Any idea ? thanks

    If you want to eliminate 'Flicker' in Java you have to override the update(Graphics g) method found in the java.awt.Container class.
    A call to repaint() calls update(Graphics g) first which by default clears the painting surface by painting with the background color (this causes flicker on a large area) after this there is a call to paint(Graphics g).
    There are two ways to proceed. Use 'clipping' if the area that is changing is quite small e.g. numbers on a digital clock or use 'double buffering' if the area is larger e.g. large animation.

  • IMAQ Overlay Rectangle problem

    Hello,
    I am trying to Overlay Roteted rectangle and fill it inside.
    I can't do it by IMAQ Overlay Rectangle - it doesn't accept rotations
    So I onvert Restangle to ROI and I use IMAQ Overlay ROI but now I dont have fill option
    Do You know  way around this??
    Solved!
    Go to Solution.

    Dear Pawhan!
    As far as i'm aware, you can have Rotated Rectangle overlays in Vision Assistant, so you can set one up in VA and create a LabVIEW VI from there. If you want to stick with LV Vision, try this code:
    Please tell me if this works for you.
    Best regards:
    Andrew Valko
    NI Hungary
    Andrew Valko
    National Instruments Hungary
    Attachments:
    Rotated Rectangle.vi ‏20 KB

  • Stroke Width Tool problems??

    I am trying to adjust the stroke width of a line, and whenever I try to adjust any part of it including the end points it widens the entire line, even though the preview shows it to be just a part of it?

    I figured it out! Somehow the lines I was working with were turned into a clipping mask and it didnt want to adjust the lines on it.

  • Rectangle problems can't see cel height

    Can anyone help me?
    I use the celheight to measure a height of a text?
    For some reason it dissapeared. I'll include a photo for what i mean i lost.

    Found it, it's was set in dutch so had to translate everything.

  • Gradient with stroke problem Illustrator CS3

    We make a gradient object in Illustrator CS3 and give it a stroke which is centered. Then we rotate the object and the gradient rotates with the object.
    But then when we put the stroke alignment to inside or outside the gradient fails. It shows the gradient in the original 0-position instead of the angle we have created. When we put the stroke alignment back to center the gradient shows as we meant it to show again.
    When stroke alignment is on outside or inside before we rotate the object it shows the same problem.
    But when I copy an object from CS2 with an angled gradient and a inside or outside aligned stroke. The problem isn't there. When we start copying the object within CS3 the problem shows again (not when I use alt-key to copy, but with ctrl+c and then ctrl+v, ctrl+f or ctrl+b).
    Illustrator CS2 didn't have this problem. But now in CS3 we have it. I used to have this same problem in old versions from Macromedia Flash. But I never had it with Illustrator.
    Is this a bug or do we need to handle our gradients in a different way when using Illustrator CS3?

    It's a memory issue. If you scale your artwork down (say, to 50%), then save, it should work (it can be scaled up in the page layout software). If you're using raster effects you'll have to make sure they scale as well and that your raster effects resolution is appropriate for the final output size.

  • Problem with stroke color and weight

    I have an illustration of a chair I am working on using Illustrator CC.  It is made up of a combination of shapes and open paths.  In order to get the illustration filled correctly I used live paint to fill the open paths.  I was in the process of adjusting the stroke weight and colors but one stroke will not allow me to make any changes.  The stroke color is marked witha  question mark and the weight will not change at all.
    Update:  I have since posting this copied my artwork and pasted it into a new document.  I was able to correct the stroke on the problem path, but now there is an entire section of the chair which will accept no fill...
    Any help is appreciated.

    If I were you I would provide a sample .ai file and include some instructions to reproduce the issue you're talking about.

  • AI to Fireworks drop shadow problem

    Hi,
    I'm importing .AI files into Fireworks in order to export them as .pngs because the raster quality is better than out of .ai,
    One of my files has a white box with a 100% black drop shadow on a grey background. In AI it looks fine, but when I open the file in Fireworks the shadow appears white, a bit like a glow.
    The shadow is set to 'Multiply' and has worked in other files.
    Any ideas why it's doing this? It's only on this file.
    See below:
    Thanks
    C

    This is a bit off-topic, but it relates to how Illustrator and Fireworks sometimes handle rasterization of vector objects differently, and I thought you might find it interesting. (This was done using Illustrator CS2 and FW8; I can't say whether CS5 behaves the same way or not.)
    The basic question is this: Where does a 1-pixel stroke belong on a vector object that's aligned to a bitmap grid?
    In Illustrator, with Snap to Pixel enabled (in Pixel Preview mode), the vector itself is aligned to the bitmap grid, and a 1-pixel stroke is balanced across both sides of the vector—appearing in effect as a lighter, 2-pixel, anti-aliased stroke. The result looks very imprecise. You can fix this by setting the Keyboard Increment (in Preferences) to 0.5 pixels, turning Snap to Pixel off, and nudging the object a half pixel in each direction using your keyboard arrow keys: Now the stroke, not the vector, is aligned to the bitmap grid.
    Theoretically, you should be able to adjust stroke position to handle this issue; however, I found that setting the Stroke to "Inside" produced an unexpected bit of anti-aliasing on one side of my rectangle. (This type of problem may have been fixed in a newer version of Illustrator.*)
    In Fireworks, vector objects tend to snap to the pixel grid automatically, as do strokes. But how can FW do this? After all, the default stroke position is center-aligned, just as it is in Illustrator. Well, it turns out that the application is willing to bend the rules a bit: A 25-pixel square with a 1-pixel stroke applied to it still only occupies 25 pixels on the grid, because Fireworks moves the stroke to the inside of the object. It cheats. Once you bump up the stroke weight to 2 pixels, the stroke alignment reverts to center. At 3 pixels, the stroke remains center-aligned but becomes anti-aliased, too.
    So anyway... I hadn't really sat down with Illustrator's Pixel Preview mode before. Despite the issues above, I think it's kind of neat in that it's like a window into the world of Fireworks and pixel grids. (In Fireworks, by contrast, you don't have the option of seeing vectors rendered smoothly at any zoom level, as in Illustrator's standard view mode.) I can't recall whether Preferences can be saved in a Workspace, but View settings can at least be saved as part of a template file, and you could probably set up a de facto workspace for working with pixels in Illustrator in a relatively short amount of time. This could help you avoid surprises when using "Save for Web" (as described in the article to which you linked).
    *Later, I was able to fix the "stroke inside" rendering problem in Illustrator by setting the stroke to .99px instead of 1px.

  • Export as jpg problem

    I have some serif type from which I've created outlines. I'm saving this doc as a pdf and also exporting it as a jpg so others can place it in different types of documents. I want to make a second version of the graphic by reversing the type onto a dark bkgrd. The pdf looks and prints fine but in the jpg the type doesn't appear. (All the nonserif as well as italic serif type has no problem). So I thought I'd put a white stroke around the problem bit of type. The white stroke appears in the jpg but it looks as if it's a white stroke around dark type, instead of a white stroke around white type, which is how it appears in Illustrator and Acrobat, and prints out as such. But once it goes to jpg, this problem occurs. I messed with the "knockout group" control in the transparency palette but didn't help. It's really got me stumped. Can anyone help?

    Yes you have the white set to overprint i the attributes panel select the letter and uncheck the option to overprint the white.
    This would only be good if there was a transparency setting of some kind for the white or for an effect using the white as shading device like a glow.
    You'll get this without the overprint option checked

  • Stroke issues Illustrator CS3

    Hello,
    When i give outlined text in illustrator CS3 a stroke of 0,1pt it seems like
    the stroke is put on in an angle (like its done with a brush)
    Expanding the stroke makes the problem even clearer.
    This problem seems to become less when i boost the stroke to 0,15pt.
    Opening the same document in CS2 gives no problems at all.. the stroke works as it should do.
    Any ideas on this?
    thnxs!!
    G5 PPC 2,5GHz dual 1,5Gb ram
    Mac OsX 10.4.11
    CS3

    TomWardrop wrote:
    On a side note, Illustrator CS3 has to be the buggiest adobe application I've ever dealt with. It has so many little annoying bugs, most of which are fixed in CS4. I shouldn't have to pay for an upgrade to CS4 just to get bugs fixed though, that seems wrong.
    You must not have used version 10.
    As for the outline issue... try Object > Flatten Transparency

Maybe you are looking for