| Package | feathers.display |
| Class | public class ScrollRectManager |
| Inheritance | ScrollRectManager Object |
scrollRect.
See also
| Method | Defined By | ||
|---|---|---|---|
adjustTouchLocation(location:Point, target:DisplayObject):void [static]
Adjusts the result of the getLocation() method on the
Touch class to account for scrollRect on
the target's parent or any other containing display object. | ScrollRectManager | ||
[static]
Enhances getBounds() with correction for scrollRect
offsets. | ScrollRectManager | ||
toStageCoordinates(location:Point, target:DisplayObject):void [static]
Corrects a transformed point in the target coordinate system that has
been affected by scrollRect to stage coordinates. | ScrollRectManager | ||
| adjustTouchLocation | () | method |
public static function adjustTouchLocation(location:Point, target:DisplayObject):void
Adjusts the result of the getLocation() method on the
Touch class to account for scrollRect on
the target's parent or any other containing display object.
Parameters
location:Point | |
target:DisplayObject |
See also
| getBounds | () | method |
public static function getBounds(object:DisplayObject, targetSpace:DisplayObject, result:Rectangle = null):Rectangle
Enhances getBounds() with correction for scrollRect
offsets.
Parameters
object:DisplayObject | |
targetSpace:DisplayObject | |
result:Rectangle (default = null) |
Rectangle |
| toStageCoordinates | () | method |
public static function toStageCoordinates(location:Point, target:DisplayObject):void
Corrects a transformed point in the target coordinate system that has
been affected by scrollRect to stage coordinates.
Parameters
location:Point | |
target:DisplayObject |