RelativeRect.

ToPixels(Size) Method

Summary

Converts a RelativeRect into pixels.
Namespace
Avalonia
Containing Type
RelativeRect

Syntax

public Rect ToPixels(Size size)

Parameters

Name Type Description
size Size The size of the visual.

Return Value

Type Description
Rect The origin point in pixels.