computeTightBounds

Returns minimum and maximum axes values of the lines and curves in Path. Returns (0, 0, 0, 0) if Path contains no points. Returned bounds width and height may be larger or smaller than area affected when Path is drawn.

Includes Point associated with PathVerb.MOVE that define empty contours.

Behaves identically to .getBounds when Path contains only lines. If Path contains curves, computed bounds includes the maximum extent of the quad, conic, or cubic; is slower than .getBounds; and unlike .getBounds, does not cache the result.

Return

tight bounds of curves in Path

See also