PulpCore
A B C D E F G H I K L M N O P Q R S T U V W X Y

A

abs(int) - Static method in class pulpcore.math.CoreMath
Returns the absolute value of a number.
acos(int) - Static method in class pulpcore.math.CoreMath
Returns the arccosine of the specified fixed-point value.
add(Animation) - Method in class pulpcore.animation.Timeline
 
add(Property, Animation) - Method in class pulpcore.animation.Timeline
 
Add() - Static method in class pulpcore.image.BlendMode
Gets the Add blend mode.
add(int, int) - Method in class pulpcore.math.Tuple2i
 
add(Tuple2i) - Method in class pulpcore.math.Tuple2i
 
add(Sprite) - Method in class pulpcore.scene.Scene2D
Adds a sprite to the main (bottom) layer.
add(Sprite) - Method in class pulpcore.sprite.Group
Adds a Sprite to this Group.
addCatalog(String, byte[]) - Static method in class pulpcore.Assets
Adds the contents of an asset catalog (zip file) into memory.
addCatalog(String, InputStream) - Static method in class pulpcore.Assets
Adds the contents of an asset catalog (zip file) into memory.
addEvent(TimelineEvent) - Method in class pulpcore.animation.Timeline
Adds an event to the timeline.
addEvent(TimelineEvent) - Method in class pulpcore.scene.Scene2D
Adds a TimelineEvent to this Scene2D.
addEventAndWait(TimelineEvent) - Method in class pulpcore.scene.Scene2D
Adds a TimelineEvent to this Scene2D and returns after the TimelineEvent executes or when this Scene2D is unloaded (whichever comes first).
addField(String, String) - Method in class pulpcore.net.Upload
Add a plain text form field to this form.
addFields(Map) - Method in class pulpcore.net.Upload
Adds plain text form fields to this form.
addFile(String, String, String, byte[]) - Method in class pulpcore.net.Upload
Add a data file to this form.
addLayer(Group) - Method in class pulpcore.scene.Scene2D
Adds the specified Group as the top-most layer.
addListener(PropertyListener) - Method in class pulpcore.animation.Property
Adds the specified listener to receive events from this Property.
AddSpriteEvent - Class in pulpcore.animation.event
An AddSpriteEvent is a TimelineEvent that adds a Sprite to a Group after a specified delay.
AddSpriteEvent(Group, Sprite, int) - Constructor for class pulpcore.animation.event.AddSpriteEvent
 
addTimeline(Timeline) - Method in class pulpcore.scene.Scene2D
Adds a Timeline to this Scene2D.
alpha - Variable in class pulpcore.sprite.Sprite
The alpha of this Sprite, in range from 0 to 255.
angle - Variable in class pulpcore.sprite.Sprite
The angle of this Sprite, typically in range from 0 to CoreMath.TWO_PI, although the angle can have any value.
animate(int, int, int) - Method in class pulpcore.animation.Color
Animates this Int from the one value (fromValue) to another (toValue).
animate(int, int, int, Easing) - Method in class pulpcore.animation.Color
Animates this Int from the one value (fromValue) to another (toValue).
animate(int, int, int, Easing, int) - Method in class pulpcore.animation.Color
Animates this Int from the one value (fromValue) to another (toValue).
animate(int, int, int) - Method in class pulpcore.animation.Fixed
Animates this property from the one integer (fromValue) to another (toValue).
animate(int, int, int, Easing) - Method in class pulpcore.animation.Fixed
Animates this property from the one integer (fromValue) to another (toValue).
animate(int, int, int, Easing, int) - Method in class pulpcore.animation.Fixed
Animates this property from the one integer (fromValue) to another (toValue).
animate(double, double, int) - Method in class pulpcore.animation.Fixed
Animates this property from the one double (fromValue) to another (toValue).
animate(double, double, int, Easing) - Method in class pulpcore.animation.Fixed
Animates this property from the one double (fromValue) to another (toValue).
animate(double, double, int, Easing, int) - Method in class pulpcore.animation.Fixed
Animates this property from the one double (fromValue) to another (toValue).
animate(int, int, int) - Method in class pulpcore.animation.Int
Animates this Int from the one value (fromValue) to another (toValue).
animate(int, int, int, Easing) - Method in class pulpcore.animation.Int
Animates this Int from the one value (fromValue) to another (toValue).
animate(int, int, int, Easing, int) - Method in class pulpcore.animation.Int
Animates this Int from the one value (fromValue) to another (toValue).
animate(Property, Animation) - Method in class pulpcore.animation.Timeline
Deprecated. Replaced by Timeline.add(Property, Animation)
animate(Int, int, int, int) - Method in class pulpcore.animation.Timeline
 
animate(Int, int, int, int, Easing) - Method in class pulpcore.animation.Timeline
 
animate(Int, int, int, int, Easing, int) - Method in class pulpcore.animation.Timeline
 
animate(Color, int, int, int) - Method in class pulpcore.animation.Timeline
 
animate(Color, int, int, int, Easing) - Method in class pulpcore.animation.Timeline
 
animate(Color, int, int, int, Easing, int) - Method in class pulpcore.animation.Timeline
 
animate(Fixed, int, int, int) - Method in class pulpcore.animation.Timeline
 
animate(Fixed, int, int, int, Easing) - Method in class pulpcore.animation.Timeline
 
animate(Fixed, int, int, int, Easing, int) - Method in class pulpcore.animation.Timeline
 
animate(Fixed, double, double, int) - Method in class pulpcore.animation.Timeline
 
animate(Fixed, double, double, int, Easing) - Method in class pulpcore.animation.Timeline
 
animate(Fixed, double, double, int, Easing, int) - Method in class pulpcore.animation.Timeline
 
