MakeInk
MakeInk(inkdata,left, top, right, bottom)
Creates an ink shape in the specified bounds box.
DISCUSSION
- inkdata
- The ink data object.
- left
- The left boundary.
- top
- The top boundary.
- right
- The right boundary.
- bottom
- The bottom boundary.
- return value
- An ink shape.
This ink shape will work fine when passed to the various shape methods:
DrawShape
,OffsetShape
,IsPrimShape
, *ScaleShape
, etc.HitShape
however does not work on these new objects. You must use the new function *FindShape
(page 6-27) on these objects.The bounds slot doesn't scale the ink, it just tells
DrawShape
where to place the upper left corner. The shape is not clipped at its bounds.SEE ALSO
For an example of using this function see "Creating Ink and TextBox Shapes" beginning on page 6-17.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help