Function Control.getAnchor

Returns the anchor identified by margin constant from margin enum. A getter method for anchorBottom, anchorLeft, anchorRight and anchorTop.

double getAnchor (
  const(long) margin
) nothrow @nogc const;