animateAsFixed(int, int, int) - Method in class pulpcore.animation.Fixed
Animates this property from the one fixed-point value (fFromValue) to another (fToValue).
animateAsFixed(int, int, int, Easing) - Method in class pulpcore.animation.Fixed
Animates this property from the one fixed-point value (fFromValue) to another (fToValue).
animateAsFixed(int, int, int, Easing, int) - Method in class pulpcore.animation.Fixed
Animates this property from the one fixed-point value (fFromValue) to another (fToValue).
animateAsFixed(Fixed, int, int, int) - Method in class pulpcore.animation.Timeline
 
animateAsFixed(Fixed, int, int, int, Easing) - Method in class pulpcore.animation.Timeline
 
animateAsFixed(Fixed, int, int, int, Easing, int) - Method in class pulpcore.animation.Timeline
 
AnimatedImage - Class in pulpcore.image
An AnimatedImage is a CoreImage that contains multiple frames of animation.
AnimatedImage(CoreImage[]) - Constructor for class pulpcore.image.AnimatedImage
Creates an AnimatedImage from a list of images.
AnimatedImage(AnimatedImage) - Constructor for class pulpcore.image.AnimatedImage
Creates a copy of the specified AnimatedImage.
AnimatedImage(CoreImage, int, int) - Constructor for class pulpcore.image.AnimatedImage
Creates an AnimatedImage by spliting a image into frames on a grid.
animateTo(int, int) - Method in class pulpcore.animation.Color
Animates this Int from the current value to the specified value.
animateTo(int, int, Easing) - Method in class pulpcore.animation.Color
Animates this Int from the current value to the specified value.
animateTo(int, int, Easing, int) - Method in class pulpcore.animation.Color
Animates this Int from the current value to the specified value.
animateTo(int, int) - Method in class pulpcore.animation.Fixed
Animates this property from the current value to the specified integer.
animateTo(int, int, Easing) - Method in class pulpcore.animation.Fixed
Animates this property from the current value to the specified integer.
animateTo(int, int, Easing, int) - Method in class pulpcore.animation.Fixed
Animates this property from the current value to the specified integer.
animateTo(double, int) - Method in class pulpcore.animation.Fixed
Animates this property from the current value to the specified double.
animateTo(double, int, Easing) - Method in class pulpcore.animation.Fixed
Animates this property from the current value to the specified double.
animateTo(double, int, Easing, int) - Method in class pulpcore.animation.Fixed
Animates this property from the current value to the specified double.
animateTo(int, int) - Method in class pulpcore.animation.Int
Animates this Int from the current value to the specified value.
animateTo(int, int, Easing) - Method in class pulpcore.animation.Int
Animates this Int from the current value to the specified value.
animateTo(int, int, Easing, int) - Method in class pulpcore.animation.Int
Animates this Int from the current value to the specified value.
animateTo(Int, int, int) - Method in class pulpcore.animation.Timeline
 
animateTo(Int, int, int, Easing) - Method in class pulpcore.animation.Timeline
 
animateTo(Int, int, int, Easing, int) - Method in class pulpcore.animation.Timeline
 
animateTo(Color, int, int) - Method in class pulpcore.animation.Timeline
 
animateTo(Color, int, int, Easing) - Method in class pulpcore.animation.Timeline
 
animateTo(Color, int, int, Easing, int) - Method in class pulpcore.animation.Timeline
 
animateTo(Fixed, int, int) - Method in class pulpcore.animation.Timeline
 
animateTo(Fixed, int, int, Easing) - Method in class pulpcore.animation.Timeline
 
animateTo(Fixed, int, int, Easing, int) - Method in class pulpcore.animation.Timeline
 
animateTo(Fixed, double, int) - Method in class pulpcore.animation.Timeline
 
animateTo(Fixed, double, int, Easing) - Method in class pulpcore.animation.Timeline
 
animateTo(Fixed, double, int, Easing, int) - Method in class pulpcore.animation.Timeline
 
animateToFixed(int, int) - Method in class pulpcore.animation.Fixed
Animates this property from the current value to the specified fixed-point value.
animateToFixed(int, int, Easing) - Method in class pulpcore.animation.Fixed
Animates this property from the current value to the specified fixed-point value.
animateToFixed(int, int, Easing, int) - Method in class pulpcore.animation.Fixed
Animates this property from the current value to the specified fixed-point value.
animateToFixed(Fixed, int, int) - Method in class pulpcore.animation.Timeline
 
animateToFixed(Fixed, int, int, Easing) - Method in class pulpcore.animation.Timeline
 
animateToFixed(Fixed, int, int, Easing, int) - Method in class pulpcore.animation.Timeline
 
Animation - Class in pulpcore.animation
An Animation changes state over a specific duration.
Animation(int) - Constructor for class pulpcore.animation.Animation
 
Animation(int, Easing) - Constructor for class pulpcore.animation.Animation
 
Animation(int, Easing, int) - Constructor for class pulpcore.animation.Animation
 
ARC4 - Class in pulpcore.util.crypt
An unofficial implementation of the ARC4 cipher algorithm.
ARC4() - Constructor for class pulpcore.util.crypt.ARC4
Constructs a new ARC4 object with a randomly generated encryption key.
ARC4(byte[]) - Constructor for class pulpcore.util.crypt.ARC4
Constructs a new ARC4 object with the specified encryption key.
asin(int) - Static method in class pulpcore.math.CoreMath
Returns the arcsine of the specified fixed-point value.
Assets - Class in pulpcore
The Assets class provided a central location to retrieve game assets (images, fonts, sounds, etc.) from the jar or from zip files.
at(int) - Method in class pulpcore.animation.Timeline
Creates a child timeline that starts at the specified time relative to the start of this timeline.
atan(int) - Static method in class pulpcore.math.CoreMath
Returns the arctangent of the specified fixed-point value.
atan2(int, int) - Static method in class pulpcore.math.CoreMath
Returns in the range from -pi to pi.
AUTO_CENTER - Static variable in class pulpcore.Stage
Automatically center the Scene in the Stage.
AUTO_FIT - Static variable in class pulpcore.Stage
Automatically scale the Scene to the Stage dimensions, preserving the Scene's aspect ratio.
AUTO_OFF - Static variable in class pulpcore.Stage
Perform no auto scaling (default)
AUTO_STRETCH - Static variable in class pulpcore.Stage
Automatically stretch the Scene to the Stage dimensions.
available() - Method in class pulpcore.util.ByteArray
Returns the number of bytes that can be read from the current position to the length of the data.

