Experimental: this API is experimental and might be changed or removed in the future.

Placemat.ComputeElementBounds

Cambiar al Manual
public static bool ComputeElementBounds (ref Rect pos, List<GraphElement> elements, Experimental.GraphView.Placemat.MinSizePolicy ensureMinSize);

Parámetros

posThe position, if computed.
elementsThe list of elements.
ensureMinSizeWhether to consider the minimum size of the placemat while computing the bounds.

Valor de retorno

bool Returns true if bounds were computed, or false otherwise.

Descripción

Calculates the bounds of a list of graph elements.