TransformBounds Method
Transforms the specified bounding rectangle to account for all 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 all shadow's offset, spread, and blur in the collection.