B

BACK_IN - Static variable in class pulpcore.animation.Easing
 
BACK_IN_OUT - Static variable in class pulpcore.animation.Easing
 
BACK_OUT - Static variable in class pulpcore.animation.Easing
 
background(int) - Method in class pulpcore.image.AnimatedImage
 
background(int) - Method in class pulpcore.image.CoreFont
 
background(int) - Method in class pulpcore.image.CoreImage
 
Base64 - Class in pulpcore.util
Base64 encoding and decoding for network transport.
Behavior - Interface in pulpcore.animation
A Behavior controls how a Property's value changes over time.
BIG_ENDIAN - Static variable in class pulpcore.util.ByteArray
Big Endian is the byte order where data is stored Most Significant Byte (MSB) first.
BindFunction - Interface in pulpcore.animation
The BindFunction class allows Properties to be bound to a function.
bindLocationTo(Sprite) - Method in class pulpcore.sprite.Sprite
Binds this sprite's location to that of the specified sprite.
bindSizeTo(Sprite) - Method in class pulpcore.sprite.Sprite
Binds this sprite's size to that of the specified sprite.
bindTo(Bool) - Method in class pulpcore.animation.Bool
Binds this property to the specified property.
bindTo(BindFunction) - Method in class pulpcore.animation.Bool
Binds this property to the specified function.
bindTo(Color) - Method in class pulpcore.animation.Color
Binds this property to the specified property.
bindTo(BindFunction) - Method in class pulpcore.animation.Color
Binds this property to the specified function.
bindTo(Fixed) - Method in class pulpcore.animation.Fixed
Binds this property to the specified property.
bindTo(Int) - Method in class pulpcore.animation.Fixed
Binds this property to the specified property.
bindTo(BindFunction) - Method in class pulpcore.animation.Fixed
Binds this property to the specified function.
bindTo(Int) - Method in class pulpcore.animation.Int
Binds this property to the specified property.
bindTo(Fixed) - Method in class pulpcore.animation.Int
Binds this property to the specified property.
bindTo(BindFunction) - Method in class pulpcore.animation.Int
Binds this property to the specified function.
BLACK - Static variable in class pulpcore.image.Colors
The color black.
BlendMode - Class in pulpcore.image
An enumeration of blend modes.
BLUE - Static variable in class pulpcore.image.Colors
The color blue.
Bool - Class in pulpcore.animation
An Bool is an boolean value that can be animated over time.
Bool() - Constructor for class pulpcore.animation.Bool
 
Bool(PropertyListener) - Constructor for class pulpcore.animation.Bool
 
Bool(boolean) - Constructor for class pulpcore.animation.Bool
 
Bool(PropertyListener, boolean) - Constructor for class pulpcore.animation.Bool
 
borderColor - Variable in class pulpcore.sprite.FilledSprite
Border color
BOTTOM - Static variable in class pulpcore.math.Rect
The bitmask that indicates the right segment of a rectangle.
brighter(int) - Static method in class pulpcore.image.Colors
Creates a brighter version of the specified color.
Build - Interface in pulpcore
The Build class provides information on this build of PulpCore.
BUILD_DATE - Static variable in interface pulpcore.Build
The build date.
Button - Class in pulpcore.sprite
The Button is a Sprite that behaves like a common UI push button.
Button(CoreImage[], int, int) - Constructor for class pulpcore.sprite.Button
 
Button(CoreImage[], int, int, boolean) - Constructor for class pulpcore.sprite.Button
 
Button(CoreImage[], double, double) - Constructor for class pulpcore.sprite.Button
 
Button(CoreImage[], double, double, boolean) - Constructor for class pulpcore.sprite.Button
 
ByteArray - Class in pulpcore.util
The ByteArray class encapsulates reading data from and writing data to an array of bytes.
ByteArray() - Constructor for class pulpcore.util.ByteArray
Creates a new ByteArray with a length of zero.
ByteArray(int) - Constructor for class pulpcore.util.ByteArray
Creates a new ByteArray with the specified length.
ByteArray(byte[]) - Constructor for class pulpcore.util.ByteArray
Creates a new ByteArray of the specified data.

C

cancel() - Method in class pulpcore.net.Download
 
CANCELED - Static variable in class pulpcore.net.Download
 
canDisplay(char) - Method in class pulpcore.image.CoreFont
 
canPopScene() - Static method in class pulpcore.Stage
Returns true if the there are Scenes on the scene stack.
caretColor - Variable in class pulpcore.sprite.TextField
The caret color.
ceil(int) - Static method in class pulpcore.math.CoreMath
Returns the ceil of a fixed-point value.
CENTER - Static variable in class pulpcore.sprite.Sprite
Constant for positioning the anchor point in the center of the sprite.
clamp(int, int, int) - Static method in class pulpcore.math.CoreMath
Clamps a number between two values.
clamp(double, double, double) - Static method in class pulpcore.math.CoreMath
Clamps a number between two values.
clear() - Method in class pulpcore.image.CoreGraphics
Fills the area defined by the clip with the background color of the current drawing surface.
clear() - Method in class pulpcore.math.Transform
Clears this transform, i.e., sets this transform to the identity matrix.
clearCursor() - Method in class pulpcore.sprite.Sprite
Clears the cursor for this Sprite, so that it's parent cursor is used.
clearDirtyRect() - Method in class pulpcore.sprite.Sprite
For dirty rectangles - most apps will not need ot call this method directly.
clearKeyBinding() - Method in class pulpcore.sprite.Button
Clears the key binding for this button.
clearLog() - Static method in class pulpcore.CoreSystem
 
