8.7 released—WinterCG Compliance Part 1
Learn more
AbsoluteLayout
A layout that lets you specify exact locations (left/top coordinates) of its children.

Summary

Constructors

constructor

Methods

getLeft
getTop
setLeft
setTop
122 methods inherited from LayoutBase
Click to expand

Constructors

constructor

new AbsoluteLayout(): AbsoluteLayout

Methods

getLeft

Static
getLeft(view: View): LengthType
Gets the value of the Left property from a given View.
Parameter Default Description
view

Returns LengthType

getTop

Static
getTop(view: View): LengthType
Gets the value of the Top property from a given View.
Parameter Default Description
view

Returns LengthType

setLeft

Static
setLeft(view: View, value: LengthType): void
Sets the value of the Left property from a given View.
Parameter Default Description
view

value

Returns void

setTop

Static
setTop(view: View, value: LengthType): void
Sets the value of the Top property from a given View.
Parameter Default Description
view

value

Returns void