Difference between revisions of "Documentation/OOo3 User Guides/Draw Guide/Combining Multiple Objects"

From Apache OpenOffice Wiki
Jump to: navigation, search
 
(24 intermediate revisions by one other user not shown)
Line 6: Line 6:
 
}}
 
}}
  
[#__RefHeading__12355_1366977074 Distributing the distance and space between objects12]= Introduction: grouping and combining objects =
+
This is Chapter 5 of the OpenOffice.org 3 Draw Guide, produced by the OOoAuthors group. A PDF of this chapter is available from [[Documentation/OOo3_User_Guides/Chapters|this wiki page]].
 +
 
 +
= Introduction: grouping and combining objects =
 
Using Draw, you can combine drawing objects together in two distinct ways: ''grouping'' and ''combining''. These two methods allow you to treat multiple objects as one unit, or to merge objects to form a new shape.
 
Using Draw, you can combine drawing objects together in two distinct ways: ''grouping'' and ''combining''. These two methods allow you to treat multiple objects as one unit, or to merge objects to form a new shape.
  
Line 14: Line 16:
  
  
{{Documentation/Tip|To select multiple objects, click on each object while holding down the ''Shift'' key or click the '''Select''' icon (on the Drawing toolbar) and draw a rectangle around the objects.}}
+
{{Tip|To select multiple objects, click on each object while holding down the ''Shift'' key or click the '''Select''' icon (on the Drawing toolbar) and draw a rectangle around the objects.}}
  
 
= Grouping objects =
 
= Grouping objects =
Line 25: Line 27:
 
When objects are grouped, any editing operations carried out on that group are applied to all members of the group. If you click on one member of the group, the whole group is selected.
 
When objects are grouped, any editing operations carried out on that group are applied to all members of the group. If you click on one member of the group, the whole group is selected.
  
<center>[[Image:|thumb|''Figure 1: Grouping objects using the right-click menu'']]</center>
+
[[Image:DG5-1.png|none|thumb|500px|''Grouping objects using the right-click menu'']]
  
 
The objects of a group retain their own individual properties. To undo a group, right-click and choose '''Ungroup''' from the pop-up menu, use the keyboard shortcut ''Control+Alt+Shift+G'' or choose '''Modify > Ungroup''' from the menu bar.
 
The objects of a group retain their own individual properties. To undo a group, right-click and choose '''Ungroup''' from the pop-up menu, use the keyboard shortcut ''Control+Alt+Shift+G'' or choose '''Modify > Ungroup''' from the menu bar.
Line 32: Line 34:
 
You can edit a member of a group individually without breaking the group. To do this, right-click and choose '''Enter group''' or double-click on the group.
 
You can edit a member of a group individually without breaking the group. To do this, right-click and choose '''Enter group''' or double-click on the group.
  
<center>''Figure 2: When you enter a group, objects outside the group can not be selected and appear pale''</center>
+
[[Image:DG3Ch5F2.png|none|thumb|500px|''When you enter a group, objects outside the group can not be selected and appear pale'']]
  
 
Once inside the group, click on any object to edit it.
 
Once inside the group, click on any object to edit it.
  
<center>[[Image:|thumb|<center></center> ''Figure 3: Editing an object inside a group'']]</center>
+
[[Image:DG5-3.png|none|thumb|500px''Editing an object inside a group'']]
  
 
To leave this mode, right-click and choose '''Exit group''' or double-click outside the group.
 
To leave this mode, right-click and choose '''Exit group''' or double-click outside the group.
  
 
== Nesting groups ==
 
== Nesting groups ==
You can create “nested” groups, or groups of groups. In this case, Draw keeps the initial group hierarchy. If you ungroup a group made of other groups, you are left with individual groups that you can then ungroup further, and so on until only single objects remain.
+
You can create "nested" groups, or groups of groups. In this case, Draw keeps the initial group hierarchy. If you ungroup a group made of other groups, you are left with individual groups that you can then ungroup further, and so on until only single objects remain.
  
 
= Combining objects =
 
= Combining objects =
In contrast to grouping functions, ''combinations'' create a new object; subsequent "un-combining" in the same manner as ungrouping is not possible. Select a collection of objects, then right-click and choose '''Combine''' from the pop-up menu. The result of this operation is shown in Figure 4.
+
In contrast to grouping functions, ''combinations'' create a new object; subsequent "un-combining" in the same manner as ungrouping is not possible. Select a collection of objects, then right-click and choose '''Combine''' from the pop-up menu. The result of this operation is shown below.
  
<center>[[Image:|thumb|<center>'' ''</center> ''Figure 4: Combining objects'']]</center>
+
{|
 +
|[[Image:DG3Ch5F4a.png|thumb|100px]]
 +
|[[Image:DG3Ch5F4b.png|100px]]
 +
|[[Image:DG3Ch5F4c.png|thumb|100px]]
 +
|-
 +
| colspan="3"|''Combining objects''
 +
|}
  
 
At first glance, this can seem rather surprising. Once you understand the rules governing combination in Draw, however, it will become clearer.
 
At first glance, this can seem rather surprising. Once you understand the rules governing combination in Draw, however, it will become clearer.
Line 52: Line 60:
 
* The attributes (for example, area fill) of the resulting object are those of the object furthest back. In this example, it is the circle.
 
* The attributes (for example, area fill) of the resulting object are those of the object furthest back. In this example, it is the circle.
 
* Where the objects overlap, the overlapping zone is either filled or empty depending on the number of overlaps. When the number of overlaps is even, you get an empty space; when the number is odd, you get a filled area.
 
* Where the objects overlap, the overlapping zone is either filled or empty depending on the number of overlaps. When the number of overlaps is even, you get an empty space; when the number is odd, you get a filled area.
 +
[[Image:DG5-5.png|none|thumb|500px|''Odd numbered overlaps are filled, even numbered overlaps are empty'']]
  
<center>[[Image:|thumb|''Figure 5: Odd numbered overlaps are filled, even numbered overlaps are empty'']]</center>
 
  
 +
{{Tip|You can reorder objects so they are further back in the background or further forward in the foreground: right-click on the object and select '''Arrangement''' from the pop-up menu. See also [[#Aids for positioning objects|Aids for positioning objects]]}}
  
{{Documentation/Tip|You can reorder objects so they are further back in the background or further forward in the foreground: right-click on the object and select '''Arrangement''' from the pop-up menu. See also [[#Aids for positioning objects|Aids for positioning objects]]}}
+
An object which is a combination can be broken up into its constituent parts by selecting '''Modify > Break'''. This is not the equivalent of ungrouping as the objects were converted to Bézier curves when they were combined. The resulting object is a set of base level objects (for example, a rectangle will be broken into 4 separate lines). The original formatting &mdash; line thickness, colors, and area properties &mdash; is not retained.
 
+
|}
+
An object which is a combination can be broken up into its constituent parts by selecting '''Modify > Break'''. This is not the equivalent of ungrouping as the objects were converted to Bézier curves when they were combined. The resulting object is a set of base level objects (for example, a rectangle will be broken into 4 separate lines). The original formatting—line thickness, colors, and area properties—is not retained.
+
  
 
= Merging, subtracting, or intersecting shapes =
 
= Merging, subtracting, or intersecting shapes =
After you have selected more than one object, the Merge, Subtract, and Intersect functions can be reached in the '''Modify > Shapes''' menu or though the group’s right-click menu under the heading '''Shapes'''.
+
After you have selected more than one object, the Merge, Subtract, and Intersect functions can be reached in the '''Modify > Shapes''' menu or though the group's right-click menu under the heading '''Shapes'''.
  
== Merge ==
+
{|
[[Image:]]When you merge objects, the new object covers the entire surface of the original objects (it is the ''union'' of the objects). In the same way as combining, the fill of the merged object is determined by the fill of the object furthest in the background. Other properties are not taken over into the new object.
+
|'''Merge'''
 
+
When you merge objects, the new object covers the entire surface of the original objects (it is the ''union'' of the objects). In the same way as combining, the fill of the merged object is determined by the fill of the object furthest in the background. Other properties are not taken over into the new object.
== [[Image:]]Subtract ==
+
|[[Image:DG3Ch5F0b.png|thumb|100px]]
 +
|-
 +
|'''Subtract'''
 
When you subtract, the upper object is subtracted from the lower object.
 
When you subtract, the upper object is subtracted from the lower object.
 
+
|[[Image:DG3Ch5F0c.png|right|thumb|100px]]
 
+
|-
== [[Image:]]Intersect ==
+
|'''Intersect'''
 
When you intersect two objects, you get the area covered by both objects.
 
When you intersect two objects, you get the area covered by both objects.
 +
|[[Image:DG3Ch5F0d.png|right|thumb|100px]]
 +
|}
  
 +
{{Tip|How do I move an object so it is further back or closer to the front? See [[#Moving_an_object_to_the_front_or_to_the_back|Moving an object]].}}
  
{{Documentation/Tip|How do I move an object so it is further back or closer to the front? See page 9.}}
 
 
|}
 
 
== Practical example ==
 
== Practical example ==
 
The following example shows how you can use the merge functions to create a complex shape, namely a knife with a wooden handle.
 
The following example shows how you can use the merge functions to create a complex shape, namely a knife with a wooden handle.
  
# [[Image:]]Draw an ellipse and then a rectangle overlapping half of its width.
+
<ol>
 
+
<li> Draw an ellipse and then a rectangle overlapping half of its width.
# Select both shapes, right-click, and choose '''Shapes > Subtract''' from the pop-up menu. The result should resemble the shape at right:
+
[[Image:DG3Ch5F0e.png|none|100px]]<br>
 
+
<li> Select both shapes, right-click, and choose '''Shapes > Subtract''' from the pop-up menu. The result should resemble the shape at the right:<br>
<center>[[Image:]] [[Image:]]</center>
+
[[Image:DG3Ch5F0f.png]] [[Image:DG3Ch5F4b.png]] [[Image:DG3Ch5F0g.png]]<br>
 
+
<li>Draw another rectangle and put it over the top half of the ellipse. Then subtract again.<br>
# Draw another rectangle and put it over the top half of the ellipse. Then subtract again.
+
[[Image:DG3Ch5F0h.png]] [[Image:DG3Ch5F4b.png]] [[Image:DG3Ch5F0i.png]]<br>
 
+
<li>Draw a small ellipse covering just the lower right corner and subtract again.<br>
<center>[[Image:]] [[Image:]]</center>
+
[[Image:DG3Ch5F0j.png]] [[Image:DG3Ch5F4b.png]] [[Image:DG3Ch5F0k.png]]<br>
 
+
<li>The knife blade is now complete. To make the handle, draw a rectangle and an ellipse as shown.<br>
# Draw a small ellipse covering just the lower right corner and subtract again.
+
[[Image:DG3Ch5F0l.png]]
 
+
<li>''Merge'' the shapes together.<br>
<center>[[Image:]] [[Image:]]</center>
+
[[Image:DG3Ch5F0l.png]] [[Image:DG3Ch5F4b.png]] [[Image:DG3Ch5F0l.png]]
 
+
<li>''Group'' this image with the previous one.<br>
# The knife blade is now complete. To make the handle, draw a rectangle and an ellipse as shown.
+
[[Image:DG3Ch5F0m.png]]
 
+
</ol>
<center>[[Image:]]</center>
+
 
+
# ''Merge'' the shapes together.
+
 
+
<center>[[Image:]] [[Image:]]</center>
+
 
+
# ''Group'' this image with the previous one.
+
 
+
<center>[[Image:]]</center>
+
  
 
= Aids for positioning objects =
 
= Aids for positioning objects =
Line 111: Line 110:
  
 
== Moving an object to the front or to the back ==
 
== Moving an object to the front or to the back ==
When you combine or merge objects, the end result varies drastically depending on which object is "in front" and which one is "in the back". In Figure 6 you can see the difference.
+
When you combine or merge objects, the end result varies drastically depending on which object is "in front" and which one is "in the back".  
 
+
[[Image:DG3Ch5F6a.png|none|thumb|500px]]
<center> </center>
+
[[Image:DG3Ch5F6b.png|none|thumb|500px|''Subtracting objects: the result varies depending on which object is in front.'']]
 
+
 
+
<center>''Figure 6: Subtracting objects: the result varies depending on which object is in front.''</center>
+
  
 
If you imagine several objects stacked one on top of the other, the one referred to as "Front" is the one on top of the stack. The one referred to as "Back" is the one on the very bottom of the stack.
 
If you imagine several objects stacked one on top of the other, the one referred to as "Front" is the one on top of the stack. The one referred to as "Back" is the one on the very bottom of the stack.
  
First select an object, then on the Drawing toolbar, long-click on the Arrange icon [[Image:]] to open the '''Position''' toolbar. This toolbar can be torn off and made to float.
+
First select an object, then on the Drawing toolbar, long-click on the Arrange icon [[Image:ArrangeIcon.png]] to open the '''Position''' toolbar. This toolbar can be torn off and made to float.
  
<center>[[Image:|thumb|<center></center> '''1''' Bring to Front'''5''' In Front of Object'''2''' Bring Forward'''6''' Behind Object'''3''' Send Backward'''7''' Reverse'''4''' Send to Back ''Figure 7: The floating Position toolbar'']]</center>
+
[[Image:DG3Ch5F7.png|none|thumb|500px]]  
  
[[Image:]] brings the selected object to the front of the group.<center>[[Image:]]</center>
+
{|
 +
|'''1''' Bring to Front
 +
|'''5''' In Front of Object
 +
|-
 +
|'''2''' Bring Forward
 +
|'''6''' Behind Object
 +
|-
 +
|'''3''' Send Backward
 +
|'''7''' Reverse
 +
|-
 +
|'''4''' Send to Back
 +
|-
 +
|colspan="2"|''The floating Position toolbar''
 +
|}
  
[[Image:]] brings the selected object one step upwards.<center>[[Image:]]</center>
+
{|
 +
|[[Image:DG5-p1.png]] brings the selected object to the front of the group.
 +
|[[Image:DG3Ch5F0o.png|none|thumb|200px]]
 +
|-
 +
|[[Image:DG5-p2.png]] brings the selected object one step upwards.
 +
|[[Image:DG3Ch5F0p.png|none|thumb|200px]]
 +
|-
 +
|[[Image:DG5-p3.png]] sends the selected object one step backwards.
 +
|[[Image:DG3Ch5F0q.png|none|thumb|200px]]
 +
|-
 +
|[[Image:DG5-p4.png]] sends the selected object to the back of the group.
 +
|[[Image:DG3Ch5F0r.png|none|thumb|200px]]
 +
|-
 +
|[[Image:DG5-p5.png]] moves the selected object in front of another chosen object.
 +
|}
  
[[Image:]] sends the selected object one step backwards.<center>[[Image:]]</center>
+
[[Image:DG5-p6.png]] moves the selected object behind another chosen object.
 +
Click first on the object you want to change in position. Next click on the icon and then move the mouse over the other object. The mouse cursor changes into a hand and the outline of the second object becomes a dashed line (see below). Clicking on this object completes the rearrangement of position.
  
[[Image:]] sends the selected object to the back of the group.<center>[[Image:]]</center>
+
[[Image:DG3Ch5F0t.png|none|thumb|200px]]
 
+
{|
[[Image:]] moves the selected object in front of another chosen object.[[Image:]] moves the selected object behind another chosen object.
+
|[[Image:DG5-p7.png]] reverses the order of the selected objects.
 
+
|[[Image:DG3Ch5F0s.png|none|thumb|200px]]
Click first on the object you want to change in position. Next click on the icon and then move the mouse over the other object. The mouse cursor changes into a hand and the outline of the second object becomes a dashed line (see below). Clicking on this object completes the rearrangement of position.<center>[[Image:]] </center>
+
|}
 
+
[[Image:]] reverses the order of the selected objects.<center>[[Image:]]</center>
+
  
 
== Aligning objects ==
 
== Aligning objects ==
 
Select two objects and long-click on [[Image:]] on the Drawing toolbar to open the '''Align''' toolbar. This toolbar can be torn off and made to float. The tools help you position objects with respect to each other.
 
Select two objects and long-click on [[Image:]] on the Drawing toolbar to open the '''Align''' toolbar. This toolbar can be torn off and made to float. The tools help you position objects with respect to each other.
  
<center>[[Image:|thumb|<center></center> '''1''' Align left'''4''' Align top'''2''' Center horizontally'''5''' Center vertically'''3''' Align right'''6''' Align bottom ''Figure 8: The floating Align toolbar'']]</center>
+
[[Image:DG3Ch5F8.png|none|thumb|500px]]
 +
{|
 +
|''1''' Align left
 +
|'''4''' Align top
 +
|-
 +
|'''2''' Center horizontally
 +
|'''5''' Center vertically
 +
|-
 +
|'''3''' Align right
 +
|'''6''' Align bottom
 +
|-
 +
|colspan="2"|''The floating Align toolbar''
 +
|}
 +
 
 +
{|
 +
|[[Image:DG3Ch5F0u.png]] Align left.
 +
|[[Image:DG3Ch5F0v.png|thumb|200px]]
 +
|-
 +
|[[Image:CenterHorizontallyIcon.png]] Center horizontally.
 +
|[[Image:DG3Ch5F0w.png|thumb|200px]]
 +
|-
 +
|[[Image:AlignRightIcon.png]] Align right.
 +
|[[Image:DG3Ch5F0x.png|thumb|200px]]
 +
|-
 +
|[[Image:AlignTopIcon.png]]Align top.
 +
|[[Image:DG3Ch5F0y.png|thumb|200px]]
 +
|-
 +
|[[Image:CenterVerticallyIcon.png]] Center vertically.
 +
|[[Image:DG3Ch5F0z.png|thumb|200px]]
 +
|-
 +
|[[Image:AlignBottomIcon.png]] Align bottom.
 +
|[[Image:DG3Ch5F0a.png|thumb|200px]]
 +
|}
  
[[Image:]] Align left.[[Image:]] Center horizontally.[[Image:]] Align right.[[Image:]] Align top.[[Image:]] Center vertically.[[Image:]] Align bottom.If you have selected only one object, clicking the various buttons on the Align toolbar positions the object in relation to the drawing page.
+
If you have selected only one object, clicking the various buttons on the Align toolbar positions the object in relation to the drawing page.
  
 
== Distributing the distance and space between objects ==
 
== Distributing the distance and space between objects ==
 
Select at least three objects. Now you are able to select the option '''Distribution '''on the '''Modify''' menu or from the right-click menu. The Distribution dialog contains a number of options, described below.
 
Select at least three objects. Now you are able to select the option '''Distribution '''on the '''Modify''' menu or from the right-click menu. The Distribution dialog contains a number of options, described below.
  
<center>[[Image:|thumb|''Figure 9: Distribution of spacing between objects'']]</center>
+
[[Image:DG3Ch5F9.png|none|thumb|500px|''Distribution of spacing between objects'']]
  
 
'''Horizontal distribution'''
 
'''Horizontal distribution'''
Line 174: Line 228:
 
'''Bottom. '''The bottom edges of the objects are evenly spaced from one another.
 
'''Bottom. '''The bottom edges of the objects are evenly spaced from one another.
  
Figure 10 shows four objects before distribution of horizontal spacing.
+
The following two figures show four objects, first before distribution of horizontal spacing, and then after distribution resulting from the selections shown above.
 
+
<center>[[Image:|thumb|''Figure 10: Before distribution'']]</center>
+
 
+
The result of the selections made in Figure 9 (change to equal horizontal spacing, no vertical change) is shown in Figure 11.
+
 
+
<center>[[Image:|thumb|''Figure 11: After distribution – change to equal horizontal spacing, no vertical change'']]</center>
+
  
 +
[[Image:DG3Ch5F10.png|none|thumb|500px|''Before distribution'']]
  
 +
[[Image:DG3Ch5F11.png|none|thumb|500px|''After distribution &mdash; change to equal horizontal spacing, no vertical change'']]
  
  

Latest revision as of 09:46, 16 July 2018



This is Chapter 5 of the OpenOffice.org 3 Draw Guide, produced by the OOoAuthors group. A PDF of this chapter is available from this wiki page.

Introduction: grouping and combining objects

Using Draw, you can combine drawing objects together in two distinct ways: grouping and combining. These two methods allow you to treat multiple objects as one unit, or to merge objects to form a new shape.

Grouping is like putting objects in a container. You can move them as a group and apply global changes to them. A group can always be undone and the objects that make up the group can always be manipulated separately.

A combination is a permanent fusion of objects leading to a new object. The original objects are no longer available as individual entities and the operation is not reversible.


Tip.png To select multiple objects, click on each object while holding down the Shift key or click the Select icon (on the Drawing toolbar) and draw a rectangle around the objects.


Grouping objects

Grouping by common selection

When several objects are selected, any operations you carry out are applied to all of the objects. For example, you can rotate a group of objects in its entirety. Groups obtained through common selection of several objects are undone as soon as you click outside the group. However, you can group objects and keep those selected objects grouped together.

Maintaining groups and undoing groups

To group objects, first select the objects, then right-click and choose Group from the pop-up menu. You can also use the keyboard shortcut Control+Shift+G or choose Modify > Group from the menu bar.

When objects are grouped, any editing operations carried out on that group are applied to all members of the group. If you click on one member of the group, the whole group is selected.

Grouping objects using the right-click menu

The objects of a group retain their own individual properties. To undo a group, right-click and choose Ungroup from the pop-up menu, use the keyboard shortcut Control+Alt+Shift+G or choose Modify > Ungroup from the menu bar.

Editing individual objects in a group

You can edit a member of a group individually without breaking the group. To do this, right-click and choose Enter group or double-click on the group.

When you enter a group, objects outside the group can not be selected and appear pale

Once inside the group, click on any object to edit it.

500pxEditing an object inside a group

To leave this mode, right-click and choose Exit group or double-click outside the group.

Nesting groups

You can create "nested" groups, or groups of groups. In this case, Draw keeps the initial group hierarchy. If you ungroup a group made of other groups, you are left with individual groups that you can then ungroup further, and so on until only single objects remain.

Combining objects

In contrast to grouping functions, combinations create a new object; subsequent "un-combining" in the same manner as ungrouping is not possible. Select a collection of objects, then right-click and choose Combine from the pop-up menu. The result of this operation is shown below.

DG3Ch5F4a.png
DG3Ch5F4b.png
DG3Ch5F4c.png
Combining objects

At first glance, this can seem rather surprising. Once you understand the rules governing combination in Draw, however, it will become clearer.

  • The attributes (for example, area fill) of the resulting object are those of the object furthest back. In this example, it is the circle.
  • Where the objects overlap, the overlapping zone is either filled or empty depending on the number of overlaps. When the number of overlaps is even, you get an empty space; when the number is odd, you get a filled area.
Odd numbered overlaps are filled, even numbered overlaps are empty


Tip.png You can reorder objects so they are further back in the background or further forward in the foreground: right-click on the object and select Arrangement from the pop-up menu. See also Aids for positioning objects


An object which is a combination can be broken up into its constituent parts by selecting Modify > Break. This is not the equivalent of ungrouping as the objects were converted to Bézier curves when they were combined. The resulting object is a set of base level objects (for example, a rectangle will be broken into 4 separate lines). The original formatting — line thickness, colors, and area properties — is not retained.

Merging, subtracting, or intersecting shapes

After you have selected more than one object, the Merge, Subtract, and Intersect functions can be reached in the Modify > Shapes menu or though the group's right-click menu under the heading Shapes.

Merge

When you merge objects, the new object covers the entire surface of the original objects (it is the union of the objects). In the same way as combining, the fill of the merged object is determined by the fill of the object furthest in the background. Other properties are not taken over into the new object.

DG3Ch5F0b.png
Subtract

When you subtract, the upper object is subtracted from the lower object.

DG3Ch5F0c.png
Intersect

When you intersect two objects, you get the area covered by both objects.

DG3Ch5F0d.png
Tip.png How do I move an object so it is further back or closer to the front? See Moving an object.


Practical example

The following example shows how you can use the merge functions to create a complex shape, namely a knife with a wooden handle.

  1. Draw an ellipse and then a rectangle overlapping half of its width.
    DG3Ch5F0e.png

  2. Select both shapes, right-click, and choose Shapes > Subtract from the pop-up menu. The result should resemble the shape at the right:
    DG3Ch5F0f.png DG3Ch5F4b.png DG3Ch5F0g.png
  3. Draw another rectangle and put it over the top half of the ellipse. Then subtract again.
    DG3Ch5F0h.png DG3Ch5F4b.png DG3Ch5F0i.png
  4. Draw a small ellipse covering just the lower right corner and subtract again.
    DG3Ch5F0j.png DG3Ch5F4b.png DG3Ch5F0k.png
  5. The knife blade is now complete. To make the handle, draw a rectangle and an ellipse as shown.
    DG3Ch5F0l.png
  6. Merge the shapes together.
    DG3Ch5F0l.png DG3Ch5F4b.png DG3Ch5F0l.png
  7. Group this image with the previous one.
    DG3Ch5F0m.png

Aids for positioning objects

Draw has various tools to help you arrange the objects with respect to each other. Here we explore some of the more important ones.

Moving an object to the front or to the back

When you combine or merge objects, the end result varies drastically depending on which object is "in front" and which one is "in the back".

DG3Ch5F6a.png
Subtracting objects: the result varies depending on which object is in front.

If you imagine several objects stacked one on top of the other, the one referred to as "Front" is the one on top of the stack. The one referred to as "Back" is the one on the very bottom of the stack.

First select an object, then on the Drawing toolbar, long-click on the Arrange icon ArrangeIcon.png to open the Position toolbar. This toolbar can be torn off and made to float.

DG3Ch5F7.png
1 Bring to Front 5 In Front of Object
2 Bring Forward 6 Behind Object
3 Send Backward 7 Reverse
4 Send to Back
The floating Position toolbar
DG5-p1.png brings the selected object to the front of the group.
DG3Ch5F0o.png
DG5-p2.png brings the selected object one step upwards.
DG3Ch5F0p.png
DG5-p3.png sends the selected object one step backwards.
DG3Ch5F0q.png
DG5-p4.png sends the selected object to the back of the group.
DG3Ch5F0r.png
DG5-p5.png moves the selected object in front of another chosen object.

DG5-p6.png moves the selected object behind another chosen object. Click first on the object you want to change in position. Next click on the icon and then move the mouse over the other object. The mouse cursor changes into a hand and the outline of the second object becomes a dashed line (see below). Clicking on this object completes the rearrangement of position.

DG3Ch5F0t.png
DG5-p7.png reverses the order of the selected objects.
DG3Ch5F0s.png

Aligning objects

Select two objects and long-click on [[Image:]] on the Drawing toolbar to open the Align toolbar. This toolbar can be torn off and made to float. The tools help you position objects with respect to each other.

DG3Ch5F8.png
1' Align left 4 Align top
2 Center horizontally 5 Center vertically
3 Align right 6 Align bottom
The floating Align toolbar
DG3Ch5F0u.png Align left.
DG3Ch5F0v.png
CenterHorizontallyIcon.png Center horizontally.
DG3Ch5F0w.png
AlignRightIcon.png Align right.
DG3Ch5F0x.png
AlignTopIcon.pngAlign top.
DG3Ch5F0y.png
CenterVerticallyIcon.png Center vertically.
DG3Ch5F0z.png
AlignBottomIcon.png Align bottom.
DG3Ch5F0a.png

If you have selected only one object, clicking the various buttons on the Align toolbar positions the object in relation to the drawing page.

Distributing the distance and space between objects

Select at least three objects. Now you are able to select the option Distribution on the Modify menu or from the right-click menu. The Distribution dialog contains a number of options, described below.

Distribution of spacing between objects

Horizontal distribution

None. Does not distribute the objects horizontally.

Left. The left edges of the objects are evenly spaced from one another.

Center. The horizontal centers of the objects are evenly spaced from one another.

Spacing. The horizontal spacing between the objects is evenly distributed.

Right. The right edges of the objects are evenly spaced from one another.

Vertical distribution

None. Does not distribute the objects vertically.

Top. The top edges of the objects are evenly spaced from one another.

Center. The vertical centers of the objects are evenly spaced from one another.

Spacing. The vertical spacing between the objects is evenly distributed.

Bottom. The bottom edges of the objects are evenly spaced from one another.

The following two figures show four objects, first before distribution of horizontal spacing, and then after distribution resulting from the selections shown above.

Before distribution
After distribution — change to equal horizontal spacing, no vertical change


Content on this page is licensed under the Creative Common Attribution 3.0 license (CC-BY).
Personal tools