clearTalkBackFields() - Static method in class pulpcore.CoreSystem
 
clearTransform() - Method in class pulpcore.image.CoreGraphics
Sets the current transform to the identiy matrix.
clipRect(Rect) - Method in class pulpcore.image.CoreGraphics
The clip is not affected by the transform.
clipRect(int, int, int, int) - Method in class pulpcore.image.CoreGraphics
The clip is not affected by the transform.
Color - Class in pulpcore.animation
An Color is a 32-bit ARGB value that can be animated over time.
Color() - Constructor for class pulpcore.animation.Color
 
Color(PropertyListener) - Constructor for class pulpcore.animation.Color
 
Color(int) - Constructor for class pulpcore.animation.Color
 
Color(PropertyListener, int) - Constructor for class pulpcore.animation.Color
 
Colors - Class in pulpcore.image
The Colors class provides convenience methods to create packed, 32-bit ARGB colors.
compress() - Method in class pulpcore.util.ByteArray
Compresses this entire byte array using ZLIB compression.
compress(Deflater) - Method in class pulpcore.util.ByteArray
Compresses this entire byte array using ZLIB compression.
concatenate(Transform) - Method in class pulpcore.math.Transform
 
contains(int, int) - Method in class pulpcore.math.Rect
 
contains(int, int, int, int) - Method in class pulpcore.math.Rect
 
contains(Rect) - Method in class pulpcore.math.Rect
 
contains(Sprite) - Method in class pulpcore.sprite.Group
Returns true if this Group contains the specified Sprite.
contains(int, int) - Method in class pulpcore.sprite.Sprite
Checks if the specified location is within the bounds of this Sprite.
containsAsset(String) - Static method in class pulpcore.Assets
Returns true if the specified asset in any zip file exists.
containsCatalog(String) - Static method in class pulpcore.Assets
Checks if the specified catalog name (zip file) is stored in memory.
CoreFont - Class in pulpcore.image
The CoreFont class is a image-based font used for drawing text.
CoreGraphics - Class in pulpcore.image
Graphics rendering routines onto a CoreImage surface.
CoreImage - Class in pulpcore.image
The CoreImage class contains raster data and provides methods for creating transformed copies of the image.
CoreImage(int, int) - Constructor for class pulpcore.image.CoreImage
Creates an opaque image, initially black.
CoreImage(int, int, boolean) - Constructor for class pulpcore.image.CoreImage
Creates a blank image.
CoreImage(int, int, boolean, int[]) - Constructor for class pulpcore.image.CoreImage
Creates a new image using the specified pixel data.
CoreImage(CoreImage) - Constructor for class pulpcore.image.CoreImage
Creates a CoreImage with the same properties as the specified CoreImage.
CoreMath - Class in pulpcore.math
The CoreMath class contains fixed-point arithmetic functions and other useful math functions.
CoreSystem - Class in pulpcore
The CoreSystem class contains useful platform-specific methods.
cos(int) - Static method in class pulpcore.math.CoreMath
Returns the cosine of the specified fixed-point radian value.
cosineInterpolate(int, int, int) - Static method in class pulpcore.math.CoreMath
Performs a 1-dimensional cosine interpolation between values n1 and n2.
cot(int) - Static method in class pulpcore.math.CoreMath
Returns the cotangent of the specified fixed-point radian value.
countBits(int) - Static method in class pulpcore.math.CoreMath
Counts the number of "on" bits in an integer.
createBackBuffer() - Method in class pulpcore.sprite.Group
Creates a back buffer for this Group.
createBackBuffer(BlendMode) - Method in class pulpcore.sprite.Group
Creates a back buffer for this Group, and sets the blend mode for rendering onto the back buffer.
createGraphics() - Method in class pulpcore.image.CoreImage
Creates a new CoreGaphics context for drawing onto this image.
createLabeledButton(String, int, int) - Static method in class pulpcore.sprite.Button
 
createLabeledButton(CoreImage[], CoreFont, String, int, int) - Static method in class pulpcore.sprite.Button
 
createLabeledButton(CoreImage[], CoreFont, String, int, int, int, int, int, boolean) - Static method in class pulpcore.sprite.Button
 
createLabeledButton(CoreImage[], CoreFont, String, int, int, int, int, int, boolean, boolean) - Static method in class pulpcore.sprite.Button
 
createLabeledToggleButton(String, int, int) - Static method in class pulpcore.sprite.Button
 
createLabeledToggleButton(CoreImage[], CoreFont, String, int, int) - Static method in class pulpcore.sprite.Button
 
createLabeledToggleButton(CoreImage[], CoreFont, String, int, int, int, int, int, boolean) - Static method in class pulpcore.sprite.Button
 
createMultilineLabel(String, int, int) - Static method in class pulpcore.sprite.Label
Creates a Group of Labels with the system font.
createMultilineLabel(String, int, int, int) - Static method in class pulpcore.sprite.Label
Creates a Group of Labels with the system font.
createMultilineLabel(String, double, double) - Static method in class pulpcore.sprite.Label
Creates a Group of Labels with the system font.
createMultilineLabel(String, double, double, int) - Static method in class pulpcore.sprite.Label
Creates a Group of Labels with the system font.
createMultilineLabel(CoreFont, String, int, int) - Static method in class pulpcore.sprite.Label
Creates a Group of Labels with the specified Font.
createMultilineLabel(CoreFont, String, int, int, int) - Static method in class pulpcore.sprite.Label
Creates a Group of Labels with the specified Font.
createMultilineLabel(CoreFont, String, double, double) - Static method in class pulpcore.sprite.Label
Creates a Group of Labels with the specified Font.
createMultilineLabel(CoreFont, String, double, double, int) - Static method in class pulpcore.sprite.Label
Creates a Group of Labels with the specified Font.
crop(int, int, int, int) - Method in class pulpcore.image.AnimatedImage
 
