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.
-
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 TypeClassDescriptionclass
Represents a circle shape defined by its center and radius.class
Represents an ellipse shape.class
Represents a polygon shape defined by its vertices.class
Represents a rectangle shape defined by its position and size.class
Represents 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 TypeMethodDescriptionboolean
Shape.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