Index

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

A - Enum constant in enum class org.openpatch.scratch.KeyCode
 
absOf(double) - Static method in class org.openpatch.scratch.Operators
"abs" is an abbreviation for "absolute value."
absOf(int) - Static method in class org.openpatch.scratch.Operators
"abs" is an abbreviation for "absolute value."
acosOf(double) - Static method in class org.openpatch.scratch.Operators
"acos" is the abbreviation for "arccosine" and is also sometimes written as cos−1.
add(String, String, String) - Method in class org.openpatch.scratch.extensions.shader.Shaders
Adds a shader.
add(Pen) - Method in class org.openpatch.scratch.Stage
Adds a Pen object to the stage.
add(Sprite) - Method in class org.openpatch.scratch.Stage
Adds a sprite to the stage.
add(Text) - Method in class org.openpatch.scratch.Stage
Add a text object to the stage
add(Vector2) - Method in class org.openpatch.scratch.Vector2
Adds another vector and returns the result
ADD - Enum constant in enum class org.openpatch.scratch.KeyCode
 
addAnimation(String, String, int) - Method in class org.openpatch.scratch.AnimatedSprite
Adds an animation to the sprite.
addAnimation(String, String, int, int, int) - Method in class org.openpatch.scratch.AnimatedSprite
Adds an animation to the sprite.
addAnimation(String, String, int, int, int, int) - Method in class org.openpatch.scratch.AnimatedSprite
Adds an animation to the sprite.
addAnimation(String, String, int, int, int, int, boolean) - Method in class org.openpatch.scratch.AnimatedSprite
Adds an animation to the sprite.
addAnimation(String, Function<Integer, String>, int) - Method in class org.openpatch.scratch.AnimatedSprite
Adds an animation to the sprite.
addBackdrop(String) - Method in class org.openpatch.scratch.Stage
Add one of the backdrops that ship with Scratch for Java to the stage.
addBackdrop(String, String) - Method in class org.openpatch.scratch.Stage
Add a backdrop to the stage.
addBackdrop(String, String, boolean) - Method in class org.openpatch.scratch.Stage
Add a backdrop to the stage.
addCostume(String) - Method in class org.openpatch.scratch.Sprite
Add one of the costumes that ship with Scratch for Java to the sprite.
addCostume(String, String) - Method in class org.openpatch.scratch.Sprite
Add a costume to the sprite.
addCostume(String, String, int, int, int, int) - Method in class org.openpatch.scratch.Sprite
Adds a new costume to the sprite if a costume with the same name does not already exist.
addCostumes(String, String, int, int) - Method in class org.openpatch.scratch.Sprite
Adds all tiles from a spritesheet as costumes.
addedToStage(Stage) - Method in class org.openpatch.scratch.Pen
This method is called when the pen is added to the stage.
addedToStage(Stage) - Method in class org.openpatch.scratch.Sprite
 
addedToStage(Stage) - Method in class org.openpatch.scratch.Text
 
addFont(String, String) - Method in class org.openpatch.scratch.Text
Adds a new font to the list of fonts if it does not already exist.
addFrame(int[], int, int) - Method in class org.openpatch.scratch.internal.AnimatedGifEncoder
 
addFrame(BufferedImage) - Method in class org.openpatch.scratch.internal.AnimatedGifEncoder
Adds next GIF frame.
addPoint(double, double) - Method in class org.openpatch.scratch.Polygon
Adds a point to the polygon.
addSound(String) - Method in class org.openpatch.scratch.Sprite
Add one of the sounds that ship with Scratch for Java to the sprite.
addSound(String) - Method in class org.openpatch.scratch.Stage
Add one of the sounds that ship with Scratch for Java to the stage.
addSound(String, String) - Method in class org.openpatch.scratch.Sprite
Add a sound to the sprite.
addSound(String, String) - Method in class org.openpatch.scratch.Stage
Add a sound to the stage.
afterMillis(int) - Method in class org.openpatch.scratch.Timer
Checks if the specified number of milliseconds has passed since the method was first called.
ALICE_BLUE - Static variable in class org.openpatch.scratch.HtmlColor
The color Alice Blue.
ALL_AROUND - Enum constant in enum class org.openpatch.scratch.RotationStyle
Sprite can rotate in all 360 degrees
ALT - Enum constant in enum class org.openpatch.scratch.KeyCode
 
analyzePixels() - Method in class org.openpatch.scratch.internal.AnimatedGifEncoder
Analyzes image colors and creates color map.
angle() - Method in class org.openpatch.scratch.Vector2
Returns the angle of the vector.
AnimatedGifEncoder - Class in org.openpatch.scratch.internal
Class AnimatedGifEncoder - Encodes a GIF file consisting of one or more frames.
AnimatedGifEncoder() - Constructor for class org.openpatch.scratch.internal.AnimatedGifEncoder
 
AnimatedSprite - Class in org.openpatch.scratch
The AnimatedSprite class represents a sprite that can play animations.
AnimatedSprite() - Constructor for class org.openpatch.scratch.AnimatedSprite
 
AnimatedSprite(AnimatedSprite) - Constructor for class org.openpatch.scratch.AnimatedSprite
 
ANTIQUE_WHITE - Static variable in class org.openpatch.scratch.HtmlColor
The color Antique White.
Applet - Class in org.openpatch.scratch.internal
The Applet class represents the main application window.
Applet(int, int, boolean, String) - Constructor for class org.openpatch.scratch.internal.Applet
Constructs an Applet with the specified width, height, fullscreen mode, and assets path.
AQUA - Static variable in class org.openpatch.scratch.HtmlColor
The color Aqua.
AQUAMARINE - Static variable in class org.openpatch.scratch.HtmlColor
The color Aquamarine.
asinOf(double) - Static method in class org.openpatch.scratch.Operators
"asin" is the abbreviation for "arcsine" and is also sometimes written as sin−1.
ask(String) - Method in class org.openpatch.scratch.Sprite
Asks a question and waits for an answer to be typed in.
ask(String) - Method in class org.openpatch.scratch.Stage
Asks a question and waits for an answer to be typed in.
AssetErrorReporter - Class in org.openpatch.scratch.internal
Utility class that builds beginner-friendly error messages when an asset file cannot be loaded.
atanOf(double) - Static method in class org.openpatch.scratch.Operators
"atan" is the abbreviation for "arctangent" and is also sometimes written as tan−1.
awtShape - Variable in class org.openpatch.scratch.Shape
 
AZURE - Static variable in class org.openpatch.scratch.HtmlColor
The color Azure.

B

B - Enum constant in enum class org.openpatch.scratch.KeyCode
 
BACK_QUOTE - Enum constant in enum class org.openpatch.scratch.KeyCode
 
BACK_SLASH - Enum constant in enum class org.openpatch.scratch.KeyCode
 
background() - Method in class org.openpatch.scratch.extensions.pixels.Pixels
Returns the pixels of the background layer, where the pen and stamps draw.
BACKGROUND - Enum constant in enum class org.openpatch.scratch.Layer
Behind the sprites.
BACKSPACE - Enum constant in enum class org.openpatch.scratch.KeyCode
 
BEIGE - Static variable in class org.openpatch.scratch.HtmlColor
The color Beige.
BILINEAR - Enum constant in enum class org.openpatch.scratch.TextureSampling
Smoothed both ways, using one level of detail at a time.
BISQUE - Static variable in class org.openpatch.scratch.HtmlColor
The color Bisque.
BLACK - Static variable in class org.openpatch.scratch.HtmlColor
The color Black.
BLANCHED_ALMOND - Static variable in class org.openpatch.scratch.HtmlColor
The color Blanched Almond.
BLUE - Static variable in class org.openpatch.scratch.HtmlColor
The color Blue.
BLUE_VIOLET - Static variable in class org.openpatch.scratch.HtmlColor
The color Blue Violet.
Bounds - Record Class in org.openpatch.scratch
 
Bounds(double, double, double, double) - Constructor for record class org.openpatch.scratch.Bounds
Creates an instance of a Bounds record class.
BOX - Enum constant in enum class org.openpatch.scratch.TextStyle
 
broadcast(String) - Method in class org.openpatch.scratch.Sprite
Broadcasts a message to all sprites in the stage except the current sprite.
broadcast(String) - Method in class org.openpatch.scratch.Stage
Broadcasts a message to all sprites in the stage.
BROWN - Static variable in class org.openpatch.scratch.HtmlColor
The color Brown.
BuiltinAssets - Class in org.openpatch.scratch.internal
Registry for the sprite sheets that ship inside the Scratch for Java jar.
BuiltinAssets.Entry - Class in org.openpatch.scratch.internal
Where a single bundled sprite lives on its sheet.
BuiltinSounds - Class in org.openpatch.scratch.internal
Registry for the sound effects that ship inside the Scratch for Java jar.
BURLYWOOD - Static variable in class org.openpatch.scratch.HtmlColor
The color Burlywood.
by(Comparator<? super Sprite>) - Method in class org.openpatch.scratch.extensions.sorting.Sorting
Draws sprites in an order of your own.
byY() - Method in class org.openpatch.scratch.extensions.sorting.Sorting
Draws sprites that are further down the stage in front of sprites that are further up, which is what a view from above usually wants.

C

C - Enum constant in enum class org.openpatch.scratch.KeyCode
 
CADET_BLUE - Static variable in class org.openpatch.scratch.HtmlColor
The color Cadet Blue.
Camera - Class in org.openpatch.scratch.extensions.camera
The Camera class represents a camera that can be used to view a scene.
Camera() - Constructor for class org.openpatch.scratch.extensions.camera.Camera
Constructs a new Camera with default values.
CANCEL - Enum constant in enum class org.openpatch.scratch.KeyCode
 
CAPS_LOCK - Enum constant in enum class org.openpatch.scratch.KeyCode
 
ceilingOf(double) - Static method in class org.openpatch.scratch.Operators
This always rounds the number up to the least whole number greater than or equal to the number.
CENTER - Enum constant in enum class org.openpatch.scratch.MouseCode
Represents the center (or middle) mouse button.
CENTER - Enum constant in enum class org.openpatch.scratch.TextAlign
Centred on its position.
changeColor(double) - Method in class org.openpatch.scratch.Color
Changes the color accordining to a hue value, which is added to the current hue value.
changeColor(double) - Method in class org.openpatch.scratch.Pen
Change color via a hue value, which is added to the current hue value
changeColor(double) - Method in class org.openpatch.scratch.Stage
Changes the background color by adding a step to the hue value.
changeHeight(double) - Method in class org.openpatch.scratch.UISprite
Changes the height of the sprite by the given number of pixels.
changePosition(double, double) - Method in class org.openpatch.scratch.Sprite
Changes the position of the sprite by the given amounts.
changePosition(Vector2) - Method in class org.openpatch.scratch.Sprite
Changes the position of the sprite by a given vector.
changeSize(double) - Method in class org.openpatch.scratch.Pen
Change the size of the pen
changeSize(double) - Method in class org.openpatch.scratch.Sprite
Changes the size of the sprite by a given percentage.
changeTint(double) - Method in class org.openpatch.scratch.internal.Image
Changes the tint by adding a hue value to the current hue value.
changeTint(double) - Method in class org.openpatch.scratch.Sprite
Changes the tint for the sprite by a step.
changeTint(double) - Method in class org.openpatch.scratch.Stage
Changes the colour the backdrop is tinted with by a step.
changeTransparency(double) - Method in class org.openpatch.scratch.internal.Image
Changes the transparency by adding a step value to the current transparency.
changeTransparency(double) - Method in class org.openpatch.scratch.Pen
Change the transparency by a step
changeTransparency(double) - Method in class org.openpatch.scratch.Sprite
Changes how see-through the sprite is by a step.
changeTransparency(double) - Method in class org.openpatch.scratch.Stage
Changes how see-through the backdrop is by a step.
changeVolume(double) - Method in class org.openpatch.scratch.internal.Sound
 
changeVolume(double) - Method in class org.openpatch.scratch.Sprite
Makes every sound of this sprite louder or quieter.
changeVolume(double) - Method in class org.openpatch.scratch.Stage
Makes every sound of this stage louder or quieter.
changeWidth(double) - Method in class org.openpatch.scratch.UISprite
Changes the width of the sprite by the given number of pixels.
changeX(double) - Method in class org.openpatch.scratch.extensions.camera.Camera
Changes x by a certain amount
changeX(double) - Method in class org.openpatch.scratch.Sprite
Changes x by a certain amount
changeY(double) - Method in class org.openpatch.scratch.extensions.camera.Camera
Changes y by a certain amount
changeY(double) - Method in class org.openpatch.scratch.Sprite
Changes y by a certain amount
changeZoom(double) - Method in class org.openpatch.scratch.extensions.camera.Camera
Changes the zoom level by a certain amount
CHARTREUSE - Static variable in class org.openpatch.scratch.HtmlColor
The color Chartreuse.
CHOCOLATE - Static variable in class org.openpatch.scratch.HtmlColor
The color Chocolate.
Circle - Class in org.openpatch.scratch
Represents a circle shape defined by its center and radius.
Circle(double, double, double) - Constructor for class org.openpatch.scratch.Circle
Creates a circle with no specified position or size.
CLEAR - Enum constant in enum class org.openpatch.scratch.KeyCode
 
Clock - Class in org.openpatch.scratch
The date and time of the computer the program runs on, the same values Scratch's "current [year]" and "days since 2000" blocks report.
clone() - Method in class org.openpatch.scratch.AnimatedSprite
Creates a copy of this sprite with the same animations, and adds it to the same stage.
clone() - Method in class org.openpatch.scratch.Sprite
Creates a clone of the current sprite.
clone() - Method in class org.openpatch.scratch.Vector2
Creates a clone of the vector
CLOSE_BRACKET - Enum constant in enum class org.openpatch.scratch.KeyCode
 
closeStream - Variable in class org.openpatch.scratch.internal.AnimatedGifEncoder
 
Color - Class in org.openpatch.scratch
The Color class represents a color in the Scratch environment.
Color() - Constructor for class org.openpatch.scratch.Color
Constructs a new Color object with default values.
Color(double) - Constructor for class org.openpatch.scratch.Color
Constructs a new Color object with the specified hue value.
Color(double, double, double) - Constructor for class org.openpatch.scratch.Color
Constructs a new Color object with the specified rgb values.
Color(String) - Constructor for class org.openpatch.scratch.Color
 
Color(Color) - Constructor for class org.openpatch.scratch.Color
Copies the received ScratchColor object.
colorDepth - Variable in class org.openpatch.scratch.internal.AnimatedGifEncoder
 
colorTab - Variable in class org.openpatch.scratch.internal.AnimatedGifEncoder
 
COMMA - Enum constant in enum class org.openpatch.scratch.KeyCode
 
constrain(double, double, double) - Static method in class org.openpatch.scratch.Operators
Constrains a value to not exceed a maximum and minimum value.
constrain(int, int, int) - Static method in class org.openpatch.scratch.Operators
Constrains a value to not exceed a maximum and minimum value.
contains(double, double) - Method in class org.openpatch.scratch.Hitbox
Checks if the hitbox contains a point.
contains(double, double) - Method in class org.openpatch.scratch.Shape
Check if the shape contains a point defined by its x and y coordinates.
contains(String) - Static method in class org.openpatch.scratch.internal.BuiltinAssets
Checks whether a bundled sprite with this name exists.
contains(String) - Static method in class org.openpatch.scratch.internal.BuiltinSounds
Checks whether a bundled sound with this name exists.
CONTEXT_MENU - Enum constant in enum class org.openpatch.scratch.KeyCode
 
