Scratch for Java

Shape::intersects()

Check if the shape intersects with another shape.

Syntax

Java

.intersects(other)

Parameters

Name Data Type Description
other Shape the other shape to check intersection with

Return

boolean

intersects()

Create Shareable URL

Select Sections