What Is a Pathname?
Paths have different meanings in different fields. In the network, the path refers to the full route from the start to the end; in daily life, it refers to the road.
Paths have different meanings in different fields. In the network, the path refers to the full route from the start to the end; in daily life, it refers to the road.
A path in Photoshop is a closed or open curve segment made using Bezier curves. UNISURF was used in the company in 1972. Bezier's method combines infinite function approximation with the representation of a set, allowing designers to draw curves on a computer as easily as using conventional drawing tools.
- Chinese name
- path
- Foreign name
- path
- Pinyin
- lùjìng
- Explanation
- the way
- From
- Ming Lushen's Yan Yan Lu
Path introduction
A path is an arbitrary-shaped curve created using a drawing tool. It can be used to outline the object, so it is also called a contour line. In order to meet the needs of drawing, paths are divided into open paths and closed paths. [1]
All vector graphics in GIMP / Adobe illustrator are made up of paths. Drawing vector diagrams is to create and edit paths. A path consists of several line segments, which may include straight lines and various curved line segments. In order to better draw and modify the path, each end of the line segment has anchor points (Anchor Point) to fix it. By moving the anchor point, you can modify the position of the line segment and change the shape of the path. [1]
In addition, the path concept also exists in non-vector drawing tools. [1]
Path words
path
Also known as "Road".
Road
Ming Lushen's Yanxianlu: "Shanxi counties are mostly between valleys, and the roads are rugged and difficult to carry."
The eighth round of "Travel of the Old Disabled": "The path of stones, frozen in snow and ice, slippery."
Lu Xun's "New Stories, Resurrection": "There is a path for people and horses in Kusama."
Xiao Hong's "Outside the Family": "And the leaves on the road have thickened, and the leaves of the tree completely cover the path we are walking on."
2. Refers to the route to the destination.
The first fold of Yuan Qiaoji's "Money in Money": "The girl has never been a girl since she was a child, and I don't know the path. How can I give birth?"
"Ancient and Modern Fiction · Wu Baoan Abandons His Family and Redeems Friends": "I don't know which one is the way to go. Li Meng was suspicious. He was ordered to temporarily retreat from the Pingyan Department, looking for the natives and visiting the way.
Ming Feng Menglong's "Empires of the Eastern Zhou Dynasty", forty-seventh back: "Finally, he left a secret sign, recognized the path, and walked along the pit."
Fifteenth time in "A Small History of Civilization": "Successive years of quizzes, Suzhou has been here, and on all roads, we are still not sparse."
Bing Xin's "The Last Rest": "Hui Ao also laughed and said, 'Isn't it, just because I'm unfamiliar with the path, but fortunately you're pulling it behind, otherwise you'll just roll off.'"
3. Metaphorical ways and means of doing things.
"Zhu Zi Genre" Volume 40: "There is only one way to do this in the world. If you don't go there, young people will fall into the grass and do no good."
Preface to Lu Xun's "Southern and North Diversion Collection" <Woodcut Creation Method> ":" Adopting a new method, adding to the strengths of China's old days, and hope for a new path.
Zhang Tianyi's "Mr. Tan Jiu's Work": "They always keep their mouths closed-'President Tan, this path is to ask your elderly to show.'"
4. Refers to human behavior. Also refers to the world.
Zhang Tianyi's "Wan Ye Yue" III: "The story of Gao Liuye's young lady stealing her husband is described in detail. In short, there are few good people today, which is really not a path."
Luo Hong's "The Joy of Trampling": "Let's go and see. It's not a good path in such an early morning!"
5. In the computer, it refers to the text identifier that points to a file or some content. Each interval is usually separated by a slash "\" or "/", and the preceding sub-items follow the slash. [1]
Path graphic design
A path usually refers to a region drawing method based on the Bezier curve theory that exists in a variety of computer graphics design software.
curve. [1]
The path can be open or closed. For open paths, the starting anchor point of the path is called the endpoint.
From the figure we can see that a Bezier curve is defined by four points, of which P0 and P3 define the start and end points of the curve, also known as nodes, and P1 and P2 are used to adjust the curvature Control point. The polygon composed of four points P0, P1, P2, and P3 is called the control polygon of the Bezier curve. By adjusting the P0 and P3 nodes, the user can adjust the start and end points of the Bezier curve, and by adjusting the position of P1P3, the curvature of the entire Bezier curve can be flexibly controlled to meet actual needs. Beginners of graphics may take some time to get used to at first. Here is a small experience: In general, first adjust the curvature, which is almost the same as needed, and then adjust the nodes to change the curve position to suit the needs. This sequence can reduce repeated operations. [1]
Generally, only one Bezier curve is not enough to express complex curve regions. In PHOTOSHOP, in order to construct complex curves, Bezier curve groups are often used to complete the beginning and end of a Bezier curve. Connect to each other. [1]
a, access mode
The entire curve is composed of a Bezier curve (a Bezier curve is a straight line segment connecting the starting point and the end point). Such Bezier curve composition is generally used to outline a polygonal region composed of a straight line segment. [1]
b. Splicing method
It consists of two quadratic or cubic B-curves, which enter the continuity of a at the connection point, which is called zero-order geometric continuity. [1]
c, stitching mode
An entire curve group consisting of a single Bezier curve and a quadratic or cubic Bezier curve. The two Bezier curves reach a continuity of b at the intersection, that is, a first-order geometric continuity. [1]
d, stitching mode
It consists of two quadratic or cubic B-curves. In addition to the characteristic of continuous c at the connection point, their main normals are connected on the same straight line. The curvature of the intersection of the two Bezier curves is the same. That is to achieve second-order geometric continuity. [1]
Detailed path
A path, also called a primary path, is a path in an undirected graph that satisfies all vertices (except start and end points) on the path and all edges are different.
A path can have two anchor points: a corner point and a smooth point. At corners, the path suddenly changes direction. At smooth points, the path segments are connected as continuous curves. You can draw paths using any combination of corner and smooth points. If you draw the wrong point type, you can change it at any time.
Path: A line or path drawn with a pen tool or a Bezier tool. [1]
HTML Path html path
HTML Relative Path and Absolute Path
HTML beginners often encounter such a problem, how to correctly reference a file. For example, how do you reference another HTML page as a hyperlink in an HTML page? How to insert a picture into a web page? ...
If you use the wrong file path when referencing a file (such as adding a hyperlink, or inserting a picture, etc.), the reference will be invalidated (cannot browse the linked file, or display the inserted picture, etc.)
Your web hosting provider will give you a directory, such as www, this www is the root directory of your website!
In order to avoid these errors and properly reference the file, we need to learn the HTML path.
There are two ways to write HTML: relative paths and absolute paths. [1] Photoshop path calculation application
1.HTML Relative Path (Relative Path) a file reference in the same directory
If the source file and the reference file are in the same directory, write the reference file name directly.
We create a source file info.html, and in the info.html we need to reference the index.html file as a hyperlink.
Assuming info.html path is: c: \ Inetpub \ wwwroot \ sites \ blabla \ info.html
Assuming the index.html path is: c: \ Inetpub \ wwwroot \ sites \ blabla \ index.html
The code that adds the index.html hyperlink to info.html should be written like this:
index.html [1]
b how to represent the parent directory
../ indicates the parent directory of the source file directory, ../../ indicates the parent directory of the source file directory, and so on.
Assuming info.html path is: c: \ Inetpub \ wwwroot \ sites \ blabla \ info.html
Assuming the index.html path is: c: \ Inetpub \ wwwroot \ sites \ index.html
The code to add the index.html hyperlink to info.html should be written like this:
../index.html
Assuming info.html path is: c: \ Inetpub \ wwwroot \ sites \ blabla \ info.html
Assuming the index.html path is: c: \ Inetpub \ wwwroot \ index.html
The code that adds the index.html hyperlink to info.html should be written like this:
../../index.html
Assuming info.html path is: c: \ Inetpub \ wwwroot \ sites \ blabla \ info.html
Assuming the index.html path is: c: \ Inetpub \ wwwroot \ sites \ wowstory \ index.html
The code that adds the index.html hyperlink to info.html should be written like this:
../wowstory/index.html [1]
How c represents a subordinate directory
To reference the files in the subordinate directory, just write down the path of the subordinate directory file.
Assuming info.html path is: c: \ Inetpub \ wwwroot \ sites \ blabla \ info.html
Assuming the index.html path is: c: \ Inetpub \ wwwroot \ sites \ blabla \ html \ index.html
The code to add the index.html hyperlink to info.html should be written like this:
html / index.html
Assuming info.html path is: c: \ Inetpub \ wwwroot \ sites \ blabla \ info.html
How to refer to another HTML page as a hyperlink in an HTML page.
Assuming the index.html path is: c: \ Inetpub \ wwwroot \ sites \ blabla \ html \ tutorials \ index.html
The code that adds the index.html hyperlink to info.html should be written like this: [1]
html / tutorials / index.html
2.HTML Absolute Path
HTML absolute path refers to the full path of a file with a domain name.
Suppose you register the domain name www.blabla.cn and apply for a virtual host. Your web hosting provider will give you a directory, such as www, where www is the root directory of your website.
Just write the reference file name. blabla \ html \ index.
Suppose you put a file index.html in the www root directory, and the absolute path of this file is: http://www./index.html.
The absolute path to this file is: http: //www.blabla.
Suppose you created a directory called html_tutorials under the www root directory, and then placed a file index.html under this directory. The absolute path of this file is http://www./html_tutorials/index.html.
After many real experiments, it is proved that absolute paths are not good for search engine performance, and relative paths perform well in search engines.
-------------------------------------------------- -------------------------------------------------- -------------------------------------------------- -------------------------------------------------- -------------------------------------------------
Regarding the issue of path, google, yahoo and other search engines did not perform well, but Baidu showed strong exclusion, so those friends who dominate Baidu, try not to do absolute path. [1]
Path computer
When a user searches for a file on a disk, the folder line that it goes through is called a path. Paths are divided into absolute paths and relative paths.
Absolute path: The path from the root folder, starting with "\".
Relative path: The path starting from the current folder. [1]
Path software test
Path (test path): A sequence of statements that run from start to end of execution. [1]
Photoshop Path photoshop
The concept of path in PHOTOSHOP
"Path" in PHOTOSHOP is a closed or open curve segment formed by using Bezier curves. Bezier is a parameter curve based on "infinite similarity" constructed by the PEB of Renault Automobile Company of France in 1962. Based on this curve, a curve and surface design system, UNISURF, was completed and applied to the company in 1972. Bezier's method combines infinite function approximation with the same set representation, allowing designers to draw curves on a computer As handy as using regular drawing tools.
Path tool role
Paths (PATHS) is an important tool in PHOTOSHOP. It is mainly used for smooth image selection and auxiliary matting, drawing smooth lines, defining drawing trajectories of tools such as brushes, outputting input paths, and converting between and selection areas. On the auxiliary matting, he highlights the powerful editability, has the unique smooth curvature property, and is more accurate and smoother than the channel.
Paths are outlines that can be converted into selections or filled and stroked with color. You can easily change the shape of a path by editing its anchor points. [1]
Several ways to use paths
A work path is a temporary path that appears in the Paths panel to define the outline of a shape.
You can use paths in the following ways:
You can use the path as a vector mask to hide the layer area. (See About layers and vector masks.)
Convert paths to selections. (See Convert paths to selection boundaries.)
Fill or stroke paths with color. (See Filling paths with color.)
When exporting an image to a page layout or vector editing program, specify the saved path as a clipping path to make part of the image transparent. (See Create transparency using image clipping paths.) [1]
Path tool
A set of tools for generating, editing, and setting "paths" is provided in PHOTOSHOP. They are located in the toolbox floating panel in the PHTOSHOP software. By default, their icons are rendered as "pen icons". Use the left mouse button to click the icon for two seconds. The hidden tool group will pop up, including: Pen Tool, Free Pen Tool, Add Anchor Point Tool, Delete Anchor Point Tool, Conversion Point Tool. [1]
Path panel
Path is a very important element in plane image processing, so like channel layer, a special control panel is also provided in PHOTOSHOP: path control panel. The route control panel is mainly composed of a system button area, a route control panel label area, a route list area, a route tool icon area, and a route control menu area.
Path tool icon area
1. Fill the path: completely fill the current path with the foreground color.
2. Outline the path: Use the foreground color to outline the path along the outer contour of the path.
3. Path conversion to selection: The currently selected path is converted into a selection area that is used to define the processing range when we process the image.
4. Convert selection to path: Convert the selection to a path.
5. New path layer tool: used to create a new path layer.
6. Delete path layer tool: used to delete a path layer. [1]
Path tool useful shortcuts
Here are some useful shortcuts when using the pen and path selection tools:
Pen tool | effect |
Alt-drag the control point handle | Change the direction of the second handle before setting the next point |
Ctrl + drag control point handle | Change the direction of the two handles before setting the next point |
Alt + drag | Create a joint point (and change the direction of the handle before setting the next point) |
Ctrl | Access the Direct Selection tool |
Ctrl + Alt | Access the Path Component Selection tool |
Free Pen Tool | effect |
Hit Alt and click | Draw a line / Add a corner point |
Release after pressing Ctrl | Draw shapes with straight lines |
Ctrl | Access the Direct Selection tool |
Ctrl + Alt | Access the Path Component Selection tool |
Direct selection tool | effect |
Ctrl + Alt and click on anchor | Access the Conversion tool |
Ctrl | Access the Path Component Selection tool |
Drag after Alt | Copy selected subpath |
Path component selection tool | effect |
Ctrl + Alt and drag | Copy selected subpath |
Drag after Alt | Copy selected path |
Add Anchor Point Tool | effect |
Alt | Accessing the Remove Anchor Tool |
Ctrl | Access the Direct Selection tool |
Drag after Alt | Copy selected subpath |
Ctrl + Alt | Access the Path Component Selection tool |
Delete Anchor Point Tool | effect |
Alt | Access the Add Anchor Tool |
Ctrl | Access the Direct Selection tool |
Drag after Alt | Copy selected subpath |
Ctrl + Alt | Access the Path Component Selection tool |
Transition point tool | effect |
Hit Alt and click | Translate |
Drag after Alt | Convert to corner points and change handle orientation |
Ctrl | Access the Direct Selection tool |
Ctrl + Alt and drag | Copy selected subpath |
Path tools in other software
In other design software such as Illustrator, CorelDRAW, Flash, Firework, InDesign, etc., there are path tools, which have different functions and equivalent usage. [1]