Stroke inset from shape

Hi everyone,
I've drawn a basic rectangle and I need a 0.5 stroke around the shape but the stroke needs to be inset by 1mm in from the edge of the shape.
Is this possible to do in Indesign?
Appreciate any advice.

Well if you say 1mm is 2.835pt then the total width of the custom stroke will be 3.335pt.  0.5pt will be 15% of that so the dialog will look like this:
Click "Add" then apply that stroke to your shape.  Set the total thickness to 3.335pt and the colour of the gap to what you want.

Similar Messages

  • Fill/stroke gradients from shape tool option bar: editing color stop/midpoint location values

    Hi!
    In PS6 beta 1 (20120305.m415), the new gradient editor available from the shape tool option bar, used to edit gradient for both fill and stroke, doesn't contain editable stops location percentage input fields.
    Those are available from the traditional gradient editor dialog box, for opacity and color stops and midpoints. They are quite handy to create gradient with some precise stops.
    Could you please enhance the new gradient editor and add either these two location fields, or at least, a tooltip which displays a stop/midpoint percentage value as we drag it?
    Thanks,
    el' ~

    If you click on the gradient bar it will bring up the full gradient editor.

  • Assigning stroke attribute from one shape to fill attribute of another shape using eyedropper tool?

    Unalbe to use eyedropper tool to pick up stroke attribute from one shape to use in fill of another shape. I shift click with my eyedropper tool on stroke but does not transfer that color to my fill color of other shape. Fill color shows correctly in tools panel but not in shape or control panel.

    I have through trial and error discovered as a fifth step to JamArtz instructions, if I go to the color panel flyout menu and click on CMYK, my effect will take effect: I know this to be a band aide solution not a fix. Can’t see anything in my preferences to cause the issue.
    1.Select the destination object (the one for which you want to change the fill).
    2. Make the fill swatch in the Color Panel active (important step).
    3. Select the eyedropper.
    4. Shift-click on the stroke of the source object (the one whose stroke you want to apply to the fill of the destination object).
    5. From the Color Panel fly out menu, click on CMYK (which is already toggled on) the change will take effect.

  • Can't remove stroke from shape CS6 Mac

    Hi, I've not run into this before, but haven't used Pshop CS 6 a lot.
    I am setting the stroke to 0 and none, but Pshop keeps putting a stroke around the shape:
    http://screencast.com/t/J7sgWJpF
    Not sure what is wrong or how to fix it.
    Thanks
    Jeff

    To me that looks like the path instead of a stroke.
    (path outline)
    After you add the shape and press the enter/return key or if you switch to a different tool such as the Hand Tool does the stroke go away?

  • Apply 3D stroke to a shape layer?

    hi all
    I have some animated paths set up in a 3D scene, using shape layers (I used shape layers to have square capped lines instead of round caps:)
    I wanted to try using 3D stroke, instead, to give a bit of thickness to these lines/paths... but I'm having trouble
    Is it even possible to apply 3D stroke to a shape layer?  When I try it, the path just disappears (story of my life haha)
    cheers
    LML

    The After Effects CC (12.2) update makes creating Bezier paths easier and more obvious.
    option for creating shape layers based on Bezier paths:
    When a shape tool (Rectangle, Rounded Rectangle, Polygon, Star, or Ellipse tool) is active, you can use the new Bezier Path option in the Tools panel to create a new shape based on a Bezier path, as opposed to the default of creating a new shape based on a parametric path. Holding the Alt (Windows) or Option (Mac OS) key while drawing a shape causes the opposite behavior—i.e., if the Bezier Path option is enabled, holding the Alt or Option key causes the shape tool to create a parametric path; if the Bezier Path option is disabled, holding the Alt or Option key causes the shape tool to create a Bezier path.
    command for converting a parametric shape layer path to a Bezier path:
    You can convert a parametric path to a Bezier path after the parametric path has already been created by context-clicking (right-clicking or Control-clicking on Mac OS) the property group for the parametric path (e.g., Rectangle Path 1) and choosing the Convert To Bezier Path command from the context menu. If the parametric path is animated (keyframed), the converted Bezier path is a static path based on the parametric path at the current time; keyframes are lost.
    IMPORTANT: When you use the Convert To Bezier Path command to convert a parametric shape path to a Bezier shape path, the Bezier path that is created does not animate well (i.e., interpolation between paths behaves strangely and unpredictably). This is related to path direction and how transformations are stored. For now, you should not use these converted paths for animated paths (interpolation between paths); but, if you do want to try, you may be able to work around the issues by reversing the path before conversion.

  • Set Stroke Alignment from JavaScript

    Hi,
    I'm trying to set the stroke style for a path item I've drawn through JavaScript, however I can't find a way to set the stroke alignment for my path item.
    I've checked the Illustrator JavaScript reference but I can't seem to find that option in there.
    I would expect something like:
    pathItem.strokeAlignment = StrokeAlignment.OUTSIDE; // This doesn't work, what is the correct way to set the stroke alignment from JavaScript?
    If I change the option in the Actions Panel it comes up as 'Set Stroke/Alignment: Outside', so there must be an equivalent way of setting it from JavaScript.
    Is there a way of converting Actions to JavaScript so you can see which properties and attributes are being set on the object?
    Does anyone know the correct way to set the strok alignment from JavaScript?
    Thanks!

    You can only call an action from JavaScript in CS6… (I don't have this). Up until then it was AppleScript and Visual Basic only…
    Document raster effects you do have access to…
    Class
    RasterEffectOptions
    The document raster effects settings.
    Class
    Property
    Type
    Access
    Description
    antiAliasing
    bool
    r/w
    Should the resulting image be antialiased. (default: false)
    clippingMask
    bool
    r/w
    Should a clipping mask be created for the resulting image. (default: false)
    colorModel
    RasterizationColorModel:
    RasterizationColorModel.DEFAULTCOLORMODEL
    RasterizationColorModel.GRAYSCALE
    RasterizationColorModel.BITMAP
    r/w
    The color model for the rasterization. (default: RasterizationColorModel.DEFAULTCOLORMODEL)
    convertSpotColors
    bool
    r/w
    Whether to convert all spot colors to process colors in the resulting image. (default: false)
    padding
    number
    r/w
    The amount of white space (in points) to be added around the object during rasterization. (default: 0)
    resolution
    number (range: 72.0 - 2400.0)
    r/w
    The rasterization resolution in dots-per-inch (dpi) (default: 300)
    transparency
    bool
    r/w
    Should the resulting image use transparency. (default: false)

  • Can the new feature, "New Guides from Shape" be configured to get the baseline?

    I love the new Guide Features, long overdue. This could exist otherwise I'll put in a Feature Request.
    New Guides From Shape on text is auto-locating the outer bounds, so the descender line at the bottom:
    I'd like it to instead use the more appropriate Baseline:
    Is this already possible? One of the first things I did was Shortcut the feature since this is something I do so often manually --- it would be great if it could do Baseline though either in addition to (holding shift or something) or in place of the descender line. That's what designers use to align text. Guides already snap to baseline so Adobe has the system in place already.

    I that work-around would be less efficient than typing the actual copy, doing the New Guides from Shape, and then adjusting the bottom guide. Especially when working on a complicated piece that requires adding and clearing guidelines as you go to stay organized. It would be very problematic to filter out descenders every time you want to guideline a particular block of text.

  • Get stroke color of shape

    Hi,
    I need get stroke color of shape in photoshop, but I only find how to get fill color, any suggestion?
    function getFillColor() {
       var ref = new ActionReference();
       ref.putEnumerated( stringIDToTypeID( "contentLayer" ), charIDToTypeID( "Ordn" ), charIDToTypeID( "Trgt" ));
       var ref1= executeActionGet( ref );
       var list =  ref1.getList( charIDToTypeID( "Adjs" ) ) ;
       var solidColorLayer = list.getObjectValue(0);      
       var color = solidColorLayer.getObjectValue(charIDToTypeID('Clr '));
       var fillcolor = new SolidColor();
       fillcolor.rgb.red = color.getDouble(charIDToTypeID('Rd  '));
       fillcolor.rgb.green = color.getDouble(charIDToTypeID('Grn '));
       fillcolor.rgb.blue = color.getDouble(charIDToTypeID('Bl  '));
       return fillcolor;
    Thank you

    Does this work in Photoshop CC? (edited)
    // 2014, use it at your own risk;
    #target photoshop
    if (app.documents.length > 0) {
    var ref = new ActionReference();
    ref.putEnumerated( stringIDToTypeID("contentLayer"), charIDToTypeID("Ordn"), charIDToTypeID("Trgt") );
    var layerDesc = executeActionGet(ref);
    var strokeSt = layerDesc.getObjectValue(stringIDToTypeID("AGMStrokeStyleInfo"));
    var strokeStyleColor = strokeSt.getObjectValue(stringIDToTypeID("strokeStyleContent")).getObjectValue(stringIDToTypeID("color"));
    alert (strokeStyleColor.getDouble(stringIDToTypeID("red"))+"\n"+strokeStyleColor.getDouble(stringIDToTypeID("grain"))+"\n"+strokeStyleColor.getDouble(stringIDToTypeID("blue")));

  • Removing fill colors from shapes?

    I drew some squares using shape layers and filled them with white and added a stroke using layer styles.
    How can I remove the white fill color and make them transparent so they reveal the layer underneath?
    Thanks.

    Doing this gets rid of the stroke I applied through Layer Styles. How can I keep a stroke around the shape?

  • Pen tool-deleting section from shape

    hey i'm wondering if anyone can help me out - i'm using the pen tool in illustrator to draw shapes. I want to pen sections within the shape that i can delete and make hollow. I can't seem to work out how to do this...any advice appreciated.

    badbrains,
    If you create a path on top of and inside another path, you may select both, and Object>Compound Path>Make, or Pathfinder>Minus Front (Subtract from Shape Area in older versions where you need to press Alt/Option).

  • Unable to click "subtract from shape"

    So basically, I'm trying to make a ring layer and when I attempt to click subtract from shape, it goes onto it for about a third of a second then goes right back to new layer. Help ASAP

    I do not understand your reply... this is not twitter, please use full words... a program would be Photoshop or Lighroom or Muse or ???

  • Subtract from shape???

    Hi folks,
    Can you please help me.  I am new to Illustrator and have been trying to follow along with some lessons in the book.  I have creates to circles and am trying to overlap one across the other to subtract and make a cresent mmon shape from the one below.  I am going to the Pathfinder pallett at instructed, pressing ALT and clickink on the "Subtract from Shape" but nothing happens??  Could you please advise me?
    Thanks
    Mark

    Thanks,
    I'm actually using CS.  I tried what you said, but it didn't work?
    Thanks anyway!
    Mark

  • Knocking out from shape mode

    Using CS3
    I know how to use "Shape mode > subtract from shape" to knock out a hole in a shape - when there are only two items involved; but how do I do this:-
    I had three squares side by side, each a different colour; and I wanted to knock out an arrow shape over the top of them. The result I'm getting is either knocking out from only one of the shapes; or all the squares turn to the same colour.
    Probably very simple.........

    If, for whatever reason, you needed to keep your artwork all vector (opacity masks introduce raster elements if the artwork must go to print):
    1. Select the arrow shape
    2. Object>Path>Divide objects below
    3. Direct select the paths that represent the (now broken up) arrow and Delete.

  • How do you keep strokes, etc, from changing when copying & pasting?

    I am sure there is a simple solution to this problem, but I cannot figure it out and could use some help.  I have a graphic in one InDesign document (ID CS4 - using Windows XP Pro) and when I try to copy and paste it into another ID doc, it completely changes the strokes and fills.  It usually does the opposite of what is in the graphic (this happens with every graphic I try this with).  So if I have a circle that is stroke only, when I copy and paste it, it comes in with no stroke and a fill.  I have to use these graphics between documents frequently and some of them are complicated, making it difficult to spend the time correcting this problem.  When I tried adding the graphic to a library, it did the same thing.  It also changed it when I moved one page to another document.  Anyone have any ideas why this might be happening and how to make it stop? 
    Thanks,
    GS

    Thanks for the reply.  While it wasn't the preferences, I did find a link on the link you included in your answer that led me to the solution.
    The problem was conflicting object styles.  The solution was to load the object style from the doc that included the graphic into the doc that I wanted to place the graphic in.  Then when I copy & paste, the graphic comes in perfectly.  The only problem is if there are other graphics in that doc, but now that I know there is an issue with object styles, I can pay attention to it as I design.
    I can always count on the forum for great answers!
    GS

  • Is it possible to turn a stroke into a shape? Is it possible to expand a shape so that it grows out?

    If I have an organic shape (ie not a square or circle) and I want to give it an outline, but not use stroke, if I place a copy of the shape below it and expand it then the outlines don't match up, and for very complex shapes it can be time consuming to adjust it. If I could put a stroke on it then extract it into a shape, that would be one way.
    Alternatively, is it possible to expand a shape so that it grows out, similiar to expanding a selection in Photoshop?
    I'm using Illustrator CS3, but let me know if it's possible in other versions.

    Object > Path > Offset path
    also available as an effect

Maybe you are looking for