ToPixels(Rect) Method
Converts a RelativePoint into pixels.
Definition
Namespace: Avalonia
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
public Point ToPixels(
Rect rect
)
Public Function ToPixels (
rect As Rect
) As Point
member ToPixels :
rect : Rect -> Point
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