CORAL - Static variable in class org.openpatch.scratch.HtmlColor
The color Coral.
CORNFLOWER_BLUE - Static variable in class org.openpatch.scratch.HtmlColor
The color Cornflower Blue.
CORNSILK - Static variable in class org.openpatch.scratch.HtmlColor
The color Cornsilk.
cosOf(double) - Static method in class org.openpatch.scratch.Operators
"cos" is the abbreviation for "cosine."
count(Class<T>) - Method in class org.openpatch.scratch.Stage
Returns the number of sprites of the specified class.
CRIMSON - Static variable in class org.openpatch.scratch.HtmlColor
The color Crimson.
CTRL - Enum constant in enum class org.openpatch.scratch.KeyCode
 
CYAN - Static variable in class org.openpatch.scratch.HtmlColor
The color Cyan.

D

D - Enum constant in enum class org.openpatch.scratch.KeyCode
 
DARK_BLUE - Static variable in class org.openpatch.scratch.HtmlColor
The color Dark Blue.
DARK_CYAN - Static variable in class org.openpatch.scratch.HtmlColor
The color Dark Cyan.
DARK_GOLDENROD - Static variable in class org.openpatch.scratch.HtmlColor
The color Dark Goldenrod.
DARK_GRAY - Static variable in class org.openpatch.scratch.HtmlColor
The color Dark Gray.
DARK_GREEN - Static variable in class org.openpatch.scratch.HtmlColor
The color Dark Green.
DARK_KHAKI - Static variable in class org.openpatch.scratch.HtmlColor
The color Dark Khaki.
DARK_MAGENTA - Static variable in class org.openpatch.scratch.HtmlColor
The color Dark Magenta.
DARK_OLIVE_GREEN - Static variable in class org.openpatch.scratch.HtmlColor
The color Dark Olive Green.
DARK_ORANGE - Static variable in class org.openpatch.scratch.HtmlColor
The color Dark Orange.
DARK_ORCHID - Static variable in class org.openpatch.scratch.HtmlColor
The color Dark Orchid.
DARK_RED - Static variable in class org.openpatch.scratch.HtmlColor
The color Dark Red.
DARK_SALMON - Static variable in class org.openpatch.scratch.HtmlColor
The color Dark Salmon.
DARK_SEA_GREEN - Static variable in class org.openpatch.scratch.HtmlColor
The color Dark Sea Green.
DARK_SLATE_BLUE - Static variable in class org.openpatch.scratch.HtmlColor
The color Dark Slate Blue.
DARK_SLATE_GRAY - Static variable in class org.openpatch.scratch.HtmlColor
The color Dark Slate Gray.
DARK_TURQUOISE - Static variable in class org.openpatch.scratch.HtmlColor
The color Dark Turquoise.
DARK_VIOLET - Static variable in class org.openpatch.scratch.HtmlColor
The color Dark Violet.
debug(Object...) - Method in class org.openpatch.scratch.Sprite
Prints a debug message to stdout when debug mode is enabled.
debug(Object...) - Method in class org.openpatch.scratch.Stage
Prints a debug message to stdout when debug mode is enabled.
debug(Object...) - Method in class org.openpatch.scratch.Window
Prints a debug message to stdout when debug mode is enabled.
DEBUG_COLOR - Static variable in class org.openpatch.scratch.Window
The default color used for debugging purposes.
DECIMAL - Enum constant in enum class org.openpatch.scratch.KeyCode
 
DEEP_PINK - Static variable in class org.openpatch.scratch.HtmlColor
The color Deep Pink.
DEEP_SKY_BLUE - Static variable in class org.openpatch.scratch.HtmlColor
The color Deep Sky Blue.
DEFAULT - Enum constant in enum class org.openpatch.scratch.TextAlign
Whatever the text style already uses.
defaultFont - Static variable in class org.openpatch.scratch.internal.Font
The default font.
degreesToRadians(double) - Static method in class org.openpatch.scratch.internal.Utils
Converts an angle measured in degrees to an approximately equivalent angle measured in radians.
delay - Variable in class org.openpatch.scratch.internal.AnimatedGifEncoder
 
DELETE - Enum constant in enum class org.openpatch.scratch.KeyCode
 
DIGIT_0 - Enum constant in enum class org.openpatch.scratch.KeyCode
 
DIGIT_1 - Enum constant in enum class org.openpatch.scratch.KeyCode
 
DIGIT_2 - Enum constant in enum class org.openpatch.scratch.KeyCode
 
DIGIT_3 - Enum constant in enum class org.openpatch.scratch.KeyCode
 
DIGIT_4 - Enum constant in enum class org.openpatch.scratch.KeyCode
 
DIGIT_5 - Enum constant in enum class org.openpatch.scratch.KeyCode
 
DIGIT_6 - Enum constant in enum class org.openpatch.scratch.KeyCode
 
DIGIT_7 - Enum constant in enum class org.openpatch.scratch.KeyCode
 
DIGIT_8 - Enum constant in enum class org.openpatch.scratch.KeyCode
 
DIGIT_9 - Enum constant in enum class org.openpatch.scratch.KeyCode
 
DIM_GRAY - Static variable in class org.openpatch.scratch.HtmlColor
The color Dim Gray.
DIRECTION_DOWN - Static variable in class org.openpatch.scratch.Sprite
Direction constant pointing down (180 degrees).
DIRECTION_LEFT - Static variable in class org.openpatch.scratch.Sprite
Direction constant pointing left (270 degrees).
DIRECTION_RIGHT - Static variable in class org.openpatch.scratch.Sprite
Direction constant pointing right (90 degrees).
DIRECTION_UP - Static variable in class org.openpatch.scratch.Sprite
Direction constant pointing up (0 degrees).
disableHitbox() - Method in class org.openpatch.scratch.Sprite
Disables the hitbox for the sprite.
disableNineSlice() - Method in class org.openpatch.scratch.internal.Image
Disables the nine-slice scaling for the image.
disableNineSlice() - Method in class org.openpatch.scratch.Sprite
Disables the nine-slice feature for all costumes of the sprite.
disableNineSlice() - Method in class org.openpatch.scratch.UISprite
Lets the whole costume stretch again.
display(String) - Method in class org.openpatch.scratch.Stage
Displays the given text on the stage.
display(String, int) - Method in class org.openpatch.scratch.Stage
Displays the given text on the screen for a specified duration.
dispose - Variable in class org.openpatch.scratch.internal.AnimatedGifEncoder
 
distance(Vector2) - Method in class org.openpatch.scratch.Vector2
Calculates the distance to another vector.
distanceSq(Vector2) - Method in class org.openpatch.scratch.Vector2
Calculates the squared distance to another vector.
distanceToMousePointer() - Method in class org.openpatch.scratch.Sprite
Calculates the distance from the current sprite to the mouse pointer.
distanceToSprite(Sprite) - Method in class org.openpatch.scratch.Sprite
Calculates the Euclidean distance between this sprite and another sprite.
DIVIDE - Enum constant in enum class org.openpatch.scratch.KeyCode
 
DODGER_BLUE - Static variable in class org.openpatch.scratch.HtmlColor
The color Dodger Blue.
DONT - Enum constant in enum class org.openpatch.scratch.RotationStyle
Sprite does not rotate at all
dot(Vector2) - Method in class org.openpatch.scratch.Vector2
Calculates the dot product.
down() - Method in class org.openpatch.scratch.Pen
Set the pen down.
DOWN - Enum constant in enum class org.openpatch.scratch.KeyCode
 
draw() - Method in class org.openpatch.scratch.internal.Applet
Draws the application window.
draw(PGraphics) - Method in interface org.openpatch.scratch.internal.StageHooks
Draws the stage.
draw(PGraphics) - Method in class org.openpatch.scratch.internal.Stamp
 
draw(PGraphics) - Method in class org.openpatch.scratch.Pen
Draw the line which the pen has drawn.
draw(PGraphics) - Method in class org.openpatch.scratch.Shape
 
draw(PGraphics) - Method in class org.openpatch.scratch.Sprite
Draws the sprite if it is not hidden.
draw(PGraphics) - Method in class org.openpatch.scratch.Text
 
draw(PGraphics, double, double, double, double, RotationStyle, Shader) - Method in class org.openpatch.scratch.internal.Image
Draw the scaled image at a given position.
draw(PGraphics, float, float, float, float, Shader) - Method in class org.openpatch.scratch.internal.Image
Draw the scaled image at a given position.
drawAsBackground(PGraphics) - Method in class org.openpatch.scratch.internal.Image
Draw the image as a background.
drawDebug(PGraphics) - Method in class org.openpatch.scratch.Hitbox
Draws the hitbox with a debug color.
drawDebug(PGraphics) - Method in class org.openpatch.scratch.Sprite
Draws debug information for the sprite.
drawDebug(PGraphics, double, double, double, double, RotationStyle) - Method in class org.openpatch.scratch.internal.Image
Draw the scaled image at a given position.
drawShape(PGraphics) - Method in class org.openpatch.scratch.Hitbox
Draws the shape.

E

E - Enum constant in enum class org.openpatch.scratch.KeyCode
 
ellipse - Variable in class org.openpatch.scratch.extensions.tiled.MapObject
An object representing an ellipse shape.
Ellipse - Class in org.openpatch.scratch
Represents an ellipse shape.
Ellipse(double, double, double, double) - Constructor for class org.openpatch.scratch.Ellipse
Creates an ellipse with no specified position or size.
enableHitbox() - Method in class org.openpatch.scratch.Sprite
Enables the hitbox for the sprite.
END - Enum constant in enum class org.openpatch.scratch.KeyCode
 
ENTER - Enum constant in enum class org.openpatch.scratch.KeyCode
 
equals(Object) - Method in record class org.openpatch.scratch.Bounds
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in class org.openpatch.scratch.Color
Two colours are the same when they are the same colour.
equals(Object) - Method in class org.openpatch.scratch.Vector2
Compares this vector with another object.
EQUALS - Enum constant in enum class org.openpatch.scratch.KeyCode
 
eraseAll() - Method in class org.openpatch.scratch.Pen
Erases all.
eraseAll() - Method in class org.openpatch.scratch.Stage
Erases all lines on the pen layer.
ESCAPE - Enum constant in enum class org.openpatch.scratch.KeyCode
 
eToThePowerOf(double) - Static method in class org.openpatch.scratch.Operators
"e" is an abbreviation for "Euler's number", which is about 2.718.
everyMillis(int) - Method in class org.openpatch.scratch.Timer
Checks if the specified number of milliseconds has passed since the last time this method returned true.
exit() - Method in class org.openpatch.scratch.Stage
Close the window and therefore the whole application.
exit() - Method in class org.openpatch.scratch.Window
Exits the application by invoking the `whenExits` method and then calling the `exit` method on the `Applet` instance.

F

F - Enum constant in enum class org.openpatch.scratch.KeyCode
 
F1 - Enum constant in enum class org.openpatch.scratch.KeyCode
 
F10 - Enum constant in enum class org.openpatch.scratch.KeyCode
 
F11 - Enum constant in enum class org.openpatch.scratch.KeyCode
 
F12 - Enum constant in enum class org.openpatch.scratch.KeyCode
 
F2 - Enum constant in enum class org.openpatch.scratch.KeyCode
 
F3 - Enum constant in enum class org.openpatch.scratch.KeyCode
 
F4 - Enum constant in enum class org.openpatch.scratch.KeyCode
 
F5 - Enum constant in enum class org.openpatch.scratch.KeyCode
 
F6 - Enum constant in enum class org.openpatch.scratch.KeyCode
 
F7 - Enum constant in enum class org.openpatch.scratch.KeyCode
 
F8 - Enum constant in enum class org.openpatch.scratch.KeyCode
 
F9 - Enum constant in enum class org.openpatch.scratch.KeyCode
 
FFmpegRecorder - Class in org.openpatch.scratch.extensions.recorder
The FFmpegRecorder class extends the Recorder class to provide functionality for recording frames and converting them into a video file using FFmpeg.
FFmpegRecorder(String) - Constructor for class org.openpatch.scratch.extensions.recorder.FFmpegRecorder
Constructs an FFmpegRecorder object with the specified path.
File - Class in org.openpatch.scratch.extensions.fs
The File class provides methods to save and load objects to and from files in JSON or XML format.
File() - Constructor for class org.openpatch.scratch.extensions.fs.File
 
find(Class<T>) - Method in class org.openpatch.scratch.Stage
Find sprites of a given class.
findClosest(Color) - Method in class org.openpatch.scratch.internal.AnimatedGifEncoder
Returns index of palette color closest to c
finish() - Method in class org.openpatch.scratch.internal.AnimatedGifEncoder
Flushes any pending data and closes output file.
FIREBRICK - Static variable in class org.openpatch.scratch.HtmlColor
The color Firebrick.
firstFrame - Variable in class org.openpatch.scratch.internal.AnimatedGifEncoder
 
floorOf(double) - Static method in class org.openpatch.scratch.Operators
This always rounds the number down to the greatest whole number less than or equal to the number.
FLORAL_WHITE - Static variable in class org.openpatch.scratch.HtmlColor
The color Floral White.
Font - Class in org.openpatch.scratch.internal
The Font class represents a font that can be used to render text on the screen.
Font(String, String) - Constructor for class org.openpatch.scratch.internal.Font
Constructs a font with the specified name and path.
Font(Font) - Constructor for class org.openpatch.scratch.internal.Font
Copy constructor.
foreground() - Method in class org.openpatch.scratch.extensions.pixels.Pixels
Returns the pixels of the foreground layer.
FOREGROUND - Enum constant in enum class org.openpatch.scratch.Layer
In front of the sprites.
FOREST_GREEN - Static variable in class org.openpatch.scratch.HtmlColor
The color Forest Green.
forMillis(int) - Method in class org.openpatch.scratch.Timer
Checks if the specified amount of milliseconds has passed since the method was first called.
FrameRecorder - Class in org.openpatch.scratch.extensions.recorder
The FrameRecorder class extends the Recorder class to provide functionality for saving frames of an applet as PNG files.
FrameRecorder(String) - Constructor for class org.openpatch.scratch.extensions.recorder.FrameRecorder
Constructs a new FrameRecorder with the specified output folder.
fromCode(int) - Static method in enum class org.openpatch.scratch.KeyCode
 
fromPolar(double, double) - Static method in class org.openpatch.scratch.Vector2
Constructor method for constructing a vector based on polar coordinates.
FUCHSIA - Static variable in class org.openpatch.scratch.HtmlColor
The color Fuchsia.

G

G - Enum constant in enum class org.openpatch.scratch.KeyCode
 
GAINSBORO - Static variable in class org.openpatch.scratch.HtmlColor
The color Gainsboro.
get() - Method in class org.openpatch.scratch.Color
Get the color value as a hex code.
get() - Static method in class org.openpatch.scratch.internal.StageAccess
Returns the installed accessor.
get(String) - Method in class org.openpatch.scratch.extensions.shader.Shaders
Returns a shader by name.
get(String) - Static method in class org.openpatch.scratch.internal.BuiltinAssets
Looks up a bundled sprite.
get(String) - Static method in class org.openpatch.scratch.internal.BuiltinSounds
Looks up a bundled sound.
getAlign() - Method in class org.openpatch.scratch.Text
Returns where the text sits relative to its position.
getAll() - Method in class org.openpatch.scratch.Stage
Retrieves a list of all sprites in the current stage.
getAnimationFrame() - Method in class org.openpatch.scratch.AnimatedSprite
Gets the current animation frame.
getAnimationInterval() - Method in class org.openpatch.scratch.AnimatedSprite
Gets the interval between animation frames.
getAnswer() - Method in class org.openpatch.scratch.Sprite
Returns the last answer that was typed in.
getAnswer() - Method in class org.openpatch.scratch.Stage
Returns the last answer that was typed in.
getBlue() - Method in class org.openpatch.scratch.Color
Get the blue value.
getBounds() - Method in class org.openpatch.scratch.Hitbox
Returns the smallest upright rectangle the hitbox fits into.
getBounds() - Method in class org.openpatch.scratch.Shape
Get the bounds of the shape.
getCamera() - Method in class org.openpatch.scratch.Stage
Retrieves the current camera instance associated with this stage.
getCode() - Method in enum class org.openpatch.scratch.KeyCode
 
