
CHAPTER 13
Drawing and Graphics
Summary of Drawing 13-25
myImageView:ScrollBy : function, // scrolls an image
myImageView:ZoomBy : function, // makes an image larger
or smaller
myImageView:ZoomTo : function, // changes the size of
the image
myImageView:CanZoomBy : function, // changes the size of
the image
myImageView:ZoomToBox : function, // resizes the image
...
}
protoThumbnail 13
protoThumbnail : = {
_proto: protoThumbnail,
ImageTarget : view,
Image : shape or bitmap,
viewBounds : boundsFrame,
viewJustify : justificationFlags,
trackWhileScrolling : integer, // tracks the grey box
myThumbnail:Setup : function, // prepares thumbnail
myThumbnail:OpenThumbnail : function, // opens thumbnail
myThumbnail:ToggleThumbnail : function, // opens or closes
thumbnail
myThumbnail:Update : function, // renders thumbnail view
myThumbnail:GetScalingInfo : function, // returns scaling
information
myThumbnail:PrepareToScroll : function, // prepares for
scrolling
myThumbnail:ScrollTo : function, // scrolls a view
myThumbnail:DoneScrolling : function, // cleans up a scroll
operation
...
}
protoThumbnailPointer 13
protoThumbnailPointer : = {
_proto: protoThumbnailPointer,
ImageTarget : view,
Image : shape,
viewBounds : boundsFrame,
viewJustify : justificationFlags,
Commentaires sur ces manuels