Version: 2023.1
言語: 日本語
Experimental: this API is experimental and might be changed or removed in the future.

Placemat.ComputeElementBounds

マニュアルに切り替える
public static bool ComputeElementBounds (ref Rect pos, List<GraphElement> elements, Experimental.GraphView.Placemat.MinSizePolicy ensureMinSize);

パラメーター

pos The position, if computed.
elements The list of elements.
ensureMinSize Whether to consider the minimum size of the placemat while computing the bounds.

戻り値

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

説明

Calculates the bounds of a list of graph elements.