GODPAPER | All Packages | All Classes | Index | Frames No Frames |
IDisplayObjectWithScrollRect

Package | feathers.display
Interface | public interface IDisplayObjectWithScrollRect
Implementors | Image

Adds a `scrollRect` to a display object.

Public Properties

| Property | Defined By
--- | --- | ---
|  | scrollRect : Rectangle The scroll rectangle bounds of the display object. | IDisplayObjectWithScrollRect

Property Detail

scrollRect | property

`scrollRect:Rectangle`

The scroll rectangle bounds of the display object. The display object is cropped to the size defined by the rectangle, and it scrolls within the rectangle when you change the x and y properties of the scrollRect object.

Implementation
`public function get scrollRect():Rectangle`
`public function set scrollRect(value:Rectangle):void`

See also

flash.display.DisplayObject.scrollRect

Thu Jan 16 2014, 01:11 PM +08:00