getColor() - Method in class org.openpatch.scratch.Pen
Retrieves the current color of the pen.
getColor() - Method in class org.openpatch.scratch.Stage
Returns the current color of the stage.
getComparator() - Method in class org.openpatch.scratch.extensions.sorting.Sorting
Returns the order currently used.
getContentBounds() - Method in class org.openpatch.scratch.internal.Image
Returns the smallest rectangle that holds every pixel which is not fully transparent, in coordinates of the image before it was resized.
getCurrent() - Method in class org.openpatch.scratch.extensions.shader.Shaders
Returns the shader currently drawn with.
getCurrentBackdropIndex() - Method in class org.openpatch.scratch.Stage
Returns the current backdrop index
getCurrentBackdropName() - Method in class org.openpatch.scratch.Stage
Returns the current backdrop name
getCurrentCostumeIndex() - Method in class org.openpatch.scratch.Sprite
Returns the current costume index
getCurrentCostumeName() - Method in class org.openpatch.scratch.Sprite
Returns the current costume name
getCurrentFontIndex() - Method in class org.openpatch.scratch.Text
Returns the index of the current font.
getCurrentFontName() - Method in class org.openpatch.scratch.Text
Retrieves the name of the current font.
getCurrentIndex() - Method in class org.openpatch.scratch.extensions.shader.Shaders
Returns the position of the current shader.
getCurrentName() - Method in class org.openpatch.scratch.extensions.shader.Shaders
Returns the name of the current shader.
getDay() - Static method in class org.openpatch.scratch.Clock
Returns the current day of the month, from 1 to 31.
getDayOfWeek() - Static method in class org.openpatch.scratch.Clock
Returns the current day of the week, from 1 for Monday to 7 for Sunday.
getDaysSince2000() - Static method in class org.openpatch.scratch.Clock
Returns the number of days that have passed since the first of January 2000.
getDefaultFont() - Static method in class org.openpatch.scratch.internal.Font
 
getDefaultFont() - Static method in class org.openpatch.scratch.Text
Returns the font that text is written in by default.
getDefaultFontSize() - Static method in class org.openpatch.scratch.Text
Returns the size text is written in by default.
getDefaultFontSizes() - Static method in class org.openpatch.scratch.Text
Returns the sizes prepared in advance.
getDeltaTime() - Method in class org.openpatch.scratch.internal.Applet
Returns the time since the last frame in seconds.
getDeltaTime() - Method in class org.openpatch.scratch.Sprite
Gets the seconds passed since the last frame.
getDeltaTime() - Method in class org.openpatch.scratch.Stage
Gets the seconds passed since the last frame.
getDeltaTime() - Method in class org.openpatch.scratch.Window
Gets the seconds passed since the last frame.
getDirection() - Method in class org.openpatch.scratch.Sprite
Returns the direction of the sprite.
getEntries() - Static method in class org.openpatch.scratch.internal.BuiltinAssets
Returns every bundled sprite, including the ones whose bare name is taken by an earlier sheet, in sheet order.
getFont() - Method in class org.openpatch.scratch.Text
Retrieves the name of the font.
getFont(int) - Method in class org.openpatch.scratch.internal.Font
 
getFrameRate() - Method in class org.openpatch.scratch.Stage
Get the frame rate of the application.
getGreen() - Method in class org.openpatch.scratch.Color
Get the green value.
getH() - Method in class org.openpatch.scratch.Color
Get the hue value.
getHeight() - Method in class org.openpatch.scratch.internal.Applet
Returns the height of the current window.
getHeight() - Method in class org.openpatch.scratch.internal.Image
Returns the height
getHeight() - Method in class org.openpatch.scratch.Sprite
Return the height of the current costume or the pen size, when no costume is available.
getHeight() - Method in class org.openpatch.scratch.Stage
Return the height of the current costume or the pen size, when no costume is available.
getHeight() - Method in class org.openpatch.scratch.Window
Retrieves the height of the current window.
getHitbox() - Method in class org.openpatch.scratch.Sprite
Returns the hitbox of the sprite based on its current costume, position, and rotation.
getHour() - Static method in class org.openpatch.scratch.Clock
Returns the current hour, from 0 to 23.
getHSB() - Method in class org.openpatch.scratch.Color
Get the color value on the HSB spectrum.
getImagePixels() - Method in class org.openpatch.scratch.internal.AnimatedGifEncoder
Extracts image pixels into byte array "pixels"
getInstance() - Static method in class org.openpatch.scratch.internal.Applet
Returns the instance of the application.
getInstance() - Static method in class org.openpatch.scratch.Window
Returns the singleton instance of the Window class.
getKeyCodePressed() - Method in class org.openpatch.scratch.internal.Applet
 
getL() - Method in class org.openpatch.scratch.Color
Get the luminosity value.
getLibraryTitle() - Method in class org.openpatch.scratch.Window
Returns the title of the library.
getLibraryVersion() - Method in class org.openpatch.scratch.Window
Returns the version of the library.
getMillisecond() - Static method in class org.openpatch.scratch.Clock
Returns the milliseconds of the current second, from 0 to 999.
getMinute() - Static method in class org.openpatch.scratch.Clock
Returns the current minute, from 0 to 59.
getMode() - Method in enum class org.openpatch.scratch.TextAlign
Returns the number the graphics library uses for this alignment.
getMode() - Method in enum class org.openpatch.scratch.TextureSampling
Returns the number the graphics library uses for this setting.
getMonth() - Static method in class org.openpatch.scratch.Clock
Returns the current month, from 1 for January to 12 for December.
getMouse() - Method in class org.openpatch.scratch.Sprite
Retrieves the current position of the mouse cursor.
getMouse() - Method in class org.openpatch.scratch.Stage
Returns the current position of the mouse cursor as a Vector2
getMouseX() - Method in class org.openpatch.scratch.Sprite
Returns the current x-position of the mouse cursor
getMouseX() - Method in class org.openpatch.scratch.Stage
Returns the current x-position of the mouse cursor
getMouseY() - Method in class org.openpatch.scratch.Sprite
Returns the current y-position of the mouse cursor
getMouseY() - Method in class org.openpatch.scratch.Stage
Returns the current y-position of the mouse cursor
getName() - Method in class org.openpatch.scratch.extensions.shader.Shader
Returns the name
getName() - Method in class org.openpatch.scratch.internal.Font
Returns the name of the font.
getName() - Method in class org.openpatch.scratch.internal.Image
Returns the name
getName() - Method in class org.openpatch.scratch.internal.Sound
 
getNames() - Static method in class org.openpatch.scratch.internal.BuiltinAssets
Returns every bundled sprite name, without the sheet qualifier and without duplicates, in sheet order.
getNames() - Static method in class org.openpatch.scratch.internal.BuiltinSounds
Returns every bundled sound name.
getObjectsFromLayer(String) - Method in class org.openpatch.scratch.extensions.tiled.TiledMap
Retrieves the objects from a specified layer in the tiled map.
getOriginalHeight() - Method in class org.openpatch.scratch.internal.Image
Returns the height of the image before it was resized.
getOriginalWidth() - Method in class org.openpatch.scratch.internal.Image
Returns the width of the image before it was resized.
getOut() - Method in class org.openpatch.scratch.internal.AnimatedGifEncoder
 
getPath(String) - Static method in class org.openpatch.scratch.internal.Applet
 
getPen() - Method in class org.openpatch.scratch.Sprite
Returns the pen of the sprite.
getPixels() - Method in class org.openpatch.scratch.Stage
Returns the colours of everything this stage has drawn.
getPosition() - Method in class org.openpatch.scratch.extensions.camera.Camera
Returns the position of the sprite
getPosition() - Method in class org.openpatch.scratch.Sprite
Retrieves the current position of the sprite.
getPosition() - Method in class org.openpatch.scratch.Text
Retrieves the current position as a Vector2 object.
getProperty(String) - Method in class org.openpatch.scratch.extensions.tiled.MapObject
Retrieves the value of a property with the specified name from the properties list.
getPropertyBoolean(String) - Method in class org.openpatch.scratch.extensions.tiled.MapObject
Retrieves the value of the specified property as a boolean.
getPropertyFloat(String) - Method in class org.openpatch.scratch.extensions.tiled.MapObject
Retrieves the value of a specified property as a float.
getPropertyInt(String) - Method in class org.openpatch.scratch.extensions.tiled.MapObject
Retrieves the value of a property with the specified name and converts it to an integer.
getPShader() - Method in class org.openpatch.scratch.extensions.shader.Shader
Returns the shader
getRandom() - Static method in class org.openpatch.scratch.HtmlColor
Returns a random HTML color.
getRed() - Method in class org.openpatch.scratch.Color
Get the red value.
getReferenceName(BuiltinAssets.Entry) - Static method in class org.openpatch.scratch.internal.BuiltinAssets
Returns the name to write in code for a sprite.
getRenderHeight() - Method in class org.openpatch.scratch.internal.Applet
 
getRenderWidth() - Method in class org.openpatch.scratch.internal.Applet
 
getS() - Method in class org.openpatch.scratch.Color
Get the saturation value.
getSecond() - Static method in class org.openpatch.scratch.Clock
Returns the current second, from 0 to 59.
getShaders() - Method in class org.openpatch.scratch.Sprite
Returns the shaders of this sprite.
getShaders() - Method in class org.openpatch.scratch.Stage
Returns the shaders of this stage.
getShape() - Method in class org.openpatch.scratch.extensions.tiled.MapObject
Returns a Shape object representing the current map object.
getShape() - Method in class org.openpatch.scratch.Hitbox
Returns the shape of the hitbox.
getSheets() - Static method in class org.openpatch.scratch.internal.BuiltinAssets
Returns the bundled sheets, in lookup order.
getSize() - Method in class org.openpatch.scratch.Pen
Returns the size of the pen
getSize() - Method in class org.openpatch.scratch.Sprite
Returns the size of the sprite.
getSorting() - Method in class org.openpatch.scratch.Stage
Returns the order in which the sprites of this stage are drawn.
getSplashLogo() - Static method in class org.openpatch.scratch.Window
Returns the picture the loading screen shows.
getStage() - Method in class org.openpatch.scratch.internal.Applet
Returns the current stage of the application.
getStage() - Method in class org.openpatch.scratch.Sprite
Retrieves the current stage associated with this sprite.
getStage() - Method in class org.openpatch.scratch.Text
Retrieves the current stage associated with this object.
getStage() - Method in class org.openpatch.scratch.Window
Retrieves the current stage from the Applet instance.
getStyle() - Method in class org.openpatch.scratch.Text
Returns the style the text is drawn in.
getText() - Method in class org.openpatch.scratch.Sprite
Retrieves the text associated with this sprite.
getTextSize() - Method in class org.openpatch.scratch.internal.Applet
Returns the current text size.
getTextSize() - Method in class org.openpatch.scratch.Text
Returns the size of the text.
getTextureSampling() - Static method in class org.openpatch.scratch.Window
Returns how pictures are being smoothed.
getTimer() - Method in class org.openpatch.scratch.Sprite
Return the default timer
getTimer() - Method in class org.openpatch.scratch.Stage
Returns the timer
getTimer(String) - Method in class org.openpatch.scratch.Sprite
Return a timer by name
getTimer(String) - Method in class org.openpatch.scratch.Stage
Returns a timer by name
getTint() - Method in class org.openpatch.scratch.internal.Image
Returns the tint
getTint() - Method in class org.openpatch.scratch.Sprite
Retrieves the tint value of the current costume.
getTouchingSprite(Class<T>) - Method in class org.openpatch.scratch.Sprite
Returns the first sprite of the specified type that is currently touching this sprite.
getTouchingSprites(Class<T>) - Method in class org.openpatch.scratch.Sprite
Returns a list of sprites of the specified type that are currently touching this sprite.
getTransparency() - Method in class org.openpatch.scratch.internal.Image
Returns the transparency
getTransparency() - Method in class org.openpatch.scratch.Sprite
Gets the transparency of the current costume.
getVolume() - Method in class org.openpatch.scratch.internal.Sound
 
getVolume() - Method in class org.openpatch.scratch.Sprite
Returns how loud the sounds of this sprite play.
getVolume() - Method in class org.openpatch.scratch.Stage
Returns how loud the sounds of this stage play.
getWidth() - Method in class org.openpatch.scratch.internal.Applet
Returns the width of the current window.
getWidth() - Method in class org.openpatch.scratch.internal.Image
Returns the width
getWidth() - Method in class org.openpatch.scratch.Sprite
Return the width of the current costume or the pen size, when no costume is available.
getWidth() - Method in class org.openpatch.scratch.Stage
Return the width of the current costume or the pen size, when no costume is available.
getWidth() - Method in class org.openpatch.scratch.Text
Returns the width of the text.
getWidth() - Method in class org.openpatch.scratch.Window
Retrieves the width of the current window.
getX() - Method in class org.openpatch.scratch.extensions.camera.Camera
Returns the x coordinate of the sprite
getX() - Method in class org.openpatch.scratch.Sprite
Returns the x coordinate of the sprite
getX() - Method in class org.openpatch.scratch.Text
Returns the x-coordinate of this object.
getX() - Method in class org.openpatch.scratch.Vector2
Returns the x coordinate of the vector
getY() - Method in class org.openpatch.scratch.extensions.camera.Camera
Returns the y coordinate of the sprite
getY() - Method in class org.openpatch.scratch.Sprite
Returns the y coordinate of the sprite
getY() - Method in class org.openpatch.scratch.Text
Returns the y-coordinate of this object.
getY() - Method in class org.openpatch.scratch.Vector2
Returns the y coordinate of the vector
getYear() - Static method in class org.openpatch.scratch.Clock
Returns the current year, for example 2026.
getZoom() - Method in class org.openpatch.scratch.extensions.camera.Camera
Returns the zoom level
GHOST_WHITE - Static variable in class org.openpatch.scratch.HtmlColor
The color Ghost White.
GifRecorder - Class in org.openpatch.scratch.extensions.recorder
The GifRecorder class is responsible for recording and saving frames as GIF images.
GifRecorder(String) - Constructor for class org.openpatch.scratch.extensions.recorder.GifRecorder
Constructs a new GifRecorder object.
glide(double, double, double) - Method in class org.openpatch.scratch.Sprite
Slides the sprite to a place over the given time, instead of jumping there.
goLayersBackwards(int) - Method in class org.openpatch.scratch.Sprite
Moves the sprite backwards by a specified number of layers in the stage.
goLayersBackwards(int) - Method in class org.openpatch.scratch.Text
Moves the text backwards by a specified number of layers in the stage.
goLayersForwards(int) - Method in class org.openpatch.scratch.Sprite
Moves the sprite forward by a specified number of layers within its stage.
goLayersForwards(int) - Method in class org.openpatch.scratch.Text
Moves the text forward by a specified number of layers within its stage.
GOLD - Static variable in class org.openpatch.scratch.HtmlColor
The color Gold.
GOLDENROD - Static variable in class org.openpatch.scratch.HtmlColor
The color Goldenrod.
goToBackground() - Method in class org.openpatch.scratch.Pen
Sets the pen to the background.
goToBackLayer() - Method in class org.openpatch.scratch.Sprite
Moves the sprite to the back layer of the stage.
goToBackLayer() - Method in class org.openpatch.scratch.Text
Moves this text to the back layer of the stage, behind every other text on it.
goToForeground() - Method in class org.openpatch.scratch.Pen
Moves the pen to the foreground.
goToFrontLayer() - Method in class org.openpatch.scratch.Sprite
Moves this sprite to the front layer of the stage.
goToFrontLayer() - Method in class org.openpatch.scratch.Text
Moves this text to the front layer of the stage, in front of every other text on it.
goToMousePointer() - Method in class org.openpatch.scratch.Pen
Moves the object to the current position of the mouse pointer.
goToMousePointer() - Method in class org.openpatch.scratch.Sprite
Moves the sprite to the current position of the mouse pointer.
goToRandomPosition() - Method in class org.openpatch.scratch.Pen
Moves the object to a random position within the boundaries of the stage.
goToRandomPosition() - Method in class org.openpatch.scratch.Sprite
Moves the sprite to a random position within the boundaries of the stage.
goToSprite(Sprite) - Method in class org.openpatch.scratch.Sprite
Moves this sprite to the position of the specified sprite.
GRAY - Static variable in class org.openpatch.scratch.HtmlColor
The color Gray.
GREEN - Static variable in class org.openpatch.scratch.HtmlColor
The color Green.
GREEN_YELLOW - Static variable in class org.openpatch.scratch.HtmlColor
The color Green Yellow.

