tgclip
Description
Changes the clipping mode of selected graphic object(s).
Syntax
tgclip clip mode:n?
tgclip
[no parameter]
|
Invoke the Graphic Clipping Mode dialog box.
|
clip mode
|
0
|
None
|
1
|
Interior
|
2
|
Exterior
|
|
Additional Information
A clipped graphic is one that is placed over other shapes to affect their visibility, i.e. how much of them is displayed. This effect is called a clipping path.
There are two types of clipping path:
• Interior: displays what is inside the clipped graphic
• Exterior: displays only what is outside the clipped graphic
|
A shape that has an interior or exterior clipping mode set will not be clipped itself. If you are only interested in the effect the shape has as a clipping path and have no need of its appearance you can set the fill and line colour of the clipped shape to None.
|
Additional information to note about clipping paths:
• Clipping paths only affect other graphic objects, not text or frames.
• Clipping paths only affect graphic objects in front of them. See tgend and tgstart for info about changing the depth of a graphic object.
• Clipping paths only affect graphic objects in the same group as them (including groups and their children contained in the group).
• Using tgclip 1 mode and the macro tgras, you can import an image and automatically convert any clipping path it contains into an PTC ALD graphic object.
For more information, see Technote 0095: Clipping Paths.
Related Links