Layer With a shape

In a javascript I am getting a layer from the document. Is there a way to get the bounds of a shape on that layer?
Thanks.

If the layer is a shape layer you can get the bounds of the shape with the bounds property.
app.activeDocument.activeLayer.bounds

Similar Messages

  • Masking a Solid Layer with an Effect

    Should be easy, you would think.
    I have a solid layer (white) with a radio waves effect applied to it.  I've got the effect dialed in and it's what I want, but I want to mask off just a triangular portion of this layer, creating a beam shape (not eminating in 360 degrees.)
    But my mask has no effect on the effect, if you know what I mean.  I've tried inverting the mask and changing the mask modes but nothing works.
    Isn't there a way of masking a shape layer with an effect on it?
    Thanks.

    Precompose or nest.
    Apply the triangular masking to the nest.
    Think of it this way, your'e making a movie of the radio wave effect then importing the movie and applying a mask to the movie.
    You can also set Radio Waves to use closed but custom shapes as the emission source but that's often more trouble than simply masking a nested pr precomposed sequence.
    bogiesan

  • How do i take one layer with multiple selections...

    how do i take one layer with multiple selections and make those selections their own layer?

    Yes sir. It w was really hard to explain. It is discontiguous segments that are separated by transparent areas. And I want those non transparent areas to be on their own layer. I have a photo shop file that has a bunch of buttons on them and they are on a transparent background. It is one layer. I want to select all the buttons and put them on their own layers. I can do this manually by selecting a button and cmd Just to a new layer, but when I have 200 buttons it is a daunting task.
    Sent by MailWise<http://www.mail-wise.com/installation/4> – Your emails, with style.

  • Blending mode is not working with the shapes(rect) in Photoshop cs6 Extended?

    When i am working with the shapes like rect/circle, if i want to add some blending options like gradient overlay, its not applying to the shape.

    It looks like you have a large stroke applied to your shape.
    Set the Stroke to No Color

  • How to make type flow with the shape of an object?

    Hi there,
    I am a bit of an Illustrator newbie. I am needing some help to work out how to wrap or manipulate type to fit the shape and flow of an object? I have attached an image to show you what I am trying to do. I want the "shop by measure" text to be in the yellow blank space of the tape measure but flowing with the shape of the tape. Any help appreciated! Be gentle please lol.

    See online help. Read about Envelope Distortion. Then keep things simple as you experiment. This takes about 2 minutes.
    When doing "ribbon distortions," selecting corresponding top and bottom MeshPoints as pairs and moving/scaling/rotating them together helps avoid things getting all distorted out of control. See this PDF for an example. The example was done using a 1 Row, 2 Column Mesh.
    JET

  • Where is the "allow objects on slide to layer with master" in Keynote 6??

    Upgrading to Keynote 6 has broken my presentations. I had borders on the master slides, supposed to appear over any other content.
    Now the content of the slides systematically goes over the master slide. I searched the web and found that in previous versions there was a "allow objects on slide to layer with master" option.
    Where is it now?? Anyone has an idea?
    Thanks

    FYI, this is the error message I'm getting when opening the presentation. "Slide objects were moved in front of master objects"

  • Grouping Adjustment layer with Gradient Fill layer

    Page 151 of "The Missing Manual" suggests that one should be able to group a Levels Adjustment layer with a Gradient Fill layer so that the levels adjustment fades out to one side.
    If I understand this correctly, the setup would be:
    Levels Adjustment Layer (grouped with layer below)
    Gradient Fill layer (with a gradient from Opaque to Transparent)
    Photo in Background layer
    but I cannot get the desired effect of original picture on one side blending through to adjusted levels on the other.
    I can get the desired effect if I dispense with the Gradient Fill layer and simply manually create the gradient on the mask of the Levels Adjustment layer but this loses the advantage of easy adjustment of the gradient.
    [Thanks to those who answered my question about linking a mask to a layer. As this is a separate query, I thought it best to start a new topic]

    Sanders1,
    I thought I'd try it, myself, and got results that I did not expect...
    http://www.pixentral.com/show.php?picture=1OVdT0C7oX46DsPm6TrfT5xxrm3h
    1 - The background image.
    2 - I created a Gradient Fill layer using color (red) to transparent.
    3 - I created a Levels Adjustment layer, set to reduce red and green,
    leaving a blue image.
    4 - I grouped the Levels Adjustment layer with the Gradient Fill layer.
    Is this the type of result you are seeing? I wonder what is the logic.
    Byron

  • Replace colors on multiply layer with predefined color

    Hello,
    This is my first time here and I've tried to find an answer to my question but haven't been able to. Maybe someone can help me whith this.
    My process:
    I scann my artwork (linedrawing)
    I color my artwork with multiply mode on different layers (as i'm sure many do)
    Now what I haven't been able to figure out is how to replace the color on this multiply layer with a predefined color from my colorswatch.
    I've found tutorials on how you can change colour  around by using hue/saturation and stuff like that but I have a predefined colorpalette. So I just want to replace a certain color blue I always work with, for a specific color green from my palette.
    I've used the replace brush tool but the colors that appear are a blend of the first color and the second color I use.
    So my solution so far has been to set up a new layer and color again. I'm hoping there is an easier way.
    Thanks in advance for your suggestions!
    Kind regards,
    Lineke from Amsterdam

    You could have a Color Fill layer for each color selected from your Swatches, with the blending mode set to Multiply, and the layer mask filled with black. Then, paint on the mask with white to do your coloring.

  • Capture Screen from Video Layer with MHP application

    Hi MHP folks!
    Does anybody know how to capture a image / frame from the video layer with a MHP application?
    I am happy about every answer!
    THX a lot
    Bernhard

    There's no standard way to do this in MHP.

  • Creating an O/R layer with TopLink from Ant or a script

    We're currently using JDeveloper and BC4J to generate an O/R layer that simply creates a BC4J entity for each table in our schema with the appropriate associations between tables. The problem with this approach is that it is very brittle. Any change in the database breaks the BC4J layer and we have to recreate the entire thing. Using the JDeveloper wizzard is labor intensive and we want to automate the task of creating a new O/R layer with a script or Ant task, but unfortunately there is no way to do this with JDeveloper.
    Can we use TopLink to generate an O/R layer using a script or Ant task instead of the workbench? It would be a great time saver for us if we could point TopLink to our schema and have it generate an entity per table with the correct associations without having to use the workbench.
    Thanks.

    I have seen some customers do this, although not necessarily with ANT (it was a while ago). We do ship the Deployment Descriptor DTD (search your TopLink install for *.dtd). That should help you generate the mappings. You're on your own with the code, none of the code gen API's are available on the command line outside the MW.

  • Baking a Layer with Camera Movement

    Picking up on my adjacent post...
    I'm trying to bake a layer in a project that has camera movement... we start on a man in closeup and then we zoom out to a long shot. But if I turn off the camera, the man is in closeup and stays that way. Baked and imported into the project, you'll have just the man's head when the camera pulls back in the live project.
    With the camera on during baking, there's the move. But now import that into the project, and the camera motion is double applied -- the baking time and the live time.
    How is this done?
    Thanks very much for your help.

    You can export the layer with the camera turned on, which will "bake in" the camera move, then when you bring it back in, put it in a 2D group so that it's not affected by the project camera.

  • Re-size Layer with Smart Filter without affecting Smart Filter aspect of the layer

    I made a wax seal on photoshop with a lot of embossment, bevelment and a Smart Filter. It's done and I just need to make it smaller so it fits well on my certificate. When I resize it (Ctr + T) It pops up a messgae that reads:
    Adobe Photoshop CS6 Extended
    "Smart Filters applied to layers contained in this group will be turned off temprarily while the transform is being previewed. They will be applied after commiting the transform."
    OK
    [] Don't show again
    I click OK and I re-size the layer with free transform, and then hit enter. The Layer is resized but my Smart Filter which cretaes a wavy affect around the seal is totally distorted.
    How do re-size my layer with smart filter without affecting the smart filter aspect of the layer

    Right-click on the name of the Smart Object layer in the Layers panel to get the menu shown below. Pick "Convert to Smart Object" to encapsulate the SO and its Smart Filter and Layer Styles inside a new SO which can be resized without changes in appearance.

  • Working with polygon shapes and defining active/non-active mouseover areas (imported shapes)?

    Hey guys!
    Really struggling with this one. Since Edge only has rectangles and ellipses built in as available shapes, how to I/we work with polygon shapes and active mouseover areas INSIDE of these shapes and non-active mouseover areas OUTSIDE of the shapes?
    Problem/symptom: when I import a polygon, be it any file format from from Photoshop or SVG from Illustrator, a rectangular border/background (transparent) gets applied, leading to this rectangle defining the mouseover area of the shape - and not the shape itself (be it a star or whatever).
    WHAT I WANT: the very shape defines the mouseover area. How do I achieve this?? See examle below:
    WHAT I DON'T WANT: how is is now:

    Thanks for your answer, resdesign.
    I've had a look at the edge commons library, and it seems like it opens up a lot of possibilities. However, I cannot figure out how to access/target individual shapes and layers for applying effects like you would with symbols (rotation, colorchange and so on).
    WOULD BE GREAT TO HAVE THE SHAPES INSERTED ON SEPERATE TIMELINES for further work and effects manipulation - is this somehow possible? So that one could reach the shapes from the stage with something like:
    sym.getShape("shapename");play("show");

  • Photoshop in Adobe RGB 16 bit don't fill a layer with paint bucket and a color 35.40.35.100.

    I create a new file in RGB profile Adobe RGB 16bit
    take the paint bucket and fill the layer with a color created by selector with the following parameters 35.40.35.100 CMYK and RGB corresponds to 24.20.18 the result is a full level of color 76.73.63.9 but in RGB corresponds to 24.20.18 because the values in cmyk not match ??

    Could you please post screenshots (with the pertinent Panels visible) to illustrate the issue?
    Are you not aware that you cannot reliably define a CMYK color in RGB because the transformation is performed through the Profile Connection Space (Lab) and depends on the involved Color Spaces/ICC profiles (edited) and the Color Settings?

  • Photoshop CS6 Beta does NOT fill Layer with 50% Gray when in CMYK-Mode

    1. Open a CMYK-Document
    2. Create a new empty Layer
    3. Use the "Fill..." command with the option "50% Grey"
    4. Result should be: 50% Cyan, 50% Magenta, 50% Yellow, 50% Black, but is 49% Cyan, 40% Magenta, 39% Yellow, 27% Black
    -> while this function is normally used to create a layer with the blending mode "Overlay" to have a basis for an "invisible" layer where you can lighten/darken the image or add noise to it, the function "fill with 50% Grey" is malfunctioning now, because this affects an image modification instead of being invisible.

    There's a definite difference between Photoshop CS5 and CS6:
    Noting that the B value is now 50% in the HSB readout, could it be that this may be an intentional redefinition of ''50% Gray''?
    -Noel

Maybe you are looking for

  • Zen Micro Headphone jack, out of warre

    Hi there I have a zen micro that I got last year from someone, without a receipt. Recently I got the headphone jack problem that everyone has been getting. I emailed customer support about this and they emailed me back saying this: "Based upon the ag

  • Can i join a list in sub-site using Join query?

    Hi all, I'm newbie and i have tried to join a list in parent site with a list in sub-site using Join query but i always get the error. How can i do this action? Thanks!

  • Can't deleted files from hdd despites itunes managing the library

    Hey, I ran into a little problem today. I am rather new mac user and absolutely loving it. My itunes is setup with the library in the Shared folder with all the same access rights, which allows me to have the same library for both users on the comput

  • CS6 Presets, Plugins & Workspaces

    Okay I give. How the heck do I migrate (import) my presets from CS6 to CC? When I first opened Photoshop, it asked me if I wanted to migrate my presets. Illustrator never asked and I can't find a way to do it. I also need to migrate/import my plugins

  • Jre for solaris x86

    hi, I know that there is a separate JRE for Solaris X86. But my problem is that i have Solaris x86 installed an amd 64 bit machine and also on an Intel 64 bit machine. I would like to know if it is possible to use the same jre for both the machines.