Skip to main content

HitRegionAt

Type Alias HitRegionAt 

Source
pub type HitRegionAt = (Rect, Arc<dyn Fn(f32, f32) + Send + Sync>);
Expand description

A positional click callback — receives the click point in window-space logical pixels (sliders, color pickers, canvases).