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

ViewPortBounds ()

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

Functions

Public functions

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.

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.

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.

getTypeName (): String
Inherited from Object

native

Gets the type name of the Object.


Returns

String type name of the Object.

toString (): String
Inherited from Object

native

Returns a String that describes the Object. This can be overriden to provide extra details when printing objects using trace().


Returns

String String that described the Object.

: