- Creating a Mesh Object from a Regular Pattern of Mesh Points
- Editing the Colors of a Gradient Mesh
- Moving the Points of a Gradient Mesh
- Adding or Deleting Points in a Gradient Mesh
- Distorting the Points of a Gradient Mesh
- Removing a Gradient Mesh from an Object
- Tips for Working with a Gradient Mesh
- Summary
Moving the Points of a Gradient Mesh
In addition to editing the color, you can determine the location of the mesh points and mesh lines. This is where some of the real power of using gradient meshes comes into play. By moving mesh points, you can distort the gradient:
- After selecting the mesh object with the Selection tool, select the Mesh tool in the Tools panel.
- Position the pointer over a central point in the mesh. Notice that the plus sign disappears from the pointer.
- Click-and-drag the center point of the mesh a bit down and to the right. Notice that the mesh lines follow and the color in the center shifts down and to the right. This is because the color is associated with that mesh point.
- To undo the move, choose Edit > Undo Move Mesh Point (see Figure 6).
Figure 6 Dragging a mesh point.
You can also move an entire mesh patch (a series of mesh points) by using the Direct Selection tool.
- Select the Direct Selection tool in the Tools panel.
- Click-and-drag at some place where there are no mesh points. Notice that you're dragging a mesh patch.
- Choose Edit > Undo Move.
- Click in a mesh patch again (between mesh points).
- Shift-click other mesh points that are currently deselected, to add them to the selection.
- Click in the middle of the select points and drag upward, downward, left, or right. Watch what's happening to the mesh patch onscreen (see Figure 7).
- Choose Edit > Undo Move.
Figure 7 Dragging a mesh patch.
Next, let's move the mesh points on the mesh lines to distort the gradient:
- Select the Mesh tool in the Tools panel.
- Shift-click a mesh point and drag it horizontally. Notice that with the Shift key held down, you can only move the mesh point along the mesh line horizontally.
- To undo the move, choose Edit > Undo Move Mesh Point.
- Try the same process, but dragging vertically.
- Choose Edit > Undo Move Mesh Point (see Figure 8).
Figure 8 Constraining the movement of a mesh point.