GravityLayout

A layout object that moves the center pos. You should set a parent of the owner not to shrink. (Specify Scalar.Auto)

Constructors

this
this(Placer placer, Layoutable owner, vec2 center)

Members

Functions

place
void place(vec2 pt, vec2 sz)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

_center
vec2 _center;
Undocumented in source.

Inherited Members

From FillLayout

fill
void fill(vec2 pt, vec2 sz)
Undocumented in source. Be warned that the author may not have intended to support it.
shrinkSize
void shrinkSize(vec2 sz)
Undocumented in source. Be warned that the author may not have intended to support it.
place
void place(vec2 pt, vec2 sz)

Meta