GravityLayout

A layout object that moves the owner to center point. This layout doesn't support children.

Constructors

this
this(Layoutable owner, vec2 center)

Members

Functions

place
void place(vec2 basept, vec2 newsz)

Variables

_center
vec2 _center;

Rate of center point;

Inherited Members

From FillLayout

alterSize
void alterSize(vec2 sz)
Undocumented in source. Be warned that the author may not have intended to support it.
fill
void fill(vec2 pt, 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