H

H - Enum constant in enum class org.openpatch.scratch.KeyCode
 
hashCode() - Method in record class org.openpatch.scratch.Bounds
Returns a hash code value for this object.
hashCode() - Method in class org.openpatch.scratch.Color
 
hashCode() - Method in class org.openpatch.scratch.Vector2
Returns the hash code of the vector.
height - Variable in class org.openpatch.scratch.extensions.tiled.MapObject
The height of the map object.
height - Variable in class org.openpatch.scratch.extensions.tiled.TilesetImage
 
height - Variable in class org.openpatch.scratch.internal.AnimatedGifEncoder
 
height - Variable in class org.openpatch.scratch.internal.BuiltinAssets.Entry
 
height() - Method in record class org.openpatch.scratch.Bounds
Returns the value of the height record component.
HELP - Enum constant in enum class org.openpatch.scratch.KeyCode
 
hide() - Method in class org.openpatch.scratch.Sprite
Hides the sprite.
Hitbox - Class in org.openpatch.scratch
Represents a hitbox with a shape that can be transformed by scaling, translating, and rotating it.
Hitbox(double[], double[]) - Constructor for class org.openpatch.scratch.Hitbox
Constructs a hitbox with the specified x and y points.
Hitbox(Shape) - Constructor for class org.openpatch.scratch.Hitbox
Constructs a hitbox with the specified shape.
HOME - Enum constant in enum class org.openpatch.scratch.KeyCode
 
HONEYDEW - Static variable in class org.openpatch.scratch.HtmlColor
The color Honeydew.
HOT_PINK - Static variable in class org.openpatch.scratch.HtmlColor
The color Hot Pink.
HtmlColor - Class in org.openpatch.scratch
Provides predefined HTML colors as Color objects.
HtmlColor() - Constructor for class org.openpatch.scratch.HtmlColor
 

I

I - Enum constant in enum class org.openpatch.scratch.KeyCode
 
id - Variable in class org.openpatch.scratch.extensions.tiled.MapObject
The unique identifier of the map object.
ifOnEdgeBounce() - Method in class org.openpatch.scratch.Sprite
Checks if the sprite is on the edge of the stage and bounces it back if it is.
image - Variable in class org.openpatch.scratch.internal.AnimatedGifEncoder
 
image - Variable in class org.openpatch.scratch.internal.Stamp
 
Image - Class in org.openpatch.scratch.internal
The base class for representing scratch costumes and backdrops.
Image(String, String) - Constructor for class org.openpatch.scratch.internal.Image
Construct a ScratchImage object by a name and a path to an image.
Image(String, String, int, int, int, int) - Constructor for class org.openpatch.scratch.internal.Image
Construct a ScratchImage object by a name and a path to a sprite sheet.
Image(Image) - Constructor for class org.openpatch.scratch.internal.Image
Copies a ScratchImage object
indexedPixels - Variable in class org.openpatch.scratch.internal.AnimatedGifEncoder
 
INDIAN_RED - Static variable in class org.openpatch.scratch.HtmlColor
The color Indian Red.
INDIGO - Static variable in class org.openpatch.scratch.HtmlColor
The color Indigo.
INSERT - Enum constant in enum class org.openpatch.scratch.KeyCode
 
install(StageAccess) - Static method in class org.openpatch.scratch.internal.StageAccess
Installs the implementation.
intersects(Bounds) - Method in record class org.openpatch.scratch.Bounds
 
intersects(Hitbox) - Method in class org.openpatch.scratch.Hitbox
Checks if the hitbox intersects with another hitbox.
intersects(Shape) - Method in class org.openpatch.scratch.Shape
Check if the shape intersects with another shape.
intervalMillis(int) - Method in class org.openpatch.scratch.Timer
Checks if the specified interval in milliseconds has passed.
intervalMillis(int, boolean) - Method in class org.openpatch.scratch.Timer
Checks if the specified interval in milliseconds has passed.
intervalMillis(int, int) - Method in class org.openpatch.scratch.Timer
Checks if the specified interval in milliseconds has passed.
intervalMillis(int, int, boolean) - Method in class org.openpatch.scratch.Timer
Checks if the specified interval in milliseconds has passed.
invalidateCache() - Method in class org.openpatch.scratch.Shape
Call after replacing Shape.awtShape so the derived data is rebuilt.
isAnimationPlayed() - Method in class org.openpatch.scratch.AnimatedSprite
Checks if the animation is played.
isAsking() - Method in class org.openpatch.scratch.Sprite
Checks whether a question is on screen and still waiting for an answer.
isAsking() - Method in class org.openpatch.scratch.Stage
Checks whether a question is on screen and still waiting for an answer.
isBuiltinName(String) - Static method in class org.openpatch.scratch.internal.BuiltinAssets
Checks whether a string looks like a bundled sprite name rather than a file path.
isDebug() - Method in class org.openpatch.scratch.internal.Applet
Checks if the application is in debug mode.
isDebug() - Method in class org.openpatch.scratch.Stage
Checks if the application is in debug mode.
isDebug() - Method in class org.openpatch.scratch.Window
Checks if the application is in debug mode.
isGliding() - Method in class org.openpatch.scratch.Sprite
Checks whether the sprite is still on its way to a place it was told to glide to.
isInBackground() - Method in class org.openpatch.scratch.Pen
Returns true if the pen is in the background.
isKeyPressed(KeyCode) - Method in class org.openpatch.scratch.Sprite
Returns true if the key is pressed
isKeyPressed(KeyCode) - Method in class org.openpatch.scratch.Stage
Returns true if the key is pressed
isMouseDown() - Method in class org.openpatch.scratch.internal.Applet
 
isMouseDown() - Method in class org.openpatch.scratch.Sprite
Returns true is the mouse button is down
isMouseDown() - Method in class org.openpatch.scratch.Stage
Returns true is the mouse button is down
isOn() - Method in class org.openpatch.scratch.extensions.sorting.Sorting
Checks whether the sprites are being sorted.
isPlaying() - Method in class org.openpatch.scratch.internal.Sound
 
isSetup() - Method in class org.openpatch.scratch.internal.Applet
 
isSmoothing() - Static method in class org.openpatch.scratch.Text
Returns whether letters are smoothed.
isSoundPlaying(String) - Method in class org.openpatch.scratch.Sprite
Returns true if the sound if playing
isSoundPlaying(String) - Method in class org.openpatch.scratch.Stage
Returns true if the sound if playing
isTouchingEdge() - Method in class org.openpatch.scratch.Sprite
Returns true if the rectangle which contains the image is outside of the stage
isTouchingMousePointer() - Method in class org.openpatch.scratch.Sprite
Returns true is the mouse pointer is touching the hitbox of the sprite.
isTouchingSprite(Class<? extends Sprite>) - Method in class org.openpatch.scratch.Sprite
Checks if this sprite is touching any sprite of the specified class type.
isTouchingSprite(Sprite) - Method in class org.openpatch.scratch.Sprite
Checks if this sprite is touching another sprite.
isUI() - Method in class org.openpatch.scratch.Sprite
Checks if the sprite is part of the user interface.
isUI() - Method in class org.openpatch.scratch.Text
Checks if the current instance is a UI element.
isVisible() - Method in class org.openpatch.scratch.Sprite
Returns if the sprite is visible
IVORY - Static variable in class org.openpatch.scratch.HtmlColor
The color Ivory.

J

J - Enum constant in enum class org.openpatch.scratch.KeyCode
 

K

K - Enum constant in enum class org.openpatch.scratch.KeyCode
 
KeyCode - Enum Class in org.openpatch.scratch
Key codes for keyboard input handling.
keyEvent(KeyEvent) - Method in class org.openpatch.scratch.internal.Applet
Handles keyboard events.
keyEvent(KeyEvent) - Method in interface org.openpatch.scratch.internal.StageHooks
Passes a key press or release to the stage.
KHAKI - Static variable in class org.openpatch.scratch.HtmlColor
The color Khaki.
KP_DOWN - Enum constant in enum class org.openpatch.scratch.KeyCode
 
KP_LEFT - Enum constant in enum class org.openpatch.scratch.KeyCode
 
KP_RIGHT - Enum constant in enum class org.openpatch.scratch.KeyCode
 
KP_UP - Enum constant in enum class org.openpatch.scratch.KeyCode
 

L

L - Enum constant in enum class org.openpatch.scratch.KeyCode
 
LAVENDER - Static variable in class org.openpatch.scratch.HtmlColor
The color Lavender.
LAVENDER_BLUSH - Static variable in class org.openpatch.scratch.HtmlColor
The color Lavender Blush.
LAWN_GREEN - Static variable in class org.openpatch.scratch.HtmlColor
The color Lawn Green.
Layer - Enum Class in org.openpatch.scratch
One of the three layers a stage draws, from back to front.
LEFT - Enum constant in enum class org.openpatch.scratch.KeyCode
 
LEFT - Enum constant in enum class org.openpatch.scratch.MouseCode
Represents the left mouse button.
LEFT - Enum constant in enum class org.openpatch.scratch.TextAlign
Its left edge at its position.
LEFT_RIGHT - Enum constant in enum class org.openpatch.scratch.RotationStyle
Sprite can only face left or right
LEMON_CHIFFON - Static variable in class org.openpatch.scratch.HtmlColor
The color Lemon Chiffon.
length() - Method in class org.openpatch.scratch.Vector2
Calculates the length of the vector.
lengthSq() - Method in class org.openpatch.scratch.Vector2
Calculates the squared length of the vector.
lerp(double, double, double) - Static method in class org.openpatch.scratch.Operators
Calculates a number between two numbers at a specific increment.
LIGHT_BLUE - Static variable in class org.openpatch.scratch.HtmlColor
The color Light Blue.
LIGHT_CORAL - Static variable in class org.openpatch.scratch.HtmlColor
The color Light Coral.
LIGHT_CYAN - Static variable in class org.openpatch.scratch.HtmlColor
The color Light Cyan.
LIGHT_GOLDENROD_YELLOW - Static variable in class org.openpatch.scratch.HtmlColor
The color Light Goldenrod Yellow.
LIGHT_GRAY - Static variable in class org.openpatch.scratch.HtmlColor
The color Light Gray.
LIGHT_GREEN - Static variable in class org.openpatch.scratch.HtmlColor
The color Light Green.
LIGHT_PINK - Static variable in class org.openpatch.scratch.HtmlColor
The color Light Pink.
LIGHT_SALMON - Static variable in class org.openpatch.scratch.HtmlColor
The color Light Salmon.
LIGHT_SEA_GREEN - Static variable in class org.openpatch.scratch.HtmlColor
The color Light Sea Green.
LIGHT_SKY_BLUE - Static variable in class org.openpatch.scratch.HtmlColor
The color Light Sky Blue.
LIGHT_SLATE_GRAY - Static variable in class org.openpatch.scratch.HtmlColor
The color Light Slate Gray.
LIGHT_STEEL_BLUE - Static variable in class org.openpatch.scratch.HtmlColor
The color Light Steel Blue.
LIGHT_YELLOW - Static variable in class org.openpatch.scratch.HtmlColor
The color Light Yellow.
LIME - Static variable in class org.openpatch.scratch.HtmlColor
The color Lime.
LIME_GREEN - Static variable in class org.openpatch.scratch.HtmlColor
The color Lime Green.
LINEAR - Enum constant in enum class org.openpatch.scratch.TextureSampling
Nearest pixel when drawn larger, smoothed when drawn smaller.
LINEN - Static variable in class org.openpatch.scratch.HtmlColor
The color Linen.
lnOf(double) - Static method in class org.openpatch.scratch.Operators
ln is "natural log."
load(String, Class<T>) - Static method in class org.openpatch.scratch.extensions.fs.File
Loads an object of the specified class from a file at the given path.
loadAssets() - Method in class org.openpatch.scratch.internal.Applet
Loads assets from the specified directory.
loadFont(String) - Static method in class org.openpatch.scratch.internal.Font
Loads a font from the specified path and returns a map of font sizes.
loadImage(String) - Static method in class org.openpatch.scratch.internal.Image
Loads an image from a given path and returns it.
loadImage(String, int, int, int, int) - Static method in class org.openpatch.scratch.internal.Image
Loads an image from a given path and returns a tile of the image.
loadImageOrBuiltin(String) - Static method in class org.openpatch.scratch.internal.Image
Loads a picture from either the name of a sprite bundled with Scratch for Java or a path to an image file.
loadOrCreate(String, Class<T>) - Static method in class org.openpatch.scratch.extensions.fs.File
Loads an object of the specified class from a file at the given path, or creates a new one if the file does not exist.
loadSound(String) - Static method in class org.openpatch.scratch.internal.Sound
Decodes a sound file into memory, or returns it if that already happened.
loadXML(String, Class<T>) - Static method in class org.openpatch.scratch.extensions.fs.File
Loads an object of the specified class from an XML file at the given path.
loadXMLOrCreate(String, Class<T>) - Static method in class org.openpatch.scratch.extensions.fs.File
Loads an object of the specified class from an XML file at the given path, or creates a new one if the file does not exist.
logOf(double) - Static method in class org.openpatch.scratch.Operators
"Log" is short for "logarithm."

M

M - Enum constant in enum class org.openpatch.scratch.KeyCode
 
MAGENTA - Static variable in class org.openpatch.scratch.HtmlColor
The color Magenta.
main() - Method in class org.openpatch.scratch.extensions.pixels.Pixels
Returns the pixels of the layer the sprites are drawn on.
main(String[]) - Static method in class parity.ParityProbe
 
main(String[]) - Static method in class parity.VisualProbe
 
map(double, double, double, double, double) - Static method in class org.openpatch.scratch.Operators
Re-maps a number from one range to another.

In the first example above, the number 25 is converted from a value in the range of 0 to 100 into a value that ranges from the left edge of the window (0) to the right edge (width).