crop(int, int, int, int) - Method in class pulpcore.image.CoreImage
Creates a cropped version of this image.
crypt(ARC4) - Method in class pulpcore.util.ByteArray
Crypts the entire byte array using the specified cipher.
crypt(byte[]) - Method in class pulpcore.util.crypt.ARC4
Crypts the data.
crypt(byte[], byte[]) - Method in class pulpcore.util.crypt.ARC4
Crypts the data from the input array to the output array.
cubicInterpolate(int, int, int, int, int) - Static method in class pulpcore.math.CoreMath
Performs a 1-dimensional cubic interpolation between values n1 and n2.
CURSOR_CROSSHAIR - Static variable in class pulpcore.Input
 
CURSOR_DEFAULT - Static variable in class pulpcore.Input
 
CURSOR_E_RESIZE - Static variable in class pulpcore.Input
 
CURSOR_HAND - Static variable in class pulpcore.Input
 
CURSOR_MOVE - Static variable in class pulpcore.Input
 
CURSOR_N_RESIZE - Static variable in class pulpcore.Input
 
CURSOR_NE_RESIZE - Static variable in class pulpcore.Input
 
CURSOR_NW_RESIZE - Static variable in class pulpcore.Input
 
CURSOR_OFF - Static variable in class pulpcore.Input
 
CURSOR_S_RESIZE - Static variable in class pulpcore.Input
 
CURSOR_SE_RESIZE - Static variable in class pulpcore.Input
 
CURSOR_SW_RESIZE - Static variable in class pulpcore.Input
 
CURSOR_TEXT - Static variable in class pulpcore.Input
 
CURSOR_W_RESIZE - Static variable in class pulpcore.Input
 
CURSOR_WAIT - Static variable in class pulpcore.Input
 
CYAN - Static variable in class pulpcore.image.Colors
The color cyan.

D

darker(int) - Static method in class pulpcore.image.Colors
Creates a darker version of the specified color.
DARKGRAY - Static variable in class pulpcore.image.Colors
The color dark black.
DEBUG - Static variable in interface pulpcore.Build
The debug flag of this PulpCore build.
decode(String) - Static method in class pulpcore.util.Base64
Decodes a Base64 string using the standard Base64 alphabet.
decodeURLSafe(String) - Static method in class pulpcore.util.Base64
Decodes a Base64 string using the URL-safe Base64 alphabet.
decompress() - Method in class pulpcore.util.ByteArray
Decompresses this entire byte array using ZLIB compression.
decompress(Inflater) - Method in class pulpcore.util.ByteArray
Decompresses this entire byte array using ZLIB compression.
DEFAULT - Static variable in class pulpcore.sprite.Sprite
Constant for positioning the anchor point at the "default" location of the Sprite, which is usually its upper-left corner.
DEFAULT_FPS - Static variable in class pulpcore.Stage
60 fps (default)
destroy() - Method in class pulpcore.Stage
 
dist(int, int, int, int) - Static method in class pulpcore.math.CoreMath
 
div(int, int) - Static method in class pulpcore.math.CoreMath
Divides the first fixed-point number by the second fixed-point number.
div(long, long) - Static method in class pulpcore.math.CoreMath
Divides the first fixed-point number by the second fixed-point number.
dot(Tuple2i) - Method in class pulpcore.math.Tuple2i
Interpreting this Tuple2i and the specified Tuple2i as a fixed-point vector, return the dot product of the two vectors.
DOWN - Static variable in class pulpcore.Input
The virtual key state indicating that a key is down.
Download - Class in pulpcore.net
Downloads a file into memory.
Download(URL) - Constructor for class pulpcore.net.Download
 
DOWNLOADING - Static variable in class pulpcore.net.Download
 
draw(CoreGraphics, boolean) - Method in class pulpcore.math.Path
Draws the segments of this path using the current color.
draw(CoreGraphics) - Method in class pulpcore.sprite.Sprite
 
drawChar(char, int) - Method in class pulpcore.image.CoreGraphics
Internal method used to clip the TextField.
drawImage(CoreImage) - Method in class pulpcore.image.CoreGraphics
 
drawImage(CoreImage, int, int, int, int) - Method in class pulpcore.image.CoreGraphics
 
drawImage(CoreImage, int, int) - Method in class pulpcore.image.CoreGraphics
Draws an image at a specific location.
drawImage(CoreImage, int, int, int, int, int, int) - Method in class pulpcore.image.CoreGraphics
 
drawLine(int, int, int, int) - Method in class pulpcore.image.CoreGraphics
Draws a line using the current color.
drawLine(double, double, double, double) - Method in class pulpcore.image.CoreGraphics
Draws a line using the current color.
drawLineFixedPoint(int, int, int, int) - Method in class pulpcore.image.CoreGraphics
Draws a line (at fixed-point coordinates) using the current color.
drawRect(int, int, int, int) - Method in class pulpcore.image.CoreGraphics
Draws a rectangle using the current color.
drawRotatedImage(CoreImage, int, int, int, int, int) - Method in class pulpcore.image.CoreGraphics
Draws a rotated and scaled image.
drawRotatedImage(CoreImage, int, int, int, int, int, int, int, int, int) - Method in class pulpcore.image.CoreGraphics
Draws a rotated and scaled image.
drawRotatedImage(CoreImage, int, int, int, int, int, int) - Method in class pulpcore.image.CoreGraphics
Draws a rotated and scaled image using pre-computed cosine and sine of the angle.
drawRotatedImage(CoreImage, int, int, int, int, int, int, int, int, int, int) - Method in class pulpcore.image.CoreGraphics
Draws a rotated and scaled image using pre-computed cosine and sine of the angle.
drawRotatedString(String, int, int, int, int, int) - Method in class pulpcore.image.CoreGraphics
 
drawRotatedString(String, int, int, int, int, int, int) - Method in class pulpcore.image.CoreGraphics
 
drawScaledImage(CoreImage, int, int, int, int) - Method in class pulpcore.image.CoreGraphics
 
