Table of Contents

Delegate HitTest

Namespace
Sdl3Sharp.Video.Windowing
Assembly
Sdl3Sharp.dll

Represents a method that will be called when a custom hit test should be performed for a Window

public delegate HitTestResult HitTest(Window window, in Point<int> area)

Parameters

window Window

The Window for which the hit test should be performed

area Point<int>

The point which should be checked

Returns

HitTestResult

The HitTestResult of the custom hit test, describing the kind of hit test result for the given point

Remarks

You can set a custom hit test for a Window by setting its HitTest property.