As shown in the second example, numbers outside the range are not clamped to the minimum and maximum parameters values, because out-of-range values are often intentional and useful.
MapObject - Class in org.openpatch.scratch.extensions.tiled
Represents a map object with various properties such as dimensions, position, visibility, and type.
MapObject() - Constructor for class org.openpatch.scratch.extensions.tiled.MapObject
 
MAROON - Static variable in class org.openpatch.scratch.HtmlColor
The color Maroon.
max(double...) - Static method in class org.openpatch.scratch.Operators
Determines the largest value in a sequence of numbers, and then returns that value.
max(int...) - Static method in class org.openpatch.scratch.Operators
Determines the largest value in a sequence of numbers, and then returns that value.
MEDIUM_AQUAMARINE - Static variable in class org.openpatch.scratch.HtmlColor
The color Medium Aquamarine.
MEDIUM_BLUE - Static variable in class org.openpatch.scratch.HtmlColor
The color Medium Blue.
MEDIUM_ORCHID - Static variable in class org.openpatch.scratch.HtmlColor
The color Medium Orchid.
MEDIUM_PURPLE - Static variable in class org.openpatch.scratch.HtmlColor
The color Medium Purple.
MEDIUM_SEA_GREEN - Static variable in class org.openpatch.scratch.HtmlColor
The color Medium Sea Green.
MEDIUM_SLATE_BLUE - Static variable in class org.openpatch.scratch.HtmlColor
The color Medium Slate Blue.
MEDIUM_SPRING_GREEN - Static variable in class org.openpatch.scratch.HtmlColor
The color Medium Spring Green.
MEDIUM_TURQUOISE - Static variable in class org.openpatch.scratch.HtmlColor
The color Medium Turquoise.
MEDIUM_VIOLET_RED - Static variable in class org.openpatch.scratch.HtmlColor
The color Medium Violet Red.
META - Enum constant in enum class org.openpatch.scratch.KeyCode
 
MIDNIGHT_BLUE - Static variable in class org.openpatch.scratch.HtmlColor
The color Midnight Blue.
millis() - Static method in class org.openpatch.scratch.Timer
Returns the number of milliseconds since the program started.
min(double...) - Static method in class org.openpatch.scratch.Operators
Determines the smallest value in a sequence of numbers, and then returns that value.
min(int...) - Static method in class org.openpatch.scratch.Operators
Determines the smallest value in a sequence of numbers, and then returns that value.
MINT_CREAM - Static variable in class org.openpatch.scratch.HtmlColor
The color Mint Cream.
MINUS - Enum constant in enum class org.openpatch.scratch.KeyCode
 
MISTY_ROSE - Static variable in class org.openpatch.scratch.HtmlColor
The color Misty Rose.
MOCCASIN - Static variable in class org.openpatch.scratch.HtmlColor
The color Moccasin.
mod(double, double) - Static method in class org.openpatch.scratch.Operators
"mod" is an abbreviation for "modulo".
mod(int, int) - Static method in class org.openpatch.scratch.Operators
"mod" is an abbreviation for "modulo".
MouseCode - Enum Class in org.openpatch.scratch
The MouseCode enum represents the different mouse buttons that can be used.
mouseEvent(MouseEvent) - Method in class org.openpatch.scratch.internal.Applet
Handles mouse events.
mouseEvent(MouseEvent) - Method in interface org.openpatch.scratch.internal.StageHooks
Passes a mouse event to the stage.
move(double) - Method in class org.openpatch.scratch.Sprite
Moves the sprite towards the current rotation by the received steps.
move(Vector2) - Method in class org.openpatch.scratch.Sprite
Moves the sprite in the direction of the given vector.
multiply(double) - Method in class org.openpatch.scratch.Vector2
Multiplies a scalar and return the result.
MULTIPLY - Enum constant in enum class org.openpatch.scratch.KeyCode
 

N

N - Enum constant in enum class org.openpatch.scratch.KeyCode
 
name - Variable in class org.openpatch.scratch.extensions.tiled.MapObject
The name of the map object.
name - Variable in class org.openpatch.scratch.extensions.tiled.Property
The name of the property.
name - Variable in class org.openpatch.scratch.internal.BuiltinAssets.Entry
 
NAVAJO_WHITE - Static variable in class org.openpatch.scratch.HtmlColor
The color Navajo White.
NAVY - Static variable in class org.openpatch.scratch.HtmlColor
The color Navy.
next() - Method in class org.openpatch.scratch.extensions.shader.Shaders
Switches to the next shader.
nextBackdrop() - Method in class org.openpatch.scratch.Stage
Switch to the next backdrop.
nextCostume() - Method in class org.openpatch.scratch.Sprite
Switch to the next costume.
nextFont() - Method in class org.openpatch.scratch.Text
Advances to the next font in the list of available fonts.
noise(double) - Static method in class org.openpatch.scratch.Random
Returns the Open Simplex noise value at specified coordinates
noise(double, double) - Static method in class org.openpatch.scratch.Random
Returns the Open Simplex noise value at specified coordinates
noise(double, double, double) - Static method in class org.openpatch.scratch.Random
Returns the Open Simplex noise value at specified coordinates
noise2(long, double, double) - Static method in class org.openpatch.scratch.internal.OpenSimplex2S
2D OpenSimplex2S/SuperSimplex noise, standard lattice orientation.
noise2_ImproveX(long, double, double) - Static method in class org.openpatch.scratch.internal.OpenSimplex2S
2D OpenSimplex2S/SuperSimplex noise, with Y pointing down the main diagonal.
noise3_Fallback(long, double, double, double) - Static method in class org.openpatch.scratch.internal.OpenSimplex2S
3D OpenSimplex2S/SuperSimplex noise, fallback rotation option Use noise3_ImproveXY or noise3_ImproveXZ instead, wherever appropriate.
noise3_ImproveXY(long, double, double, double) - Static method in class org.openpatch.scratch.internal.OpenSimplex2S
3D OpenSimplex2S/SuperSimplex noise, with better visual isotropy in (X, Y).
noise3_ImproveXZ(long, double, double, double) - Static method in class org.openpatch.scratch.internal.OpenSimplex2S
3D OpenSimplex2S/SuperSimplex noise, with better visual isotropy in (X, Z).
noise4_Fallback(long, double, double, double, double) - Static method in class org.openpatch.scratch.internal.OpenSimplex2S
4D SuperSimplex noise, fallback lattice orientation.
noise4_ImproveXY_ImproveZW(long, double, double, double, double) - Static method in class org.openpatch.scratch.internal.OpenSimplex2S
4D SuperSimplex noise, with XY and ZW forming orthogonal triangular-based planes.
noise4_ImproveXYZ(long, double, double, double, double) - Static method in class org.openpatch.scratch.internal.OpenSimplex2S
4D SuperSimplex noise, with XYZ oriented like noise3_Fallback and W for an extra degree of freedom.
noise4_ImproveXYZ_ImproveXY(long, double, double, double, double) - Static method in class org.openpatch.scratch.internal.OpenSimplex2S
4D SuperSimplex noise, with XYZ oriented like noise3_ImproveXY and W for an extra degree of freedom.
noise4_ImproveXYZ_ImproveXZ(long, double, double, double, double) - Static method in class org.openpatch.scratch.internal.OpenSimplex2S
4D SuperSimplex noise, with XYZ oriented like noise3_ImproveXZ and W for an extra degree of freedom.
noiseSeed(long) - Static method in class org.openpatch.scratch.Random
Sets the seed for the noise method.
normalVector() - Method in class org.openpatch.scratch.Vector2
Returns the normal vector, which is perpendicular to the vector.
NUM_LOCK - Enum constant in enum class org.openpatch.scratch.KeyCode
 
NUMPAD_0 - Enum constant in enum class org.openpatch.scratch.KeyCode
 
NUMPAD_1 - Enum constant in enum class org.openpatch.scratch.KeyCode
 
NUMPAD_2 - Enum constant in enum class org.openpatch.scratch.KeyCode
 
NUMPAD_3 - Enum constant in enum class org.openpatch.scratch.KeyCode
 
NUMPAD_4 - Enum constant in enum class org.openpatch.scratch.KeyCode
 
NUMPAD_5 - Enum constant in enum class org.openpatch.scratch.KeyCode
 
NUMPAD_6 - Enum constant in enum class org.openpatch.scratch.KeyCode
 
NUMPAD_7 - Enum constant in enum class org.openpatch.scratch.KeyCode
 
NUMPAD_8 - Enum constant in enum class org.openpatch.scratch.KeyCode
 
NUMPAD_9 - Enum constant in enum class org.openpatch.scratch.KeyCode
 

O

O - Enum constant in enum class org.openpatch.scratch.KeyCode
 
off() - Method in class org.openpatch.scratch.extensions.sorting.Sorting
Draws sprites in the order they were added, which is the default.
ofNameOrPath(String, String) - Static method in class org.openpatch.scratch.internal.Image
Creates an image from either the name of a sprite bundled with Scratch for Java or a path to an image file.
ofNameOrPath(String, String) - Static method in class org.openpatch.scratch.internal.Sound
Creates a sound from either the name of a sound bundled with Scratch for Java or a path to a sound file.
OLD_LACE - Static variable in class org.openpatch.scratch.HtmlColor
The color Old Lace.
OLIVE - Static variable in class org.openpatch.scratch.HtmlColor
The color Olive.
OLIVE_DRAB - Static variable in class org.openpatch.scratch.HtmlColor
The color Olive Drab.
OPEN_BRACKET - Enum constant in enum class org.openpatch.scratch.KeyCode
 
OpenSimplex2S - Class in org.openpatch.scratch.internal
K.jpg's OpenSimplex 2, smooth variant ("SuperSimplex")
OpenSimplex2S() - Constructor for class org.openpatch.scratch.internal.OpenSimplex2S
 
Operators - Class in org.openpatch.scratch
The Operators class provides a collection of static methods for performing various mathematical operations.
ORANGE - Static variable in class org.openpatch.scratch.HtmlColor
The color Orange.
ORANGE_RED - Static variable in class org.openpatch.scratch.HtmlColor
The color Orange Red.
ORCHID - Static variable in class org.openpatch.scratch.HtmlColor
The color Orchid.
org.openpatch.scratch - package org.openpatch.scratch
The org.openpatch.scratch package contains classes that provide an API for creating Scratch-like projects in Java.
org.openpatch.scratch.extensions - package org.openpatch.scratch.extensions
This package contains extensions for Scratch for Java.
org.openpatch.scratch.extensions.camera - package org.openpatch.scratch.extensions.camera
Provides classes and interfaces for camera extensions in Scratch.
org.openpatch.scratch.extensions.fs - package org.openpatch.scratch.extensions.fs
Provides classes and interfaces for file system extensions in Scratch.
org.openpatch.scratch.extensions.pixels - package org.openpatch.scratch.extensions.pixels
Provides read access to the raw pixels of the stage's buffers.
org.openpatch.scratch.extensions.recorder - package org.openpatch.scratch.extensions.recorder
Provides classes and interfaces for recorder extensions in Scratch.
org.openpatch.scratch.extensions.shader - package org.openpatch.scratch.extensions.shader
Provides classes and interfaces for shader extensions in Scratch.
org.openpatch.scratch.extensions.sorting - package org.openpatch.scratch.extensions.sorting
Provides control over the order in which sprites are drawn.
org.openpatch.scratch.extensions.tiled - package org.openpatch.scratch.extensions.tiled
Provides classes and interfaces for tiled extensions in Scratch.
org.openpatch.scratch.internal - package org.openpatch.scratch.internal
This package contains the internal classes of the Scratch plugin.
out - Variable in class org.openpatch.scratch.internal.AnimatedGifEncoder
 

P

P - Enum constant in enum class org.openpatch.scratch.KeyCode
 
PAGE_DOWN - Enum constant in enum class org.openpatch.scratch.KeyCode
 
PAGE_UP - Enum constant in enum class org.openpatch.scratch.KeyCode
 
PALE_GOLDENROD - Static variable in class org.openpatch.scratch.HtmlColor
The color Pale Goldenrod.
PALE_GREEN - Static variable in class org.openpatch.scratch.HtmlColor
The color Pale Green.
PALE_TURQUOISE - Static variable in class org.openpatch.scratch.HtmlColor
The color Pale Turquoise.
PALE_VIOLET_RED - Static variable in class org.openpatch.scratch.HtmlColor
The color Pale Violet Red.
palSize - Variable in class org.openpatch.scratch.internal.AnimatedGifEncoder
 
PAPAYA_WHIP - Static variable in class org.openpatch.scratch.HtmlColor
The color Papaya Whip.
parity - package parity
 
ParityProbe - Class in parity
Every value that has to read the same on the desktop and in the browser.
ParityProbe() - Constructor for class parity.ParityProbe
 
path - Variable in class org.openpatch.scratch.extensions.recorder.Recorder
 
pause() - Method in class org.openpatch.scratch.internal.Sound
 
PAUSE - Enum constant in enum class org.openpatch.scratch.KeyCode
 
pauseSketch() - Method in class org.openpatch.scratch.internal.Applet
Pauses the sketch.
PEACH_PUFF - Static variable in class org.openpatch.scratch.HtmlColor
The color Peach Puff.
Pen - Class in org.openpatch.scratch
The Pen class represents a drawing tool that can be used to draw paths on a stage.
Pen() - Constructor for class org.openpatch.scratch.Pen
Constructs a new Pen object.
Pen(Pen) - Constructor for class org.openpatch.scratch.Pen
Copies a Pen object.
Pen(Sprite) - Constructor for class org.openpatch.scratch.Pen
Constructs a new Pen object associated with the given Sprite.
PERIOD - Enum constant in enum class org.openpatch.scratch.KeyCode
 
PERU - Static variable in class org.openpatch.scratch.HtmlColor
The color Peru.
pickRandom(int, int) - Method in class org.openpatch.scratch.Sprite
Returns a random integer between the specified range.
pickRandom(int, int) - Method in class org.openpatch.scratch.Stage
Returns a random integer between the specified range (inclusive).
PINK - Static variable in class org.openpatch.scratch.HtmlColor
The color Pink.
pixels - Variable in class org.openpatch.scratch.internal.AnimatedGifEncoder
 
Pixels - Class in org.openpatch.scratch.extensions.pixels
The colours of everything a stage has drawn, one number per pixel.
Pixels(PGraphics, PGraphics, PGraphics) - Constructor for class org.openpatch.scratch.extensions.pixels.Pixels
Creates the pixel access for a stage.
PLAIN - Enum constant in enum class org.openpatch.scratch.TextStyle
 