drawScaledImage(CoreImage, int, int, int, int, int, int, int, int) - Method in class pulpcore.image.CoreGraphics
 
drawScaledString(String, int, int, int, int) - Method in class pulpcore.image.CoreGraphics
 
drawScene(CoreGraphics) - Method in class pulpcore.scene.Scene
Draws to the surface's graphics context.
drawScene(CoreGraphics) - Method in class pulpcore.scene.Scene2D
Draws all of the sprites in this scene.
drawSprite(CoreGraphics) - Method in class pulpcore.sprite.FilledSprite
 
drawSprite(CoreGraphics) - Method in class pulpcore.sprite.Group
 
drawSprite(CoreGraphics) - Method in class pulpcore.sprite.ImageSprite
 
drawSprite(CoreGraphics) - Method in class pulpcore.sprite.Label
 
drawSprite(CoreGraphics) - Method in class pulpcore.sprite.Slider
 
drawSprite(CoreGraphics) - Method in class pulpcore.sprite.Sprite
Draws the sprite.
drawSprite(CoreGraphics) - Method in class pulpcore.sprite.TextField
 
drawString(String) - Method in class pulpcore.image.CoreGraphics
 
drawString(String, int, int) - Method in class pulpcore.image.CoreGraphics
 
drawText(CoreGraphics, String) - Method in class pulpcore.sprite.Label
 

E

E - Static variable in class pulpcore.math.CoreMath
 
ease(int, int) - Method in class pulpcore.animation.Easing
 
ease(double) - Method in class pulpcore.animation.Easing
 
Easing - Class in pulpcore.animation
The Easing class provides functions to ease property animation in a non-linear way.
Easing() - Constructor for class pulpcore.animation.Easing
 
Easing(Easing, double) - Constructor for class pulpcore.animation.Easing
 
EAST - Static variable in class pulpcore.sprite.Sprite
Constant for positioning the anchor point in the right center of the sprite.
ELASTIC_IN - Static variable in class pulpcore.animation.Easing
 
ELASTIC_IN_OUT - Static variable in class pulpcore.animation.Easing
 
ELASTIC_OUT - Static variable in class pulpcore.animation.Easing
 
enabled - Variable in class pulpcore.sprite.Sprite
The flag indicating whether this Sprite is enabled.
encode(byte[]) - Static method in class pulpcore.util.Base64
Encodes binary data using the standard Base64 alphabet.
encode(byte[], boolean) - Static method in class pulpcore.util.Base64
Encodes binary data using the standard Base64 alphabet.
encodeURLSafe(byte[]) - Static method in class pulpcore.util.Base64
Encodes binary data using the URL-safe Base64 alphabet.
encodeURLSafe(byte[], boolean) - Static method in class pulpcore.util.Base64
Encodes binary data using the URL-safe Base64 alphabet.
EncryptedInt - Class in pulpcore.util.crypt
An EncryptedInt is an Int whose value is internally encrypted.
EncryptedInt() - Constructor for class pulpcore.util.crypt.EncryptedInt
Constructs a new Int object with no listener, the value of zero, and a cipher with a randomly generated encryption key.
EncryptedInt(ARC4) - Constructor for class pulpcore.util.crypt.EncryptedInt
Constructs a new Int object with no listener, the value of zero, and the specified cipher.
EncryptedInt(PropertyListener) - Constructor for class pulpcore.util.crypt.EncryptedInt
Constructs a new Int object with the specified listener, the value of zero, and a cipher with a randomly generated encryption key.
EncryptedInt(PropertyListener, ARC4) - Constructor for class pulpcore.util.crypt.EncryptedInt
Constructs a new Int object with the specified listener, the value of zero, and the specified cipher.
EncryptedInt(int) - Constructor for class pulpcore.util.crypt.EncryptedInt
Constructs a new Int object with the specified value, no listener, and a cipher with a randomly generated encryption key.
EncryptedInt(int, ARC4) - Constructor for class pulpcore.util.crypt.EncryptedInt
Constructs a new Int object with the specified value, no listener, and the specified cipher.
EncryptedInt(PropertyListener, int) - Constructor for class pulpcore.util.crypt.EncryptedInt
Constructs a new Int object with the specified value, the specified listener, and a cipher with a randomly generated encryption key.
EncryptedInt(PropertyListener, int, ARC4) - Constructor for class pulpcore.util.crypt.EncryptedInt
Constructs a new Int object with the specified value, the specified listener, and the specified cipher.
equals(Object) - Method in class pulpcore.animation.Bool
Returns true if the specified object is a Bool or Boolean and its value is equal to this value.
equals(Object) - Method in class pulpcore.animation.Color
Returns true if the specified object is a Color or Integer and its value is equal to this value.
equals(Object) - Method in class pulpcore.animation.Fixed
Returns true if the specified object is an Int, Fixed, Byte, Short, Integer, Long, Float, or Double, and its value is equal to this value.
equals(Object) - Method in class pulpcore.animation.Int
Returns true if the specified object is an Int, Fixed, Byte, Short, Integer, Long, Float, or Double, and its value is equal to this value.
equals(Object) - Method in class pulpcore.animation.Property
 
equals(Rect) - Method in class pulpcore.math.Rect
 
equals(int, int, int, int) - Method in class pulpcore.math.Rect
 
equals(Object) - Method in class pulpcore.math.Transform
 
equals(Object) - Method in class pulpcore.math.Tuple2i
 
equals(String, String) - Static method in class pulpcore.util.StringUtil
Safe equality check for two strings.
ERROR - Static variable in class pulpcore.net.Download
 
expandCanvas(int, int) - Method in class pulpcore.image.CoreImage
Create a new image with an expanded canvas size.
expandCanvas(int, int, int, int, int) - Method in class pulpcore.image.CoreImage
Create a new image with an expanded canvas size.

F

f() - Method in interface pulpcore.animation.BindFunction
The function.
fade(int) - Method in class pulpcore.image.AnimatedImage
 
