MakeDragObject
protoDrawTool:MakeDragObject(left
, top, right, bottom, style)
Called to create a shape to show while the user drags out a bounding box.
DISCUSSION
- left
- The x-coordinate of the start point of the rectangle the user dragged with this tool.
- top
- The y-coordinate of the start point of the rectangle the user dragged with this tool.
- right
- The x-coordinate of the end point of the rectangle the user dragged with this tool.
- bottom
- The y-coordinate of the start point of the rectangle the user dragged with this tool.
- style
- A style frame with the current user defaults for
penSize
,penPattern
,fillPattern
, andfont
.
- return value
- A shape array.
The default version of this method calls your template's *
MakeObject
method. This message is only sent if the tool template'sdragARectangle
slot isnil
.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help