play() - Method in class org.openpatch.scratch.internal.Sound
Plays the sound.
playAnimation(String) - Method in class org.openpatch.scratch.AnimatedSprite
Plays the animation with the specified name.
playAnimation(String, boolean) - Method in class org.openpatch.scratch.AnimatedSprite
Plays the animation with the specified name.
playSound(String) - Method in class org.openpatch.scratch.Sprite
Plays a sound.
playSound(String) - Method in class org.openpatch.scratch.Stage
Plays a sound.
PLUM - Static variable in class org.openpatch.scratch.HtmlColor
The color Plum.
point - Variable in class org.openpatch.scratch.extensions.tiled.MapObject
An object representing a point.
POINT - Enum constant in enum class org.openpatch.scratch.TextureSampling
Nearest pixel, whether the picture is drawn larger or smaller.
pointInDirection(double) - Method in class org.openpatch.scratch.Sprite
Points the sprite in the specified direction.
pointInDirection(Vector2) - Method in class org.openpatch.scratch.Sprite
Points the sprite in the direction of the given vector.
pointTowardsMousePointer() - Method in class org.openpatch.scratch.Sprite
Points the sprite towards the current position of the mouse pointer.
pointTowardsSprite(Sprite) - Method in class org.openpatch.scratch.Sprite
Points the current sprite towards the specified sprite.
polygon - Variable in class org.openpatch.scratch.extensions.tiled.MapObject
A Polygon object representing a polygon shape.
Polygon - Class in org.openpatch.scratch
Represents a polygon shape defined by its vertices.
Polygon() - Constructor for class org.openpatch.scratch.Polygon
Creates an empty polygon.
Polygon(double[], double[]) - Constructor for class org.openpatch.scratch.Polygon
Creates a polygon with the specified vertices.
polyline - Variable in class org.openpatch.scratch.extensions.tiled.MapObject
A Polyline object representing a polyline shape.
post() - Method in class org.openpatch.scratch.extensions.recorder.Recorder
Called after each frame is drawn.
POWDER_BLUE - Static variable in class org.openpatch.scratch.HtmlColor
The color Powder Blue.
pre() - Method in interface org.openpatch.scratch.internal.StageHooks
Runs once before the stage is drawn.
previousBackdrop() - Method in class org.openpatch.scratch.Stage
Switch to the previous backdrop.
previousCostume() - Method in class org.openpatch.scratch.Sprite
Switch to the previous costume.
PRINT_SCREEN - Enum constant in enum class org.openpatch.scratch.KeyCode
 
properties - Variable in class org.openpatch.scratch.extensions.tiled.MapObject
A list of properties associated with the map object.
Property - Class in org.openpatch.scratch.extensions.tiled
The Property class represents a property of a Tiled object.
Property() - Constructor for class org.openpatch.scratch.extensions.tiled.Property
 
PURPLE - Static variable in class org.openpatch.scratch.HtmlColor
The color Purple.

Q

Q - Enum constant in enum class org.openpatch.scratch.KeyCode
 
QUOTE - Enum constant in enum class org.openpatch.scratch.KeyCode
 

R

R - Enum constant in enum class org.openpatch.scratch.KeyCode
 
radiansToDegrees(double) - Static method in class org.openpatch.scratch.internal.Utils
Converts an angle measured in radians to an approximately equivalent angle measured in degrees.
random() - Static method in class org.openpatch.scratch.Random
Returns a random double between 0 and 1.
random(double) - Static method in class org.openpatch.scratch.Random
Returns a random double between 0 and max.
random(double, double) - Static method in class org.openpatch.scratch.Random
Returns a random double between min and max.
Random - Class in org.openpatch.scratch
The Random class provides various methods for generating random values and noise.
randomBackdrop() - Method in class org.openpatch.scratch.Stage
Switch to a random backdrop.
randomInt(int) - Static method in class org.openpatch.scratch.Random
Returns a random integer between 0 and max.
randomInt(int, int) - Static method in class org.openpatch.scratch.Random
Returns a random integer between min and max.
randomPosition() - Static method in class org.openpatch.scratch.Random
Returns a random position with respect to the width of the window.
randomSeed(long) - Static method in class org.openpatch.scratch.Random
Sets the seed for the random method.
randomVector2() - Static method in class org.openpatch.scratch.Random
Returns a random unit vector
randomX() - Static method in class org.openpatch.scratch.Random
Return a random x coordinate with respect to the width of the window.
randomY() - Static method in class org.openpatch.scratch.Random
Return a random y coordinate with respect to the width of the window.
Recorder - Class in org.openpatch.scratch.extensions.recorder
The Recorder class provides a framework for recording frames to a file.
Recorder(String, String) - Constructor for class org.openpatch.scratch.extensions.recorder.Recorder
Constructs a new Recorder object with the specified file path and extension.
recording - Variable in class org.openpatch.scratch.extensions.recorder.Recorder
 
Rectangle - Class in org.openpatch.scratch
Represents a rectangle shape defined by its position and size.
Rectangle(double, double, double, double) - Constructor for class org.openpatch.scratch.Rectangle
Creates a rectangle with the specified position and size.
RED - Static variable in class org.openpatch.scratch.HtmlColor
The color Red.
redrawSketch() - Method in class org.openpatch.scratch.internal.Applet
Forces a redraw, even if the sketch is paused.
registerHooks(Stage, StageHooks) - Method in class org.openpatch.scratch.internal.Applet
Registers how the render loop reaches a stage.
remove() - Method in class org.openpatch.scratch.Sprite
Removes this sprite from its current stage.
remove() - Method in class org.openpatch.scratch.Text
Removes this object from its current stage if it is associated with one.
remove(Class<? extends Sprite>) - Method in class org.openpatch.scratch.Stage
Removes all sprites of the specified class from the stage.
remove(Pen) - Method in class org.openpatch.scratch.Stage
Removes the specified pen from the stage.
remove(Sprite) - Method in class org.openpatch.scratch.Stage
Removes the specified sprite from the stage.
remove(Text) - Method in class org.openpatch.scratch.Stage
Removes the specified text from the stage.
removeAll() - Method in class org.openpatch.scratch.Stage
Removes all elements from the stage.
removedFromStage(Stage) - Method in class org.openpatch.scratch.Pen
This method is called when the pen is removed from the stage.
removedFromStage(Stage) - Method in class org.openpatch.scratch.Sprite
 
removedFromStage(Stage) - Method in class org.openpatch.scratch.Text
 
repeat - Variable in class org.openpatch.scratch.internal.AnimatedGifEncoder
 
reportAndFail(String, String, String, String[]) - Static method in class org.openpatch.scratch.internal.AssetErrorReporter
Prints a detailed, beginner-friendly error for a failed asset load and then fails.
reportUnknownBuiltinAndFail(String, String) - Static method in class org.openpatch.scratch.internal.AssetErrorReporter
Prints a beginner-friendly error for a name that was meant to be an asset bundled with Scratch for Java but does not exist, and then fails.
reset() - Method in class org.openpatch.scratch.extensions.shader.Shaders
Stops drawing with a shader.
reset() - Static method in class org.openpatch.scratch.internal.Font
Forgets every font loaded so far, so that a changed font setting takes effect instead of the old one lingering in the cache.
reset() - Method in class org.openpatch.scratch.Timer
Resets the timer.
resetAnimation() - Method in class org.openpatch.scratch.AnimatedSprite
Resets the animation.
resetZoom() - Method in class org.openpatch.scratch.extensions.camera.Camera
Resets the zoom level to 100
resumeSketch() - Method in class org.openpatch.scratch.internal.Applet
Resumes the sketch.
reverse() - Method in class org.openpatch.scratch.Vector2
Reverses a vector and returns the result.
RIGHT - Enum constant in enum class org.openpatch.scratch.KeyCode
 
RIGHT - Enum constant in enum class org.openpatch.scratch.MouseCode
Represents the right mouse button.
RIGHT - Enum constant in enum class org.openpatch.scratch.TextAlign
Its right edge at its position.
ROSY_BROWN - Static variable in class org.openpatch.scratch.HtmlColor
The color Rosy Brown.
rotate(double, double, double) - Method in class org.openpatch.scratch.Shape
Rotate the shape by the specified angle around a given anchor point.
rotateBy(double) - Method in class org.openpatch.scratch.Vector2
Rotates the vector by an angle and returns the result.
rotateTo(double) - Method in class org.openpatch.scratch.Vector2
Rotates the vector to a given angle and returns the result.
rotateXY(double, double, double, double, double) - Static method in class org.openpatch.scratch.internal.Utils
Rotates a point (x, y) around a specified origin (originX, originY) by a given angle in degrees.
rotation - Variable in class org.openpatch.scratch.extensions.tiled.MapObject
The rotation angle of the map object.
RotationStyle - Enum Class in org.openpatch.scratch
The RotationStyle enum represents the different rotation styles that a sprite can have in Scratch.
round(double) - Static method in class org.openpatch.scratch.Operators
The standard rules of rounding are followed; decimals that are .5 or higher are rounded up, whereas decimals less than .5 are rounded down.
round(double, int) - Static method in class org.openpatch.scratch.Operators
Rounds a number to a specified number of decimal places.
ROYAL_BLUE - Static variable in class org.openpatch.scratch.HtmlColor
The color Royal Blue.
run() - Method in class org.openpatch.scratch.Sprite
This method is intended to be overridden by subclasses to define the behavior of the sprite when it is run.
run() - Method in class org.openpatch.scratch.Stage
Executes the main logic of the stage.
run() - Method in class parity.VisualProbe
 
runSketch() - Method in class org.openpatch.scratch.internal.Applet
 

S

S - Enum constant in enum class org.openpatch.scratch.KeyCode
 
SADDLE_BROWN - Static variable in class org.openpatch.scratch.HtmlColor
The color Saddle Brown.
SALMON - Static variable in class org.openpatch.scratch.HtmlColor
The color Salmon.
sample - Variable in class org.openpatch.scratch.internal.AnimatedGifEncoder
 
SANDY_BROWN - Static variable in class org.openpatch.scratch.HtmlColor
The color Sandy Brown.
save(String, T) - Static method in class org.openpatch.scratch.extensions.fs.File
Saves the given object to the specified path in the default file type (JSON).
saveFrame() - Method in class org.openpatch.scratch.extensions.recorder.FFmpegRecorder
Saves the current frame using the specified pattern.
saveFrame() - Method in class org.openpatch.scratch.extensions.recorder.FrameRecorder
Saves the current frame of the applet to the specified output folder.
saveFrame() - Method in class org.openpatch.scratch.extensions.recorder.GifRecorder
Saves the current frame of the applet as a GIF image.
saveFrame() - Method in class org.openpatch.scratch.extensions.recorder.Recorder
Saves the current frame.
saveXML(String, T) - Static method in class org.openpatch.scratch.extensions.fs.File
Saves the given object as an XML file at the specified path.
say(String) - Method in class org.openpatch.scratch.Sprite
Makes the sprite display a speech bubble with the specified text.
say(String, int) - Method in class org.openpatch.scratch.Sprite
Displays a text message for a specified duration.
scale(double, double) - Method in class org.openpatch.scratch.Shape
Check if the shape is empty.
ScratchException - Exception in org.openpatch.scratch
Thrown when a program cannot go on, for example because a costume or a sound could not be loaded.
ScratchException(String) - Constructor for exception org.openpatch.scratch.ScratchException
Creates the exception.
SCROLL_LOCK - Enum constant in enum class org.openpatch.scratch.KeyCode
 
SEA_GREEN - Static variable in class org.openpatch.scratch.HtmlColor
The color Sea Green.
SEASHELL - Static variable in class org.openpatch.scratch.HtmlColor
The color Seashell.
SEMICOLON - Enum constant in enum class org.openpatch.scratch.KeyCode
 
set(String, boolean) - Method in class org.openpatch.scratch.extensions.shader.Shader
 
set(String, boolean, boolean) - Method in class org.openpatch.scratch.extensions.shader.Shader
 
set(String, double) - Method in class org.openpatch.scratch.extensions.shader.Shader
 
set(String, double[], int) - Method in class org.openpatch.scratch.extensions.shader.Shader
 
set(String, double, double) - Method in class org.openpatch.scratch.extensions.shader.Shader
 
set(String, int) - Method in class org.openpatch.scratch.extensions.shader.Shader
 
set(String, int[], int) - Method in class org.openpatch.scratch.extensions.shader.Shader
 
set(String, int, int) - Method in class org.openpatch.scratch.extensions.shader.Shader
 
set(String, Color) - Method in class org.openpatch.scratch.extensions.shader.Shader
 
set(String, Vector2) - Method in class org.openpatch.scratch.extensions.shader.Shader
 
setAlign(TextAlign) - Method in class org.openpatch.scratch.Text
Sets the alignment of the text.
setAnimationFrame(int) - Method in class org.openpatch.scratch.AnimatedSprite
Sets the current animation frame.
setAnimationInterval(int) - Method in class org.openpatch.scratch.AnimatedSprite
Sets the interval between animation frames.
setBackgroundColor(double) - Method in class org.openpatch.scratch.Text
Sets the background color using the specified hue value.
setBackgroundColor(int, int, int) - Method in class org.openpatch.scratch.Text
Sets the background color using the specified RGB values.
setBackgroundColor(Color) - Method in class org.openpatch.scratch.Text
Sets the background color of the text.
setColor(double) - Method in class org.openpatch.scratch.Pen
Set color via hue value
setColor(double) - Method in class org.openpatch.scratch.Stage
Sets the background color via a hue value
setColor(double, double, double) - Method in class org.openpatch.scratch.Pen
Set color via rgb values
setColor(double, double, double) - Method in class org.openpatch.scratch.Stage
Sets the background color via a rgb value
setColor(Color) - Method in class org.openpatch.scratch.Pen
Set the color of the pen
setColor(Color) - Method in class org.openpatch.scratch.Stage
Sets the color of the stage.
setCursor(String) - Method in class org.openpatch.scratch.Stage
Sets the cursor image for the stage.
setCursor(String, int, int) - Method in class org.openpatch.scratch.Stage
Sets the cursor image and its active spot coordinates.
setDebug(boolean) - Method in class org.openpatch.scratch.internal.Applet
Enables or disables the debug mode for the application.
setDebug(boolean) - Method in class org.openpatch.scratch.Stage
Enables or disables the debug mode for the application.
setDebug(boolean) - Method in class org.openpatch.scratch.Window
Enables or disables the debug mode for the application.
setDelay(int) - Method in class org.openpatch.scratch.internal.AnimatedGifEncoder
Sets the delay time between each frame, or changes it for subsequent frames (applies to last frame added).
setDirection(double) - Method in class org.openpatch.scratch.Sprite
Sets the direction of the sprite to a given degrees.
setDirection(Vector2) - Method in class org.openpatch.scratch.Sprite
Sets the direction of the sprite to the direction of a given vector.
setDispose(int) - Method in class org.openpatch.scratch.internal.AnimatedGifEncoder
Sets the GIF frame disposal code for the last added frame and any subsequent frames.
setFont(String) - Method in class org.openpatch.scratch.Text
Sets the font name for the text.
setFrameRate(float) - Method in class org.openpatch.scratch.internal.AnimatedGifEncoder
Sets frame rate in frames per second.
setHeight(double) - Method in class org.openpatch.scratch.Sprite
* Sets the height of the sprite.
setHeight(double) - Method in class org.openpatch.scratch.UISprite
Sets the height of the sprite in pixels.
setHeight(int) - Method in class org.openpatch.scratch.internal.Image
Sets the height
setHitbox(double...) - Method in class org.openpatch.scratch.Sprite
Sets the hitbox for the sprite using the provided points.
setHitbox(Shape) - Method in class org.openpatch.scratch.Sprite
Sets the hitbox for the sprite using the specified shape.
setHSB(double) - Method in class org.openpatch.scratch.Color
Setting the color value after the HSB spectrum.
setHSB(double, double, double) - Method in class org.openpatch.scratch.Color
Setting the color value after the HSB spectrum.
setIsUI(boolean) - Method in class org.openpatch.scratch.Text
Sets the UI status of this object.
setName(String) - Method in class org.openpatch.scratch.extensions.shader.Shader
Sets the name
setName(String) - Method in class org.openpatch.scratch.internal.Image
Sets the name
setNineSlice(int, int, int, int) - Method in class org.openpatch.scratch.internal.Image
Sets the nine-slice scaling parameters for the image.
setNineSlice(int, int, int, int) - Method in class org.openpatch.scratch.Sprite
Set the nine-slice (also known as nine-patch) parameters for the sprite's costumes.
setNineSlice(int, int, int, int) - Method in class org.openpatch.scratch.UISprite
Keeps the corners and edges of the costume from stretching when the sprite is resized, so that a button costume can be made any size.
setPosition(double, double) - Method in class org.openpatch.scratch.extensions.camera.Camera
Sets the position of the sprite
setPosition(double, double) - Method in class org.openpatch.scratch.Pen
Set the position if the pen is down.
setPosition(double, double) - Method in class org.openpatch.scratch.Sprite
Sets the position of the sprite
setPosition(double, double) - Method in class org.openpatch.scratch.Text
Sets the position of the text
setPosition(Vector2) - Method in class org.openpatch.scratch.extensions.camera.Camera
Sets the position of the sprite based on the coordinates of a given vector.
setPosition(Vector2) - Method in class org.openpatch.scratch.Pen
Sets the position of the pen using a Vector2 object.
setPosition(Vector2) - Method in class org.openpatch.scratch.Sprite
Sets the position of the sprite based on the coordinates of a given vector.
setPosition(Vector2) - Method in class org.openpatch.scratch.Text
Sets the position of the text object using a Vector2 object.
setQuality(int) - Method in class org.openpatch.scratch.internal.AnimatedGifEncoder
Sets quality of color quantization (conversion of images to the maximum 256 colors allowed by the GIF specification).
setRepeat(int) - Method in class org.openpatch.scratch.internal.AnimatedGifEncoder
Sets the number of times the set of GIF frames should be played.
setRGB(double, double, double) - Method in class org.openpatch.scratch.Color
Setting the color value after the RGB spectrum
setRotationStyle(RotationStyle) - Method in class org.openpatch.scratch.Sprite
Sets the rotation style for the sprite.
setSize(double) - Method in class org.openpatch.scratch.internal.Image
Sets the size of the image to the specified percentage of the original size.
setSize(double) - Method in class org.openpatch.scratch.Pen
Set the size of the pen
setSize(double) - Method in class org.openpatch.scratch.Sprite
Sets the size of the sprite.
setSize(int, int) - Method in class org.openpatch.scratch.internal.AnimatedGifEncoder
Sets the GIF frame size.
setSize(int, int) - Method in class org.openpatch.scratch.internal.Image
Sets the size of the image to the specified width and height.
setStage(Stage) - Method in class org.openpatch.scratch.internal.Applet
 
