RelativeRectToPixels(Rect) Method

Converts a RelativeRect into pixels.

Definition

Namespace: Avalonia
Assembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public Rect ToPixels(
	Rect boundingBox
)

Parameters

boundingBox  Rect
The bounding box of the visual.

Return Value

Rect
The origin point in pixels.

See Also