fade(int) - Method in class pulpcore.image.CoreFont
 
fade(int) - Method in class pulpcore.image.CoreImage
 
fastForward() - Method in class pulpcore.animation.Animation
Sets the current time to the end of this animation.
fastForward() - Method in interface pulpcore.animation.Behavior
Fast-forwards to the end of the Behavior if possible.
fill() - Method in class pulpcore.image.CoreGraphics
Fills the entire surface with the current color.
fillColor - Variable in class pulpcore.sprite.FilledSprite
Fill color
FilledSprite - Class in pulpcore.sprite
Solid-colored rectangluar shaped sprite.
FilledSprite(int) - Constructor for class pulpcore.sprite.FilledSprite
 
FilledSprite(int, int, int, int, int) - Constructor for class pulpcore.sprite.FilledSprite
 
FilledSprite(double, double, double, double, int) - Constructor for class pulpcore.sprite.FilledSprite
 
fillRect(int, int, int, int) - Method in class pulpcore.image.CoreGraphics
Fills a rectangle with the current color.
fillRect(double, double, double, double) - Method in class pulpcore.image.CoreGraphics
Fills a rectangle with the current color.
fillRectFixedPoint(int, int, int, int) - Method in class pulpcore.image.CoreGraphics
Fills a rectangle (at fixed-point coordinates) with the current color.
Fixed - Class in pulpcore.animation
A Fixed is an fixed-point value (16 bits integer, 16 bits fraction) that can be animated over time.
Fixed() - Constructor for class pulpcore.animation.Fixed
 
Fixed(PropertyListener) - Constructor for class pulpcore.animation.Fixed
 
Fixed(int) - Constructor for class pulpcore.animation.Fixed
 
Fixed(double) - Constructor for class pulpcore.animation.Fixed
 
Fixed(PropertyListener, int) - Constructor for class pulpcore.animation.Fixed
 
Fixed(PropertyListener, double) - Constructor for class pulpcore.animation.Fixed
 
flip() - Method in class pulpcore.image.AnimatedImage
 
flip() - Method in class pulpcore.image.CoreImage
Returns a new CoreImage whose raster data represents a flipped version of this image.
floor(int) - Static method in class pulpcore.math.CoreMath
Returns the floor of a fixed-point value (removes the fractional part).
format(String, Object) - Static method in class pulpcore.util.StringUtil
Calls StringUtil.format(message, new Object[] { arg });
format(String, Object[]) - Static method in class pulpcore.util.StringUtil
Formats a text string converting codes with string arguments.
formatNumber(int, int, int, int, boolean) - Static method in class pulpcore.math.CoreMath
Converts a number to a base-10 string representation.
fracPart(int) - Static method in class pulpcore.math.CoreMath
Returns the fractional part of a fixed-point value (removes the integer part).
FRACTION_BITS - Static variable in class pulpcore.math.CoreMath
 
FRACTION_MASK - Static variable in class pulpcore.math.CoreMath
 

G

get() - Method in class pulpcore.animation.Bool
 
get() - Method in class pulpcore.animation.Color
Gets the packed, 32-bit ARGB value of this color.
get() - Method in class pulpcore.animation.Fixed
 
get() - Method in class pulpcore.animation.Int
 
get(String) - Static method in class pulpcore.Assets
Gets an asset as a ByteArray.
get(int) - Method in class pulpcore.sprite.Group
Returns the sprite at the specified position in this group.
get() - Method in class pulpcore.util.crypt.EncryptedInt
 
getActualFrameRate() - Static method in class pulpcore.Stage
Gets the actual frame rate the Stage is displaying in frames per second.
getAlpha(int) - Static method in class pulpcore.image.Colors
Gets the alpha component of a 32-bit ARGB color.
getAlpha() - Method in class pulpcore.image.CoreGraphics
 
getAnchor() - Method in class pulpcore.sprite.Sprite
 
getAnchorX() - Method in class pulpcore.sprite.FilledSprite
 
getAnchorX() - Method in class pulpcore.sprite.Group
 
getAnchorX() - Method in class pulpcore.sprite.ImageSprite
 
getAnchorX() - Method in class pulpcore.sprite.Sprite
 
getAnchorY() - Method in class pulpcore.sprite.FilledSprite
 
getAnchorY() - Method in class pulpcore.sprite.Group
 
getAnchorY() - Method in class pulpcore.sprite.ImageSprite
 
getAnchorY() - Method in class pulpcore.sprite.Sprite
 
getAngle(double) - Method in class pulpcore.math.Path
 
getAppProperty(String) - Static method in class pulpcore.CoreSystem
Gets a named property for this application instance.
getArea() - Method in class pulpcore.math.Rect
 
getAsFixed() - Method in class pulpcore.animation.Fixed
 
getAsInt() - Method in class pulpcore.animation.Fixed
 
getAsIntCeil() - Method in class pulpcore.animation.Fixed
 
getAsIntFloor() - Method in class pulpcore.animation.Fixed
 
getAsIntRound() - Method in class pulpcore.animation.Fixed
 
getAssetNames() - Static method in class pulpcore.Assets
Gets an iterator of the names of all assets from all zip files stored in memory.
getAsStream(String) - Static method in class pulpcore.Assets
Gets an asset as an InputStream.
getBackBufferBlendMode() - Method in class pulpcore.sprite.Group
Gets this Group's blend mode for rendering onto its back buffer.
getBaseURL() - Static method in class pulpcore.CoreSystem
 
getBehavior() - Method in class pulpcore.animation.Property
Gets the behavior for this property, or null if this property currently does not have a behavior.
getBlendMode() - Method in class pulpcore.image.CoreGraphics
 
getBlendMode() - Method in class pulpcore.sprite.Sprite
 