setStage(Stage) - Method in class org.openpatch.scratch.Window
Sets the current stage of the application.
setStrokeColor(double) - Method in class org.openpatch.scratch.Text
Sets the stroke color using the specified hue value.
setStrokeColor(int, int, int) - Method in class org.openpatch.scratch.Text
Sets the stroke color using the specified RGB values.
setStrokeColor(Color) - Method in class org.openpatch.scratch.Text
Sets the stroke color for the text.
setStyle(TextStyle) - Method in class org.openpatch.scratch.Text
Sets the style of the text.
setTextColor(double) - Method in class org.openpatch.scratch.Text
Sets the text color using the specified hue value.
setTextColor(int, int, int) - Method in class org.openpatch.scratch.Text
Sets the text color using RGB values.
setTextColor(Color) - Method in class org.openpatch.scratch.Text
Sets the color of the text.
setTextSize(int) - Method in class org.openpatch.scratch.Text
Sets the size of the text.
setTextureSampling(int) - Method in class org.openpatch.scratch.internal.Applet
 
settings() - Method in class org.openpatch.scratch.internal.Applet
Use this method to call size().
setTint(double) - Method in class org.openpatch.scratch.internal.Image
Sets the tint with hue
setTint(double) - Method in class org.openpatch.scratch.Sprite
Sets the tint for the sprite with a hue.
setTint(double) - Method in class org.openpatch.scratch.Stage
Sets the colour the backdrop is tinted with, as a hue.
setTint(double, double, double) - Method in class org.openpatch.scratch.internal.Image
Sets the tint with rgb
setTint(double, double, double) - Method in class org.openpatch.scratch.Sprite
Sets the tint for the sprite with rgb.
setTint(double, double, double) - Method in class org.openpatch.scratch.Stage
Sets the colour the backdrop is tinted with.
setTint(Color) - Method in class org.openpatch.scratch.Sprite
Sets the tint for the sprite with an color object.
setTransparency(double) - Method in class org.openpatch.scratch.internal.Image
Sets the transparency, as Scratch's ghost effect: 0 shows the image and 100 hides it.
setTransparency(double) - Method in class org.openpatch.scratch.Pen
Set the transparency
setTransparency(double) - Method in class org.openpatch.scratch.Sprite
Sets how see-through the sprite is, as Scratch's ghost effect does: 0 is the solid sprite you start with and 100 is invisible.
setTransparency(double) - Method in class org.openpatch.scratch.Stage
Sets how see-through the backdrop is, as Scratch's ghost effect does: 0 is the solid backdrop you start with and 100 is invisible.
setTransparent(Color) - Method in class org.openpatch.scratch.internal.AnimatedGifEncoder
Sets the transparent color for the last added frame and any subsequent frames.
setUI(boolean) - Method in class org.openpatch.scratch.Sprite
Sets the UI status of the sprite.
setup() - Method in class org.openpatch.scratch.internal.Applet
Sets up the application window.
setVolume(double) - Method in class org.openpatch.scratch.internal.Sound
 
setVolume(double) - Method in class org.openpatch.scratch.Sprite
Sets how loud every sound of this sprite plays.
setVolume(double) - Method in class org.openpatch.scratch.Stage
Sets how loud every sound of this stage plays.
setWidth(double) - Method in class org.openpatch.scratch.Sprite
* Sets the width of the sprite.
setWidth(double) - Method in class org.openpatch.scratch.Text
Sets the width of the text.
setWidth(double) - Method in class org.openpatch.scratch.UISprite
Sets the width of the sprite in pixels.
setWidth(int) - Method in class org.openpatch.scratch.internal.Image
Sets the width
setX(double) - Method in class org.openpatch.scratch.extensions.camera.Camera
Sets the x coordinate
setX(double) - Method in class org.openpatch.scratch.Sprite
Sets the x coordinate
setX(double) - Method in class org.openpatch.scratch.Text
Sets the x-coordinate for this object.
setY(double) - Method in class org.openpatch.scratch.extensions.camera.Camera
Sets the y coordinate
setY(double) - Method in class org.openpatch.scratch.Sprite
Sets the y coordinate
setY(double) - Method in class org.openpatch.scratch.Text
Sets the Y coordinate of the text.
setZoom(double) - Method in class org.openpatch.scratch.extensions.camera.Camera
Sets the zoom
setZoomLimit(double, double) - Method in class org.openpatch.scratch.extensions.camera.Camera
Sets the zoom limits
Shader - Class in org.openpatch.scratch.extensions.shader
 
Shader(String, String, String) - Constructor for class org.openpatch.scratch.extensions.shader.Shader
Constructor
Shader(Shader) - Constructor for class org.openpatch.scratch.extensions.shader.Shader
Copy constructor
Shaders - Class in org.openpatch.scratch.extensions.shader
The shaders belonging to one sprite or stage, and which of them is currently drawn with.
Shaders(String) - Constructor for class org.openpatch.scratch.extensions.shader.Shaders
Creates an empty set of shaders.
Shaders(Shaders) - Constructor for class org.openpatch.scratch.extensions.shader.Shaders
Copies a set of shaders.
Shape - Class in org.openpatch.scratch
Represents a generic shape that can be transformed and drawn.
Shape() - Constructor for class org.openpatch.scratch.Shape
 
sheet - Variable in class org.openpatch.scratch.internal.BuiltinAssets.Entry
 
sheetPath - Variable in class org.openpatch.scratch.internal.BuiltinAssets.Entry
 
SHIFT - Enum constant in enum class org.openpatch.scratch.KeyCode
 
show() - Method in class org.openpatch.scratch.Sprite
Shows the sprite.
showText(String) - Method in class org.openpatch.scratch.Text
Displays the specified text.
showText(String, int) - Method in class org.openpatch.scratch.Text
Displays the specified text for a given duration.
SIENNA - Static variable in class org.openpatch.scratch.HtmlColor
The color Sienna.
SILVER - Static variable in class org.openpatch.scratch.HtmlColor
The color Silver.
sinOf(double) - Static method in class org.openpatch.scratch.Operators
"sin" is an abbreviation for "sine."
sizeSet - Variable in class org.openpatch.scratch.internal.AnimatedGifEncoder
 
SKY_BLUE - Static variable in class org.openpatch.scratch.HtmlColor
The color Sky Blue.
SLASH - Enum constant in enum class org.openpatch.scratch.KeyCode
 
SLATE_BLUE - Static variable in class org.openpatch.scratch.HtmlColor
The color Slate Blue.
SLATE_GRAY - Static variable in class org.openpatch.scratch.HtmlColor
The color Slate Gray.
snapshot() - Method in class org.openpatch.scratch.extensions.recorder.GifRecorder
Captures a snapshot and saves it as a GIF.
snapshot(String) - Method in class org.openpatch.scratch.extensions.recorder.FrameRecorder
Takes a snapshot of the current frame and saves it to the specified filename.
SNOW - Static variable in class org.openpatch.scratch.HtmlColor
The color Snow.
Sorting - Class in org.openpatch.scratch.extensions.sorting
Decides the order in which the sprites of a stage are drawn.
Sorting() - Constructor for class org.openpatch.scratch.extensions.sorting.Sorting
 
Sound - Class in org.openpatch.scratch.internal
The Sound class represents a sound object in Scratch using Java's internal audio classes.
Sound(String, String) - Constructor for class org.openpatch.scratch.internal.Sound
 
Sound(Sound) - Constructor for class org.openpatch.scratch.internal.Sound
 
source - Variable in class org.openpatch.scratch.extensions.tiled.TilesetImage
 
SPACE - Enum constant in enum class org.openpatch.scratch.KeyCode
 
SPEAK - Enum constant in enum class org.openpatch.scratch.TextStyle
 
SPEAK_BUBBLE_MAX_LIMIT - Static variable in class org.openpatch.scratch.Text
SPEAK_BUBBLE_MAX_LIMIT is the maximum width of the speech bubble.
SPEAK_BUBBLE_MIN_LIMIT - Static variable in class org.openpatch.scratch.Text
SPEAK_BUBBLE_MIN_LIMIT is the minimum width of the speech bubble.
SPRING_GREEN - Static variable in class org.openpatch.scratch.HtmlColor
The color Spring Green.
Sprite - Class in org.openpatch.scratch
The `Sprite` class represents a graphical object that can be displayed on a stage.
Sprite() - Constructor for class org.openpatch.scratch.Sprite
Constructs a new Sprite object with default settings.
Sprite(String, String) - Constructor for class org.openpatch.scratch.Sprite
Constructs a new Sprite object with a specified costume.
Sprite(Sprite) - Constructor for class org.openpatch.scratch.Sprite
Copies a Sprite object.
sqrtOf(double) - Static method in class org.openpatch.scratch.Operators
"sqrt" is an abbreviation for "square root."
Stage - Class in org.openpatch.scratch
The Stage class represents a stage where various elements such as sprites, texts, pens, and backdrops can be added and manipulated.
Stage() - Constructor for class org.openpatch.scratch.Stage
Constructs a new Stage with default dimensions.
Stage(int, int) - Constructor for class org.openpatch.scratch.Stage
Constructs a new Stage with the specified width and height.
Stage(int, int, String) - Constructor for class org.openpatch.scratch.Stage
Constructs a new Stage with the specified width, height, and assets path.
StageAccess - Class in org.openpatch.scratch.internal
How an extension package reaches something on Stage that is not part of its public face.
StageAccess() - Constructor for class org.openpatch.scratch.internal.StageAccess
 
StageHooks - Interface in org.openpatch.scratch.internal
The four things the render loop needs to do to a stage.
stamp() - Method in class org.openpatch.scratch.Pen
Stamps the current sprite onto the canvas.
stamp() - Method in class org.openpatch.scratch.Sprite
Stamps the current sprite to the background.
stamp(Layer) - Method in class org.openpatch.scratch.Sprite
Stamps the sprite onto one of the stage's layers.
stamp(Stage, Queue<Stamp>, Layer) - Method in class org.openpatch.scratch.internal.StageAccess
Stamps images permanently onto one of a stage's layers.
Stamp - Class in org.openpatch.scratch.internal
 
Stamp(Image, double, double) - Constructor for class org.openpatch.scratch.internal.Stamp
 
Stamp(Image, double, double, double, RotationStyle) - Constructor for class org.openpatch.scratch.internal.Stamp
 
stampLayerToBackground(String) - Method in class org.openpatch.scratch.extensions.tiled.TiledMap
Stamps a specified layer onto the background.
stampLayerToForeground(String) - Method in class org.openpatch.scratch.extensions.tiled.TiledMap
Stamps the specified layer to the foreground.
start() - Method in class org.openpatch.scratch.extensions.recorder.GifRecorder
Starts the GIF recording process.
start() - Method in class org.openpatch.scratch.extensions.recorder.Recorder
Starts the recording process.
start(OutputStream) - Method in class org.openpatch.scratch.internal.AnimatedGifEncoder
Initiates GIF file creation on the given stream.
start(String) - Method in class org.openpatch.scratch.internal.AnimatedGifEncoder
Initiates writing of a GIF file with the specified name.
started - Variable in class org.openpatch.scratch.internal.AnimatedGifEncoder
 
STEEL_BLUE - Static variable in class org.openpatch.scratch.HtmlColor
The color Steel Blue.
stop() - Method in class org.openpatch.scratch.extensions.recorder.FFmpegRecorder
Stops the recording process and converts the recorded frames into a video file using FFmpeg.
stop() - Method in class org.openpatch.scratch.extensions.recorder.GifRecorder
Stops the GIF recording process and finalizes the GIF file.
stop() - Method in class org.openpatch.scratch.extensions.recorder.Recorder
Stops the recording process.
stop() - Method in class org.openpatch.scratch.internal.Sound
 
stopAllSounds() - Method in class org.openpatch.scratch.Sprite
Stops the playing of all sounds of the sprite.
stopAllSounds() - Method in class org.openpatch.scratch.Stage
Stops the playing of all sounds of the stage.
stopSound(String) - Method in class org.openpatch.scratch.Sprite
Stops the playing of the sound with the given name
stopSound(String) - Method in class org.openpatch.scratch.Stage
Stops the playing of the sound with the given name
sub(Vector2) - Method in class org.openpatch.scratch.Vector2
Substracts another vector and returns the result
SUBTRACT - Enum constant in enum class org.openpatch.scratch.KeyCode
 
suggest(String, int) - Static method in class org.openpatch.scratch.internal.BuiltinAssets
Finds bundled sprite names close to what was typed, so a wrong name can be answered with "did you mean ...?".
suggest(String, int) - Static method in class org.openpatch.scratch.internal.BuiltinSounds
Finds bundled sound names close to what was typed, so a wrong name can be answered with "did you mean ...?".
switchBackdrop(String) - Method in class org.openpatch.scratch.Stage
Switch to a backdrop by name.
switchCostume(double) - Method in class org.openpatch.scratch.Sprite
Switches the current costume of the sprite to the costume at the specified index.
switchCostume(String) - Method in class org.openpatch.scratch.Sprite
Switch to a costume by name.
switchFont(String) - Method in class org.openpatch.scratch.Text
Switches the current font to the font with the specified name.
switchTo(double) - Method in class org.openpatch.scratch.extensions.shader.Shaders
Switches to the shader at the given position.
switchTo(String) - Method in class org.openpatch.scratch.extensions.shader.Shaders
Switches to the shader with the given name.

