IPlatformRenderInterface.

CreateRectangleGeometry(Rect) Method

Summary

Creates a rectangle geometry implementation.
Namespace
Avalonia.Platform
Containing Type
IPlatformRenderInterface

Syntax

IGeometryImpl CreateRectangleGeometry(Rect rect)

Parameters

Name Type Description
rect Rect The bounds of the rectangle.

Return Value

Type Description
IGeometryImpl A rectangle.