ToPixels(Rect) Method
Converts a RelativeRect into pixels.
Definition
Namespace: Avalonia
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
public Rect ToPixels(
Rect boundingBox
)
Public Function ToPixels (
boundingBox As Rect
) As Rect
member ToPixels :
boundingBox : Rect -> Rect
Parameters
- Rect
- The bounding box of the visual.
Return Value
Rect
The origin point in pixels.