Subtract
TheSubtractmethod modifies this shape by subtracting the specified shape from it.
ODShape Subtract (in ODShape diffShape);
diffShape- A reference to the shape to be subtracted from this shape.
- return value
- A reference to this shape after the subtraction operation.
DISCUSSION
After this method executes successfully, this shape is equivalent to its previous shape minus the specified shape.EXCEPTIONS
kODErrNoShapeGeometry- The geometry mode of this shape is
kODNeedsGeometry, but the other shape has no geometric representation.kODErrOutOfMemory- There is not enough memory to subtract the shape.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help