TransformBounds Method
Transforms the specified bounding rectangle to account for the shadow's offset, spread, and blur.
Definition
Namespace: Avalonia.Media
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
public Rect TransformBounds(
in Rect rect
)
Public Function TransformBounds (
ByRef rect As Rect
) As Rect
member TransformBounds :
rect : Rect byref -> Rect
Parameters
Return Value
Rect
A new Rect that includes the shadow's offset, spread, and blur if the shadow is not inset; otherwise, the original rectangle.