getBlue(int) - Static method in class pulpcore.image.Colors
Gets the blue component of a 32-bit ARGB color.
getBoundary(int) - Method in class pulpcore.math.Rect
Returns the Rect.LEFT (x), Rect.TOP (y), Rect.RIGHT (x + width - 1), or Rect.BOTTOM (y + height - 1) boundary of this rectangle.
getBounds(int, int, Rect) - Method in class pulpcore.math.Transform
Gets the integer bounds.
getBounds(int, int) - Method in class pulpcore.math.Transform
Gets the fixed-point bounds.
getBrightness(int) - Static method in class pulpcore.image.Colors
Gets the brightness of a 32-bit ARGB color.
getBrokenImage() - Static method in class pulpcore.image.CoreImage
Gets the "broken" image, which is the image the system may use when a specified image could not be loaded.
getBrowserName() - Static method in class pulpcore.CoreSystem
Returns the name of the web browser, or null if the browser name could not be determined.
getBrowserVersion() - Static method in class pulpcore.CoreSystem
Returns the version of the web browser, or null if the browser version could not be determined.
getByteOrder() - Method in class pulpcore.util.ByteArray
Gets the current byte order for reading or writing data.
getBytesRead() - Method in class pulpcore.net.Download
Returns the number of bytes downloaded.
getCaretPosition() - Method in class pulpcore.sprite.TextField
 
getCatalogs() - Static method in class pulpcore.Assets
Gets an iterator of catalog names (zip files) stored in memory.
getCharPosition(String, int, int) - Method in class pulpcore.image.CoreFont
 
getCharWidth(char) - Method in class pulpcore.image.CoreFont
Gets the width of the specified character.
getClip() - Method in class pulpcore.image.CoreGraphics
Gets the current clip as a newly allocated Rect.
getClip(Rect) - Method in class pulpcore.image.CoreGraphics
Copies the current clip into the specified Rect.
getClipboardText() - Static method in class pulpcore.CoreSystem
Returns the text currently in the clipboard.
getClipHeight() - Method in class pulpcore.image.CoreGraphics
 
getClipWidth() - Method in class pulpcore.image.CoreGraphics
 
getClipX() - Method in class pulpcore.image.CoreGraphics
 
getClipY() - Method in class pulpcore.image.CoreGraphics
 
getColor() - Method in class pulpcore.image.CoreGraphics
Returns the current color in ARGB format.
getCursor() - Static method in class pulpcore.Input
 
getCursor() - Method in class pulpcore.scene.Scene2D
Gets the cursor for this Scene.
getCursor() - Method in class pulpcore.sprite.Sprite
Gets the cursor for this Sprite.
getData() - Method in class pulpcore.image.CoreImage
Gets the underlying raster data array.
getData() - Method in class pulpcore.net.Download
 
getData() - Method in class pulpcore.util.ByteArray
Gets the current underlying data array.
getDefaultTransform() - Static method in class pulpcore.Stage
 
getDeterminant() - Method in class pulpcore.math.Transform
 
getDirtyRect() - Method in class pulpcore.sprite.Sprite
For dirty rectangles - most apps will not need ot call this method directly.
getDuration() - Method in class pulpcore.animation.Animation
 
getDuration() - Method in class pulpcore.image.AnimatedImage
Gets the total duration of this AnimatedImage.
getDuration(int) - Method in class pulpcore.image.AnimatedImage
Gets the duration of the specified virtual frame.
getDuration() - Method in class pulpcore.sound.Sound
Gets the duration of this clip in milliseconds.
getEasing() - Method in class pulpcore.animation.Animation
 
getEndX() - Method in class pulpcore.math.Path
 
getEndY() - Method in class pulpcore.math.Path
 
getEstimatedTimeRemaining() - Method in class pulpcore.net.Download
 
getExtent() - Method in class pulpcore.sprite.Slider
Gets the extent (inner range) of the internal data model of this Slider.
getFont() - Method in class pulpcore.image.CoreGraphics
 
getFont() - Method in class pulpcore.sprite.Label
 
getFractionalMetrics() - Method in class pulpcore.image.CoreGraphics
 
getFrame() - Method in class pulpcore.image.AnimatedImage
Gets the current frame.
getFramePosition() - Method in class pulpcore.sound.Playback
Gets the current playback position in frames.
getFrameRate() - Static method in class pulpcore.Stage
Gets the current desired frame rate in frames per second.
getFromValue() - Method in class pulpcore.animation.Tween
 
getGreen(int) - Static method in class pulpcore.image.Colors
Gets the green component of a 32-bit ARGB color.
getHeight() - Method in class pulpcore.image.CoreFont
 
getHeight() - Method in class pulpcore.image.CoreImage
Gets the height of the image.
getHeight() - Static method in class pulpcore.Stage
 
getHotspotX() - Method in class pulpcore.image.CoreImage
Gets the x component of the hotspot.
getHotspotY() - Method in class pulpcore.image.CoreImage
Gets the y component of the hotspot.
getHue(int) - Static method in class pulpcore.image.Colors
Gets the hue of a 32-bit ARGB color.
getImage(int) - Method in class pulpcore.image.AnimatedImage
Gets the image for the specified virtual frame.
getImage() - Method in class pulpcore.image.CoreFont
 
getImage() - Method in class pulpcore.sprite.ImageSprite
Gets this ImageSprite's internal image.
getInfoOverlay() - Static method in class pulpcore.Stage
 
getInterpolation() - Method in class pulpcore.image.CoreGraphics
 
getIntersectionCode(Rect) - Method in class pulpcore.math.Rect
Determines which segments of the specified rectangle are completely or partially inside this rectangle.
getIntersectionCode(int, int, int, int) - Method in class pulpcore.math.Rect
Determines which segments of the specified rectangle are completely or partially inside this rectangle.
getJavaProperty(String) - Static method in class pulpcore.CoreSystem
Gets a Java system property.
getKerning(char, char) - Method in class pulpcore.image.CoreFont
 
getKeyBinding() - Method in class pulpcore.sprite.Button
Gets the key bindings for this button.
getLastException() - Method in class pulpcore.net.Download