編輯

共用方式為


Transform3D.TransformBounds(Rect3D) Method

Definition

Transforms the specified 3-D bounding box and returns an axis-aligned 3-D bounding box that is exactly large enough to contain it.

public:
 override System::Windows::Media::Media3D::Rect3D TransformBounds(System::Windows::Media::Media3D::Rect3D rect);
public override System.Windows.Media.Media3D.Rect3D TransformBounds (System.Windows.Media.Media3D.Rect3D rect);
override this.TransformBounds : System.Windows.Media.Media3D.Rect3D -> System.Windows.Media.Media3D.Rect3D
Public Overrides Function TransformBounds (rect As Rect3D) As Rect3D

Parameters

rect
Rect3D

The 3-D bounding box to transform.

Returns

The smallest axis-aligned 3-D bounding box possible that contains the transformed rect.

Remarks

TransformBounds is introduced in the .NET Framework version 3.5. For more information, see Versions and Dependencies.

Applies to