How to get radius of round corner of rectangle in solidfill layer?

Is there any way to calulate the radius of round corner of roundRect in solidfill layer ?? help please!

Then it should not be hard to identify the PathPoints that for the straight parts and then evaluate the coordinates.
What’s giving you problems?

Similar Messages

  • How to make only one round corner?

    HI,
    How can I make only one (or 2) round corner on a square using the round corner effect?

    You don't say what version you're using, but I know that in CS3 (and probably CS4), there is a script installed that you can use.
    Draw your frame. Open the Scripts panel. Open the subfolders "Application", then "Samples", then "Javascript". With your Frame selected, double-click the script in the list named "CornerEffects.jsx". You'll be presented with a list of options to control what type of corner; and at the bottom the pop-up menu controls which corners get that type of corner.
    (Names may vary somewhat for CS4.)

  • Premiere Pro cs6 How to adjust radius of rounded rectangle

    I think my title covers my question.
    How do I adjust radius of rounded rectangle in Premiere Pro CS6? Trying to make a lower third and don't want the exaggerated rounded corner.  Is there a way to adjust the radius of the corner?
    Thanks

    how about using the pen tool? Either place your rounded rectangle in your spot (to use as a template, guide to line up, or practice pen) and draw over with the pen tool
    or, draw your rounded rectangle with the pen (no guide)
    with the pen - properties - graphic type - choose 'filled bezier'
    EDIT - just using the rounded rectangle tool, gives the properties- graphic type - round rectangle (ah, but then I also see a 'rounded corner rectangle')
    so, change option to 'filled bezier' and either delete middle anchor point of corner and use convert anchor point tool to pull out corners
    or - change option to 'filled bezier' choose pen tool, select middle anchor point, click, hold and move to your choice
    or I have misunderstood your rounded rectangle to be either
    1. round rectangle
    2. rounded corner rectangle

  • How to get top left stage corner coordinates after resize?

    hi,
    is there maybe a way to get top left stage corner coordinates
    after resize?
    or maybe get original stage size before resize? so i can
    calculate it.
    i know that you can collect the width and height before it is
    resized but is it possible after?
    --- sorry for the double post ---

    i donno exactly but try like this ,
    data: i_logo  type bds_typeid.
    data: lr_logo type ref to cl_salv_form_layout_logo,
    lr_content     type ref to cl_salv_form_element.
    i_logo = 'MY_SAP_LOGO'.
    IF i_logo is not initial.
    create object lr_logo.
    lr_logo->set_left_content( i_logo ).
    lr_content = lr_logo.
    endif.
    cl_salv_form_content=>set( lr_content ).

  • Feature Request: Maintain radius on rounded corner boxes when resizing

    Since I make a lot of "buttons" using the rounded rectangle tool it would be AMAZING if the corder radius is maintained when resizing using command-t.
    Currently the radius is squashed or stretched depending on which way I resize the box.
    Steps to see the incorrect behavior:
    Create a rounded rectangle box with a radius of any size (though the larger it is the easier the problem is to see eg: 8px)
    Observe that your corners are a nice 8px
    Select the layer with the rounded rectangle box and press command-t on mac.
    Make the rectangle narrower (a common function when the text in a button changes)
    observe that the corner radius is now <8px (the height is correct but the width is squashed narrower)
    Further, observe that if a box is downsized with constrained proportions (holding down shift key) the entire radius size is reduced
    Desired steps:
    Create a rounded rectangle box with a radius of any size
    Observe that the corner radius is N px
    Select the layer with the rounded rectangle box and press command-t on mac
    Make the rectangle narrower or resize in any arbitrary way
    observe that the corner radius of the box is still N px, as if the box had just been created
    THANKS!

    I second the motion!
    Someone else posted a request similar to this a few days ago as well, and it's a feature that would be very useful.
    It should be like the 'Rounded Corners' Effect in Illustrator, where you can drag and scale in any way without destroying the corner radius or changing it's actual radius.
    I too work with iOS and OSX developers creating UI graphics for mobile apps and web apps. Buttons and tool bars are common things I create every day now, and I'm sure a lot of us are moving in this direction.
    This would be a HUGE time saver!

  • How to get all LiveFeatures in a specific rectangle?

    Hi forum
    I use MapViewer 10.1.3, and I need to return an array of the LiveFeatures contained in a specific rectangle on the map; for this purpose, I've been looking at several methods in the Java API to achieve this:
    findLiveFeatures(int x, int y, int tol)As I understand this method, it only returns the LiveFeatures contained in a specific point, not a specific rectangle, since there are no "width" and "height" parameters. Is this correct?
    There's also this method
    highlightFeatures(int x, int y, int width, int height, java.awt.Graphics2D g2,
    java.awt.Color stroke, java.awt.Color fill, double pointRadius, double strokeWidth) This method seems closer to the goal, as it has width and height parameters, but as I can see, this method only does something similar to drawLiveFeatures() on a specific rectangle, there's not a way to get an array of the affected LiveFeature objects.
    Can someone advise on the approach on how to do this? I'm sure it's possible somehow using one of these methods, maybe in combination, I just haven't figured it out.
    Thanks in advance

    Hi Joao
    I solved the problem myself by subclassing the MapViewer class, adding the missing functionality using the intersects() method. I just still don't understand, why you don't provide this functionality in the library as an alternative to this "tolerance" parameter. I'll post my code here, maybe somebody else can benefit from it.
    import java.util.LinkedList;
    import oracle.lbs.mapclient.MapViewer;
    import oracle.sdovis.LiveFeature;
    import java.awt.geom.Rectangle2D.Double;
    public class MyMapViewer extends MapViewer {
      public MyMapViewer(String mapUrl) {
        super(mapUrl);
      public LinkedList getLiveFeaturesInRectangle(int x, int y, int width, int height)
          LinkedList theList = new LinkedList();
          LiveFeature features[] = getMapResponse() == null ? new LiveFeature[0] : getMapResponse().getLiveFeatures();
          Double rectangle = new Double(x, y, width, height);
          for(int i = 0; i < features.length; i++)
              LiveFeature livefeature = features;
    if(intersects(livefeature, rectangle))
    theList.add(livefeature);
    return theList;

  • How to get the area of a selected rectangle?

    Hi:
    I want to use the selected area in a automation plugin. In my case, the area is rectangle. i can't get the top,left,bottom and right position.
    Is there anyone can help me?

    I'm petty you sure can extract the details you want using a script. I think the method is called Selection Bounds, and it return an array of the unitValue of the rectangle.
    If you look at the scriptlistener code for creating a rectangle, it does record the data you want. So you should be able to extract it using Javascript, Apple Script or VB
    This is what the scriptlistener code looks like,
    // =======================================================
    var id5 = charIDToTypeID( "setd" );
    var desc3 = new ActionDescriptor();
    var id6 = charIDToTypeID( "null" );
    var ref1 = new ActionReference();
    var id7 = charIDToTypeID( "Chnl" );
    var id8 = charIDToTypeID( "fsel" );
    ref1.putProperty( id7, id8 );
    desc3.putReference( id6, ref1 );
    var id9 = charIDToTypeID( "T " );
    var desc4 = new ActionDescriptor();
    var id10 = charIDToTypeID( "Top " );
    var id11 = charIDToTypeID( "#Pxl" );
    desc4.putUnitDouble( id10, id11, 210.000000 );
    var id12 = charIDToTypeID( "Left" );
    var id13 = charIDToTypeID( "#Pxl" );
    desc4.putUnitDouble( id12, id13, 276.000000 );
    var id14 = charIDToTypeID( "Btom" );
    var id15 = charIDToTypeID( "#Pxl" );
    desc4.putUnitDouble( id14, id15, 455.000000 );
    var id16 = charIDToTypeID( "Rght" );
    var id17 = charIDToTypeID( "#Pxl" );
    desc4.putUnitDouble( id16, id17, 613.000000 );
    var id18 = charIDToTypeID( "Rctn" );
    desc3.putObject( id9, id18, desc4 );
    executeAction( id5, desc3, DialogModes.NO );

  • How to get Command key to enable/disable only "Automatically select layer..." functionality

    Hi everyone,
    With no updates or preference changes that I know of, PS started working differently for me today. With the Move tool I normally have "Automatically select layer..." option on. I can then select sub-groups in my Layers palette, hold the Command button to temporarily toggle "Automatically select layer..." off, and drag that sub-group around the canvas.
    Today when I toggle the "Automatically select layer..." button on, holding Command temporarily toggles it off.
    But when I toggle the "Automatically select layer..." button off, holding Command changes the "Layer/Group" option next to it.
    Does anyone know why this just started happening or how I can change it back and allow the Command button to temporarily keep sub-groups selected?
    Here's a quick video showing the issue: auto select.mov

    Looks like this is aggravating a ton of people.
    See a more complete thread here: Re: PS CC 2014 Move Tool Bug?
    And the feedback here, with an update from Adobe saying "we're working on it": Photoshop: Move Tool - Toggle auto select shortcut changed

  • How to get rid of a line from rectangle shape?

    usually my eraser tool works fine, but when i try to erase a line from a rectangle i made, it creates a black outline instead of erasing it. i took a video of what happens:
    the rectangle is over the image, which is made of regular lines. though i don't think that's causing the problem.

    Hi
    When you erase using the eraser tool the outline or stroke gets distorted creating a black outline. Try using the delete anchor tool or the Direct selection tool.
    You can even merge the triangle with the rectangle using the unite in path finder. (window -> path finder) shift ctrl+f9 
    Thanks
    Digiscape Gallery
    www.digiscapegallery.com

  • Can I edit the rounded corner preset in LR3, or how to make my own?

    Although I'm pretty much a LR newbie, I think I understand how presets are created. But I can't figure out how the rounded corner presets were done. I would like to have a much deeper rounded corner and I've made them in PS with the rounded corner marquee tool.
    But in LR3?
    Is there a way to display the "contents" of a develop preset?
    Robin in Short Pump

    Is there a way to display the "contents" of a develop preset?
    Yes, you can open it in a text editor. Right-click a preset in Develop and choose "Show in Explorer".
    A rounded corner like this?
    Set Feather to 0. Adjust Roundness for radius and Midpoint for inset amount.

  • Question of 'round corner' effects. Can't get it to work.

    Hi there. I am new to Adobe Illustrator and I have a basic question. I can't seem to get the 'round corner' effect to work as seen in this tutorial:
    http://blogspoon.s3.amazonaws.com/wp-content/uploads/2009/skate-deck/Picture-6.png
    I have used the 'Pen' tool to draw a line, and I have applied my saved brush type to the line and it works fine. The problem arises when I attempt to implement the "round corner' effect on the line, such that it bends the way it does in the screenshot above. After implementing the effect, I do not see any visible changes even when I set the radius to over 200px. The line remains straight.
    Any idea what I'm doing wrong?
    Thanks a million
    Josh

    They have this al wrong.
    The effect makes round corners but do not distort or change the path in any other way.
    If you add a point in the middle of the line and apply a round corner it will indeed make that point into a round corner but you will not be able to see it because the path is straight.
    here is a video and the paths do not have to 90º (perpendicular) to each other.
    http://mysite.verizon.net/wzphoto/round.mov

  • My iOS remains the same as whats inside my iPhone I bought it 18months ago, which is version 4.2.1, I am told by an Apple shop that its too old to do a proper update, unless all my data will have to be erased !! is this true ?  if so, how to get round it

    my iOS remains the same as whats inside my iPhone I bought it 18months ago, which is version 4.2.1, I am told by an Apple shop that its too old to do a proper update, unless all my data will have to be erased !! is this true ?  if so, how to get round it ?    Chuck

    Be sure to do a backup before updating as protection. Photos should
    be synced with your computer, music should be in iTunes, documents
    should be backed up on your computer as should contacts in whatever
    program you use on your computer. You should already have backups
    of your important information to prevent loss in case of theft, crash,
    physical damage. The question is not if your hard drive will crash but
    when, and you iPhone is not a backup device nor fit for the only
    source of any document, picture, music, movie, contact or otherwise
    irreplaceable information.

  • HT4623 i am unable to backup and sync my iphone since updating because it says i need itunes 11 however it will not install because i need a newer version of mac os, any ideas how to get round this ?

    Since updating because it says i need itunes 11 however it will not install because i need a newer version of mac os, any ideas how to get round this ?

    Update your Mac OS level.

  • I have this question mark (?) in the upper left corner of my Finder windows. Anyone know what's up with that, what it might portend, and how to get rid of it?

    I have this question mark (?) in the upper left corner of my Finder windows. Anyone know what's up with that, what it might portend, and how to get rid of it?

    Are you sure you have a PowerMac? They can't run Mac OS 10.6.8. Maybe a Mac Pro instead?
    Can you post a screen shot of that portion of the screeen for us to review? Does the question mark replace the Apple that's at the left end of the menubar?

  • The red, green and yellow buttons in the upper left corner of the screen disappear whenever I open Safari.  I cannot minimize the Safari window which I often need to do if I am coordinating multiple windows.  Does anyone know how to get those buttons back

    The red, green and yellow buttons in the upper left corner of the screen disappear whenever I open Safari.  I cannot minimize the Safari window which I often need to do if I am coordinating multiple windows between different applications.  Does anyone know how to get those buttons back?  I guess I could just switch betwen appliations, but I am used to doing it the other way.

    You're welcome 
    You had Safari in full screen mode.

Maybe you are looking for