Uses of Enum Class
org.openpatch.scratch.RotationStyle
Packages that use RotationStyle
Package
Description
The org.openpatch.scratch package contains classes that provide an API for creating Scratch-like
projects in Java.
This package contains the internal classes of the Scratch plugin.
-
Uses of RotationStyle in org.openpatch.scratch
Subclasses with type arguments of type RotationStyle in org.openpatch.scratchModifier and TypeClassDescriptionenumThe RotationStyle enum represents the different rotation styles that a sprite can have in Scratch.Methods in org.openpatch.scratch that return RotationStyleModifier and TypeMethodDescriptionstatic RotationStyleReturns the enum constant of this class with the specified name.static RotationStyle[]RotationStyle.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.openpatch.scratch with parameters of type RotationStyleModifier and TypeMethodDescriptionvoidSprite.setRotationStyle(RotationStyle style) Sets the rotation style for the sprite. -
Uses of RotationStyle in org.openpatch.scratch.internal
Methods in org.openpatch.scratch.internal with parameters of type RotationStyleModifier and TypeMethodDescriptionvoidImage.draw(processing.core.PGraphics buffer, double size, double degrees, double x, double y, RotationStyle style, Shader shader) Draw the scaled image at a given position.voidImage.draw(processing.core.PGraphics buffer, double size, double degrees, double x, double y, RotationStyle style, Shader shader, double centerX, double centerY) Draw the scaled image so that a given point of it - its rotation center - sits at a given position, turned or mirrored about that point.voidImage.drawDebug(processing.core.PGraphics buffer, double size, double degrees, double x, double y, RotationStyle style) Draw the scaled image at a given position.static booleanImage.isMirrored(double direction, RotationStyle style) Whether a costume is drawn mirrored: with rotation style LEFT_RIGHT, a sprite that does not face right shows its costume flipped.Constructors in org.openpatch.scratch.internal with parameters of type RotationStyleModifierConstructorDescriptionStamp(Image image, double degrees, double x, double y, RotationStyle style) Stamp(Image image, double degrees, double x, double y, RotationStyle style, double centerX, double centerY)