Visual Basic (Declaration) | |
---|---|
Public Overridable Function ComputeBounds( _ ByVal parts As IEnumerable(Of Part) _ ) As Rect |
C# | |
---|---|
public virtual Rect ComputeBounds( IEnumerable<Part> parts ) |
Parameters
- parts
Return Value
the union of the Bounds of all of the parts in parts, orRect.Empty
if there are no partsThis does not skip parts that are not
Visible
.