How do I turn on the X and Y coordinates for the location of the mouse on screen?
I have Photoshop CC. I'm creating interfaces and would like to be able to know the location of my mouse.
Although I can't currently check as i don't have photoshop CC on this computer, from past experience if you go
Window -> Information
A palette should appear with the coordinates of the cursor in it.
Press F8 to open info palette. That will show your mouse position in x and y coordinates.
You can also press Ctrl + R to view the ruler. Then take the mouse to the top left corner and by dragging from there you can change 0,0 coordinates of x,y position to anywhere on canvas.
when you draw something like rectangle and draw with pressing space bar. It will show lively width height and x y coordinates as well in Photoshop CC
Position with guides and the grid
Guides and the grid help you position images or elements precisely. Guides appear as nonprinting lines that float over the image. You can move and remove guides. You can also lock them so that you don’t move them by accident.
Smart Guides help you align shapes, slices, and selections. They appear automatically when you draw a shape or create a selection or slide. You can hide Smart Guides if you need to.
The grid is useful for laying out elements symmetrically. The grid appears by default as nonprinting lines but can also be displayed as dots.
Guides and grids behave in similar ways:
Selections, selection borders, and tools snap to a guide or the grid when dragged within 8 screen (not image) pixels. Guides also snap to the grid when moved. You can turn this feature on and off.
Guide spacing, along with guide and grid visibility and snapping, is specific to an image.
Grid spacing, along with guide and grid color and style, is the same for all images.
Show or hide a grid, guides, or smart guides
Do one of the following:
Choose View > Show > Grid.
Choose View > Show > Guides.
Choose View > Show > Smart Guides.
Choose View > Extras. This command also shows or hides layer edges, selection edges, target paths, and slices.
Place a guide
If the rulers are not visible, choose View > Rulers.
Note:
For the most accurate readings, view the image at 100% magnification or use the Info panel.
Do one of the following to create a guide:
Choose View > New Guide. In the dialog box, select Horizontal or Vertical orientation, enter a position, and click OK.
Drag from the horizontal ruler to create a horizontal guide.
Drag to create a horizontal guide
Dragging to create a horizontal guide
Hold down Alt (Windows) or Option (Mac OS), and drag from the vertical ruler to create a horizontal guide.
Drag from the vertical ruler to create a vertical guide.
Hold down Alt (Windows) or Option (Mac OS), and drag from the horizontal ruler to create a vertical guide.
Hold down Shift and drag from the horizontal or vertical ruler to create a guide that snaps to the ruler ticks. The pointer changes to a double-headed arrow when you drag a guide.
(Optional) If you want to lock all guides, choose View > Lock Guides.
Move a guide
Select the Move tool , or hold down Ctrl (Windows) or Command (Mac OS) to activate the Move tool.
Position the pointer over the guide (the pointer turns into a double-headed arrow).
Move the guide in any of the following ways:
Drag the guide to move it.
Change the guide from horizontal to vertical, or vice versa, by holding down Alt (Windows) or Option (Mac OS) as you click or drag the guide.
Align the guide with the ruler ticks by holding down Shift as you drag the guide. The guide snaps to the grid if the grid is visible and View > Snap To > Grid is selected.
Remove guides from the image
Do one of the following:
To remove a single guide, drag the guide outside the image window.
To remove all guides, choose View > Clear Guides.
Set guide and grid preferences
Do one of the following:
(Windows) Choose Edit > Preferences > Guides, Grid, & Slices.
(Mac OS) Choose Photoshop > Preferences > Guides, Grid, & Slices.
For Color, choose a color for the guides, the grid, or both. If you choose Custom, click the color box, choose a color, and click OK.
For Style, choose a display option for guides or the grid, or both.
For Gridline Every, enter a value for the grid spacing. For Subdivisions, enter a value by which to subdivide the grid.
If desired, change the units for this option. The Percent option creates a grid that divides the image into even sections. For example, choosing 25 for the Percent option creates an evenly divided 4‑by‑4 grid.
Click OK.
To the top
Work efficiently with Smart Guides
Smart Guides come in handy in several scenarios, such as the following:
Option (Mac)/Alt (Win) + Drag a Layer: When you drag a layer while keeping the Option (Mac) or Alt (Windows) key pressed, Photoshop displays reference measurement guides showing the distance between the original layer and the duplicate layer. This feature works with both the Move and Path Selection tools.
Distance between the layers: original and duplicate
Distance between the layers: original and duplicate
Path measurements: Photoshop displays measurement guides while you're working with paths. Measurement guides are also displayed when you select the Path Selection tool and then drag a path within the same layer.
Path measurements
Path measurements
Matched Spacing: When you duplicate or move an object, Photoshop displays measurement guides to visually indicate spacing between other objects that match the spacing between the selected object and its immediate neighbors.
Cmd (Mac)/Ctrl (Win) + Hover Over a Layer: You can view measurement guides while working with layers. With one layer selected, hover over another layer with the Cmd (Mac) or Ctrl (Windows) key pressed. You can use arrow keys in conjunction with this feature to nudge the selected layer.
Measurement guides while working with layers
Measurement guides while working with layers
Distances from the canvas: When you hold down the Cmd (Mac) or Ctrl (Windows) key while hovering outside a shape, Photoshop displays distances from the canvas.
Distances of a shape from the canvas
Distances of a shape from the canvas
Spacing between matched objects
Related
My Labels are crowded, I want to space them away from the points by add leader lines to make it clear which label is for which datapoint
You can use the "Easy Custom Label" plugin to do this.
EasyCustomLabeling is a plugin for QGIS, designed to simplify the work for manual and data defined labeling. The tool duplicates a data vector layer into a new memory layer made of lines, adds all necessary fields for advanced custom labeling like label location, rotation, color, font, callout, alignements. The resulting layer is activated ready to use labeling tools. Data is saved in Memory Layer provider, which means it is NOT saved to a file or a database. To make these layers persistent, please install Memory Layer Saver v3.2 or higher plugin, that saves all memory layers to a qdatastream file along the project named myqgisprojectname.qgs.mldata.
Once you have turned on the label toolbar you can press the easy label button to make a copy of the layer, you can then drag and drop any labels that you want to move and a leader line will be automatically added.
https://gist.github.com/kgjenkins/1af82a8ffdc3c99bb886e6cd9cdc298f
Callouts, sometimes called leader lines, are lines between labels and features on a map. They are useful when constraints of space force a label to be moved away from the feature. The callout helps to reconnect the label to the feature it refers to.
image
There are probably multiple ways to do this, but here is one way using a geometry generator in QGIS 3.x:
callouts_qgis
Turn on labels for the layer
•Style dock > Labels tab
•Change "No labels" to "Show labels for this layer"
•Select the field to "Label with"
Move individual labels
The upgrade to QGIS 3.0 has made label placement easier to customize. When you move a label, QGIS tracks the new location using hidden auxiliary storage fields that we'll use to draw the lines.
•Make sure the Label Toolbar is enabled (View menu > Toolbars)
•Select the "Move Label" tool image
•Click and drag the to move the labels. (The first time you click to move a label, you will be asked for a primary key to use for tracking the labels. Pick a field that has an id or otherwise unique values within your layer.)
Add the callout lines
•In the layer styling dock, click the green + to add a new marker component
•Set "Symbol layer type" to "Geometry generator"
•Set "Geometry Type" to "LineString / MultiLineString"
•Enter the following expression:
make_line(
make_point($x, $y),
make_point( "auxiliary_storage_labeling_positionx" , "auxiliary_storage_labeling_positiony" )
)
image
Improve the label display
•Add label buffers ("halos") so that the lines won't obscure the text of the label (3rd tab in the style dock)
•Adjust the label placement (6th tab in the style dock), data defined > alignment ◦set the horizontal alignment to 'Center'
◦set the vertical alignment to 'Half'
I am taking a class online and one of the projects is to create a label.
In Xcode, I have centered it on both the vertical and horizontal axis, but when I run the simulator, and its always to the right side, not centered. I even tried it with other simulated phones.
This happens with text fields too.
I'm really not sure what is wrong, because in Xcode it is displaying correctly.
Follow these steps.
First Drag and drop a UILabel.
2.Check below picture
Now click on the green circle icon (right - bottom corner, second from left) shown in below image
Then you can see a popup appears like below image, click on "Horizontally in Container" option.
5.Click on this red circle icon(right-bottom corner)(next to the previous green circle icon), Then you can see another popup like below image.
Now you can see a popup like this
In this Uncheck " Contrain to margins" options so it will look like this below image
Save and Run your code, so you can see the UILabel at center for all devices.
Output will be like
Is it possible to change the size of an existing svg using svg edit? I https://code.google.com/p/svg-edit/ I have a rather large svg that I wish to scale down. Google's tool doesn't have an icon (that I can see) to scale the size
Scaling an entire SVG document isn't really supported as a button press or anything but it can be accomplished.
Open your project into SVG-Edit, select everything (press A on your keyboard) then right click and choose Group. Then go to Menu > Document Properties and enter your new dimensions. Then select your SVG content and move it onto your new small canvas. Easiest way is to use the X and Y coordinates in the top grey bar (enter 0 for both). Then just resize the whole document as needed by dragging the small circles located on the corners of your content. Hold the shift key on your keyboard to scale proportionately.
I am using Visual Basic in Visual Studio 10 .I have a windows form and I have to display a world map(a jpeg displayed in picturebox ) with radio buttons over each of the country . The problem is while resizing the window the radio buttons get dislocated. One way to fix this is calculating the ratio of
Scree.width/(initial x-coordinate of radio box)
and similarly
Screen.height/(initial y-coordinate of radio box)
and using this to generate the new x and y coordinates after resizing but as the number of countries are too large this is very tedious and for smaller countries the difference in the initial coordinates is not much and due to precision loss in higher resolution the radio box are overlapping. Is there a workaround for this. Also the method described isn't working after adding zoom as the portion of image displayed on screen changes and as a followup I would like to ask how can I add sliding functionality to image ( like after clicking the mousedown and moving the pointer should move the image keeping the radio boxes over the respective countries, Is using scroll bars better for this purpose? )
Replace your PictureBox with a Panel.
With the PANEL and your IMAGE set:
PANEL.BackgroundImage = IMAGE
PANEL.BackgroundImageLayout = ImageLayout.None
PANEL.AutoScroll = True
PANEL.AutoScrollMinSize = IMAGE.Size
At last, add all RadioButtons to the PANEL.
In Adobe Photoshop, having rectangle coords, how do I make selection box in my image?
For instance, I have x = 100, y = 200, w = 80, h = 40.
Is there any way to specify these coords in some edit boxes and get marching ants selection?
You'll need to make 4 guides at these locations (have the 'info' viewport open).
To make a guide, have the ruler (ctrl+r) viewing, use something like the Move tool (V), and click on the ruler and drag outwards to the page. A thin blue line (guide) will come up. Drag this to one of the edges of the box you are needing (you might need to zoom in to get fine control).
Click and drag from the left ruler for a vertical guide, and from the top ruler for a horizontal guide (or hold down ALT key to change it, when clicking + holding).
After these are setup, you can use the rectangular marquee tool (M) to do your selection. It will snap to the guides.