ICustomHitTest
trait · ferroui-base · v0.5.0
trait ICustomHitTest
An interface to allow non-templated controls to customize their hit testing when using a renderer with a simple hit-testing algorithm, where just the bounds or geometries are hit-tested.
Members
hit_test
fn hit_test(self: &Self, point: Point) -> bool
Whether the control is hit at the specified point, in coordinates relative to the control.
hit_test_geometry
fn hit_test_geometry(self: &Self, _geometry: &Ref<Geometry>) -> IntersectionResult
The intersection of the control with a geometry.
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.