ViewPortBounds
public class
feathers.layout.ViewPortBounds
Description
Used by layout algorithms for determining the bounds in which to position and size items.
API overview
Constructor
Attributes
Public attributes
| explicitHeight: Number |
The explicit height of the view port, in pixels |
| explicitWidth: Number |
The explicit width of the view port, in pixels |
| maxHeight: Number |
The maximum height of the view port, in pixels |
| maxWidth: Number |
The maximum width of the view port, in pixels |
| minHeight: Number |
The minimum width of the view port, in pixels |
| minWidth: Number |
The minimum width of the view port, in pixels |
| scrollX: Number |
The horizontal scroll position of the view port, in pixels |
| scrollY: Number |
The vertical scroll position of the view port, in pixels |
| x: Number |
The x position of the view port, in pixels |
| y: Number |
The y position of the view port, in pixels |
Constructor
ViewPortBounds ()
Attributes
explicitHeight: Number
The explicit height of the view port, in pixels. If NaN,
there is no explicit height value.
explicitWidth: Number
The explicit width of the view port, in pixels. If NaN,
there is no explicit width value.
maxHeight: Number
The maximum height of the view port, in pixels. Should be 0 or a positive number, including infinity.
maxWidth: Number
The maximum width of the view port, in pixels. Should be 0 or a positive number, including infinity.
minHeight: Number
The minimum width of the view port, in pixels. Should be 0 or a positive number less than infinity.
minWidth: Number
The minimum width of the view port, in pixels. Should be 0 or a positive number less than infinity.
Functions
getFullTypeName
(): String
Inherited from Object
native
Gets the fully qualified type name of the Object. The fully qualified type name includes the package of the type.
Returns
| String | fully qualified type name of the Object. |
getType
(): Type
Inherited from Object
native
Gets the Type that describes the Object.
Returns
| Type | The Type that describes the object. |