Skip to main content

ToPixels(Rect) Method

Converts a RelativePoint into pixels.

Definition

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

public Point ToPixels(
Rect rect
)
View Source

Parameters

  Rect
The bounding box of the rendering primitive.

Return Value

Point
The origin point in pixels.

See Also

Reference

RelativePoint Structure
ToPixels Overload
Avalonia Namespace