Skip to main content

ToPixels(Rect) Method

Converts a RelativeRect into pixels.

Definition

Namespace: Avalonia
Assembly: Avalonia.Base (in Avalonia.Base.dll)

public Rect ToPixels(
Rect boundingBox
)
View Source

Parameters

  Rect
The bounding box of the visual.

Return Value

Rect
The origin point in pixels.

See Also

Reference

RelativeRect Structure
ToPixels Overload
Avalonia Namespace