Returns true if the point (x, y) is contained by Path, taking into account PathFillMode. @param x x-axis value of containment test @param y y-axis value of containment test @return true if Point is in Path @see https://fiddle.skia.org/
(float x, float y)
| 1059 | * @see <a href="https://fiddle.skia.org/c/@Path_contains">https://fiddle.skia.org/c/@Path_contains</a> |
| 1060 | */ |
| 1061 | @Contract(pure = true) |
| 1062 | public boolean contains(float x, float y) { |
| 1063 | try { |
| 1064 | Stats.onNativeCall(); |
| 1065 | return _nContains(_ptr, x, y); |
| 1066 | } finally { |
| 1067 | ReferenceUtil.reachabilityFence(this); |
| 1068 | } |
| 1069 | } |
| 1070 | |
| 1071 | /** |
| 1072 | * Returns true if the point is contained by Path, taking into |
no test coverage detected