T

T - Enum constant in enum class org.openpatch.scratch.KeyCode
 
TAB - Enum constant in enum class org.openpatch.scratch.KeyCode
 
TAN - Static variable in class org.openpatch.scratch.HtmlColor
The color Tan.
tanOf(double) - Static method in class org.openpatch.scratch.Operators
"tan" is the abbreviation for "tangent."
TEAL - Static variable in class org.openpatch.scratch.HtmlColor
The color Teal.
tenToThePowerOf(double) - Static method in class org.openpatch.scratch.Operators
The 10^ function multiplies 10 times itself the value number of times.
Text - Class in org.openpatch.scratch
The Text class represents a text object that can be displayed on the stage.
Text() - Constructor for class org.openpatch.scratch.Text
Constructs a new Text object with default values.
Text(String, double, double, double) - Constructor for class org.openpatch.scratch.Text
Constructs a new Text object with the specified text, position, and width.
Text(String, double, double, double, TextStyle) - Constructor for class org.openpatch.scratch.Text
Constructs a new Text object with the specified text, position, width, and style.
Text(Sprite) - Constructor for class org.openpatch.scratch.Text
Constructs a new Text object associated with a given Sprite.
Text(Text) - Constructor for class org.openpatch.scratch.Text
Copy constructor for the Text class.
TextAlign - Enum Class in org.openpatch.scratch
Where a piece of text sits relative to its position.
TextStyle - Enum Class in org.openpatch.scratch
The TextStyle enum represents different styles of text that can be used.
TextureSampling - Enum Class in org.openpatch.scratch
How pictures are smoothed when they are drawn larger or smaller than they really are.
think(String) - Method in class org.openpatch.scratch.Sprite
Displays a thought bubble with the specified text.
think(String, int) - Method in class org.openpatch.scratch.Sprite
Displays a thought bubble with the specified text for a given duration.
THINK - Enum constant in enum class org.openpatch.scratch.TextStyle
 
THISTLE - Static variable in class org.openpatch.scratch.HtmlColor
The color Thistle.
TiledMap - Class in org.openpatch.scratch.extensions.tiled
The TiledMap class represents a map created using the Tiled map editor.
TiledMap(String, Stage) - Constructor for class org.openpatch.scratch.extensions.tiled.TiledMap
Constructs a new TiledMap object.
TilesetImage - Class in org.openpatch.scratch.extensions.tiled
 
TilesetImage() - Constructor for class org.openpatch.scratch.extensions.tiled.TilesetImage
 
tilesOf(String, String, int, int) - Static method in class org.openpatch.scratch.internal.Image
Cuts a sheet into equally sized tiles, named prefix0, prefix1 and so on.
Timer - Class in org.openpatch.scratch
The Timer class provides methods for timing events in a graphical application.
Timer() - Constructor for class org.openpatch.scratch.Timer
Constructs a new Timer object.
toGlobalPosition(Vector2) - Method in class org.openpatch.scratch.extensions.camera.Camera
Converts local camera coordinates to screen coordinates
toGlobalX(double) - Method in class org.openpatch.scratch.extensions.camera.Camera
Converts local camera x coordinate to screen x coordinate
toGlobalY(double) - Method in class org.openpatch.scratch.extensions.camera.Camera
Converts local camera y coordinate to screen y coordinate
toLocalPosition(Vector2) - Method in class org.openpatch.scratch.extensions.camera.Camera
Converts screen coordinates to local camera coordinates
toLocalX(double) - Method in class org.openpatch.scratch.extensions.camera.Camera
Converts screen x coordinate to local camera x coordinate
toLocalY(double) - Method in class org.openpatch.scratch.extensions.camera.Camera
Converts screen y coordinate to local camera y coordinate
TOMATO - Static variable in class org.openpatch.scratch.HtmlColor
The color Tomato.
toString() - Method in class org.openpatch.scratch.AnimatedSprite
Returns which animation is playing and how far into it.
toString() - Method in record class org.openpatch.scratch.Bounds
Returns a string representation of this record class.
toString() - Method in class org.openpatch.scratch.Color
The colour written out, so that printing one says something.
toString() - Method in class org.openpatch.scratch.extensions.tiled.TiledMap
 
toString() - Method in class org.openpatch.scratch.Vector2
Returns the vector as a text, for example Vector2[60.0, 80.0].
transIndex - Variable in class org.openpatch.scratch.internal.AnimatedGifEncoder
 
transitionToStage(Stage, int) - Method in class org.openpatch.scratch.internal.Applet
 
transitionToStage(Stage, int) - Method in class org.openpatch.scratch.Window
Transitions to a new stage with a specified duration.
translate(double, double) - Method in class org.openpatch.scratch.Shape
Translate the shape by the specified distances in the x and y directions.
translateAndRotateAndResize(double, double, double, double, double, double) - Method in class org.openpatch.scratch.Hitbox
Transforms the shape by scaling, translating, and rotating it.
transparent - Static variable in class org.openpatch.scratch.extensions.recorder.GifRecorder
The transparent color used in the GIF image.
transparent - Variable in class org.openpatch.scratch.internal.AnimatedGifEncoder
 
Triangle - Class in org.openpatch.scratch
Represents a triangle shape defined by three vertices.
Triangle(double, double, double, double, double, double) - Constructor for class org.openpatch.scratch.Triangle
Creates a triangle with the specified vertices.
TRILINEAR - Enum constant in enum class org.openpatch.scratch.TextureSampling
Smoothed both ways and between levels of detail, which gives the best quality when a picture is drawn much smaller than it is.
turnLeft(double) - Method in class org.openpatch.scratch.Sprite
Rotates the sprite by a certain degrees to the left.
turnRight(double) - Method in class org.openpatch.scratch.Sprite
Rotates the sprite by a certain degrees to the right.
TURQUOISE - Static variable in class org.openpatch.scratch.HtmlColor
The color Turquoise.
type - Variable in class org.openpatch.scratch.extensions.tiled.MapObject
The type of the map object.
type - Variable in class org.openpatch.scratch.extensions.tiled.Property
The type of the property.

U

U - Enum constant in enum class org.openpatch.scratch.KeyCode
 
UI - Enum constant in enum class org.openpatch.scratch.Layer
In front of everything, and unaffected by the camera.
UISprite - Class in org.openpatch.scratch
A sprite for buttons, bars and other parts of a user interface.
UISprite() - Constructor for class org.openpatch.scratch.UISprite
Creates a sprite that is drawn as part of the user interface.
unitVector() - Method in class org.openpatch.scratch.Vector2
Returns the unit vector.
UNKNOWN - Enum constant in enum class org.openpatch.scratch.KeyCode
 
up() - Method in class org.openpatch.scratch.Pen
Move the pen up.
UP - Enum constant in enum class org.openpatch.scratch.KeyCode
 
usedEntry - Variable in class org.openpatch.scratch.internal.AnimatedGifEncoder
 
useFont(String) - Static method in class org.openpatch.scratch.Text
Chooses the font all text is written in, keeping the current size.
useFont(String, int) - Static method in class org.openpatch.scratch.Text
Chooses the font all text is written in, and how big it is.
useFontSizes(int...) - Static method in class org.openpatch.scratch.Text
Prepares several sizes of the font in advance.
useFullScreen() - Static method in class org.openpatch.scratch.Window
Makes the window fill the whole screen.
useSmoothing(boolean) - Static method in class org.openpatch.scratch.Text
Chooses whether letters are smoothed.
useSplashLogo(String) - Static method in class org.openpatch.scratch.Window
Puts your own picture on the loading screen in place of the Scratch for Java logo.
useTextureSampling(TextureSampling) - Static method in class org.openpatch.scratch.Window
Chooses how pictures are smoothed when they are drawn larger or smaller than they really are.
Utils - Class in org.openpatch.scratch.internal
The Utils class provides utility methods for mathematical operations.

V

V - Enum constant in enum class org.openpatch.scratch.KeyCode
 
value - Variable in class org.openpatch.scratch.extensions.tiled.Property
The value of the property.
valueOf(String) - Static method in enum class org.openpatch.scratch.KeyCode
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.openpatch.scratch.Layer
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.openpatch.scratch.MouseCode
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.openpatch.scratch.RotationStyle
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.openpatch.scratch.TextAlign
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.openpatch.scratch.TextStyle
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.openpatch.scratch.TextureSampling
Returns the enum constant of this class with the specified name.
values() - Static method in enum class org.openpatch.scratch.KeyCode
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.openpatch.scratch.Layer
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.openpatch.scratch.MouseCode
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.openpatch.scratch.RotationStyle
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.openpatch.scratch.TextAlign
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.openpatch.scratch.TextStyle
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.openpatch.scratch.TextureSampling
Returns an array containing the constants of this enum class, in the order they are declared.
Vector2 - Class in org.openpatch.scratch
The Vector2 class represents a 2D vector with x and y coordinates.
Vector2() - Constructor for class org.openpatch.scratch.Vector2
Constructor for the null vector.
Vector2(double, double) - Constructor for class org.openpatch.scratch.Vector2
Constructor for a 2D vector.
Vector2(Vector2) - Constructor for class org.openpatch.scratch.Vector2
Copy constructor for copying a vector.
VIOLET - Static variable in class org.openpatch.scratch.HtmlColor
The color Violet.
visible - Variable in class org.openpatch.scratch.extensions.tiled.MapObject
The visibility status of the map object.
VisualProbe - Class in parity
Every arrangement that has to keep looking the way it looks.
VisualProbe(String) - Constructor for class parity.VisualProbe
 

W

W - Enum constant in enum class org.openpatch.scratch.KeyCode
 
wait(int) - Method in class org.openpatch.scratch.Stage
Stop the execution of the whole applications for the given milliseconds.
waitUntil(BooleanSupplier) - Method in class org.openpatch.scratch.Stage
Waits until something becomes true, then carries on.
WHEAT - Static variable in class org.openpatch.scratch.HtmlColor
The color Wheat.
whenAddedToStage() - Method in class org.openpatch.scratch.Sprite
This method is called when the sprite is added to the stage.
whenAddedToStage() - Method in class org.openpatch.scratch.Text
This method is called when the object is added to the stage.
whenAddedToStage(Stage) - Method in class org.openpatch.scratch.Text
This method is called when the text is added to the stage.
whenBackdropSwitches(String) - Method in class org.openpatch.scratch.Sprite
This method is called when the backdrop switches to the specified name.
whenBackdropSwitches(String) - Method in class org.openpatch.scratch.Stage
This method is called when the backdrop switches to the specified name.
whenClicked() - Method in class org.openpatch.scratch.Sprite
This method is called when the sprite is clicked.
whenExits() - Method in class org.openpatch.scratch.Window
This method is called when the window exits.
whenIReceive(String) - Method in class org.openpatch.scratch.Sprite
This method is called when a message is received.
whenIReceive(String) - Method in class org.openpatch.scratch.Stage
This method is called when a specific message is received.
whenKeyPressed(KeyCode) - Method in class org.openpatch.scratch.Sprite
This method is called when a key is pressed.
whenKeyPressed(KeyCode) - Method in class org.openpatch.scratch.Stage
This method is called when a key is pressed.
whenKeyReleased(KeyCode) - Method in class org.openpatch.scratch.Sprite
This method is called when a key is released.
whenKeyReleased(KeyCode) - Method in class org.openpatch.scratch.Stage
This method is called when a key is released.
whenMouseClicked(MouseCode) - Method in class org.openpatch.scratch.Sprite
This method is called when a mouse click event occurs.
whenMouseClicked(MouseCode) - Method in class org.openpatch.scratch.Stage
This method is called when a mouse click event occurs.
whenMouseMoved(double, double) - Method in class org.openpatch.scratch.Sprite
This method is called when the mouse is moved.
whenMouseWheelMoved(int) - Method in class org.openpatch.scratch.Stage
This method is called when the mouse wheel is moved.
whenRemovedFromStage() - Method in class org.openpatch.scratch.Sprite
This method is called when the sprite is removed from the stage.
whenRemovedFromStage() - Method in class org.openpatch.scratch.Text
This method is called when the object is removed from the stage.
whenRemovedFromStage(Stage) - Method in class org.openpatch.scratch.Text
This method is called when the text is removed from the stage.
WHITE - Static variable in class org.openpatch.scratch.HtmlColor
The color White.
WHITE_SMOKE - Static variable in class org.openpatch.scratch.HtmlColor
The color White Smoke.
width - Variable in class org.openpatch.scratch.extensions.tiled.MapObject
The width of the map object.
width - Variable in class org.openpatch.scratch.extensions.tiled.TilesetImage
 
width - Variable in class org.openpatch.scratch.internal.AnimatedGifEncoder
 
width - Variable in class org.openpatch.scratch.internal.BuiltinAssets.Entry
 
width() - Method in record class org.openpatch.scratch.Bounds
Returns the value of the width record component.
Window - Class in org.openpatch.scratch
The Window class represents a singleton window for the application.
Window() - Constructor for class org.openpatch.scratch.Window
Constructs a new Window with default dimensions.
Window(int, int) - Constructor for class org.openpatch.scratch.Window
Constructs a new Window with the specified width and height.
Window(int, int, String) - Constructor for class org.openpatch.scratch.Window
Constructs a new Window with the specified width, height, and assets path.
Window(String) - Constructor for class org.openpatch.scratch.Window
Constructs a new Window with the specified assets.
WINDOWS - Enum constant in enum class org.openpatch.scratch.KeyCode
 
writeGraphicCtrlExt() - Method in class org.openpatch.scratch.internal.AnimatedGifEncoder
Writes Graphic Control Extension
writeImageDesc() - Method in class org.openpatch.scratch.internal.AnimatedGifEncoder
Writes Image Descriptor
writeLSD() - Method in class org.openpatch.scratch.internal.AnimatedGifEncoder
Writes Logical Screen Descriptor
writeNetscapeExt() - Method in class org.openpatch.scratch.internal.AnimatedGifEncoder
Writes Netscape application extension to define repeat count.
writePalette() - Method in class org.openpatch.scratch.internal.AnimatedGifEncoder
Writes color table
writePixels() - Method in class org.openpatch.scratch.internal.AnimatedGifEncoder
Encodes and writes pixel data
writeShort(int) - Method in class org.openpatch.scratch.internal.AnimatedGifEncoder
Write 16-bit value to output stream, LSB first
writeString(String) - Method in class org.openpatch.scratch.internal.AnimatedGifEncoder
Writes string to output stream

X

x - Variable in class org.openpatch.scratch.extensions.tiled.MapObject
The x-coordinate of the map object.
x - Variable in class org.openpatch.scratch.internal.BuiltinAssets.Entry
 
x() - Method in record class org.openpatch.scratch.Bounds
Returns the value of the x record component.
X - Enum constant in enum class org.openpatch.scratch.KeyCode
 

Y

y - Variable in class org.openpatch.scratch.extensions.tiled.MapObject
The y-coordinate of the map object.
y - Variable in class org.openpatch.scratch.internal.BuiltinAssets.Entry
 
y() - Method in record class org.openpatch.scratch.Bounds
Returns the value of the y record component.
Y - Enum constant in enum class org.openpatch.scratch.KeyCode
 
YELLOW - Static variable in class org.openpatch.scratch.HtmlColor
The color Yellow.
YELLOW_GREEN - Static variable in class org.openpatch.scratch.HtmlColor
The color Yellow Green.

Z

Z - Enum constant in enum class org.openpatch.scratch.KeyCode
 
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form