Uses of Class
org.openpatch.scratch.extensions.shape.Shape
Packages that use Shape
Package
Description
The org.openpatch.scratch package contains classes that provide an API for creating Scratch-like
projects in Java.
Provides classes and interfaces for hitbox extensions in Scratch.
Provides classes for creating and manipulating geometric shapes.
Provides classes and interfaces for tiled extensions in Scratch.
-
Uses of Shape in org.openpatch.scratch
Methods in org.openpatch.scratch with parameters of type Shape -
Uses of Shape in org.openpatch.scratch.extensions.hitbox
Methods in org.openpatch.scratch.extensions.hitbox that return ShapeConstructors in org.openpatch.scratch.extensions.hitbox with parameters of type Shape -
Uses of Shape in org.openpatch.scratch.extensions.shape
Subclasses of Shape in org.openpatch.scratch.extensions.shapeModifier and TypeClassDescriptionclassRepresents a circle shape defined by its center and radius.classRepresents an ellipse shape.classRepresents a polygon shape defined by its vertices.classRepresents a rectangle shape defined by its position and size.classRepresents a triangle shape defined by three vertices.Methods in org.openpatch.scratch.extensions.shape that return ShapeModifier and TypeMethodDescriptionShape.rotate(double theta, double anchorX, double anchorY) Rotate the shape by the specified angle around a given anchor point.Shape.scale(double scaleX, double scaleY) Check if the shape is empty.Shape.translate(double dx, double dy) Translate the shape by the specified distances in the x and y directions.Methods in org.openpatch.scratch.extensions.shape with parameters of type ShapeModifier and TypeMethodDescriptionbooleanShape.intersects(Shape other) Check if the shape intersects with another shape. -
Uses of Shape in org.openpatch.scratch.extensions.tiled
Methods in org.openpatch.scratch.extensions.tiled that return Shape