pub fn is_position_in_component(
size: ComputedData,
position: PxPosition,
) -> boolExpand description
Returns true if position is inside a component of the given size.
The component is assumed to be located at the origin (0, 0).
This is a small convenience wrapper around is_position_in_rect.