Index

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

S

save(File, PrismDocument) - Static method in class com.catsoftware.engine.prism.io.PrismIO
Saves a Prism document to a file.
saveObjects(List<DrawableObject>, File) - Static method in class com.catsoftware.engine.prism.io.POBJIO
Saves a list of drawable objects to a file.
setAlpha(float) - Method in class com.catsoftware.engine.prism.draw.ImageObject
Sets the opacity level.
setAlpha(float) - Method in class com.catsoftware.engine.prism.draw.ShapeObject
Sets the opacity level.
setAlpha(float) - Method in class com.catsoftware.engine.prism.draw.StrokeObject
Sets the opacity level.
setAlpha(float) - Method in class com.catsoftware.engine.prism.draw.TextObject
Sets the opacity level.
setBrushSize(int) - Method in class com.catsoftware.engine.prism.draw.StrokeObject
Sets the brush size.
setCanvasHeight(int) - Method in class com.catsoftware.engine.prism.io.PrismDocument
 
setCanvasWidth(int) - Method in class com.catsoftware.engine.prism.io.PrismDocument
 
setColor(Color) - Method in class com.catsoftware.engine.prism.draw.ShapeObject
Sets the stroke color.
setColor(Color) - Method in class com.catsoftware.engine.prism.draw.StrokeObject
Sets the stroke color.
setColor(Color) - Method in class com.catsoftware.engine.prism.draw.TextObject
Sets the text color.
setFillColor(Color) - Method in class com.catsoftware.engine.prism.draw.ShapeObject
Sets the fill color.
setFilled(boolean) - Method in class com.catsoftware.engine.prism.draw.ShapeObject
Sets whether this shape is filled.
setFixedAnchor(Point) - Method in class com.catsoftware.engine.prism.draw.StrokeObject
Sets a fixed anchor point for resizing operations.
setFont(Font) - Method in class com.catsoftware.engine.prism.draw.TextObject
Sets the font.
setGradient(Color, Color, boolean) - Method in interface com.catsoftware.engine.prism.draw.DrawableObject
Applies a gradient fill to this object.
setGradient(Color, Color, boolean) - Method in class com.catsoftware.engine.prism.draw.ImageObject
 
setGradient(Color, Color, boolean) - Method in class com.catsoftware.engine.prism.draw.ShapeObject
Applies a gradient fill to this shape.
setGradient(Color, Color, boolean) - Method in class com.catsoftware.engine.prism.draw.StrokeObject
Sets a gradient (not supported for strokes - falls back to solid color).
setGradient(Color, Color, boolean) - Method in class com.catsoftware.engine.prism.draw.TextObject
Sets a gradient (not supported for text - falls back to solid color).
setGridEnabled(boolean) - Method in class com.catsoftware.engine.prism.io.PrismDocument
 
setImage(BufferedImage) - Method in class com.catsoftware.engine.prism.draw.ImageObject
Sets the image and prepares it for serialization.
setObjects(List<DrawableObject>) - Method in class com.catsoftware.engine.prism.io.PrismDocument
Sets the list of vector objects in this document.
setRasterHeight(int) - Method in class com.catsoftware.engine.prism.io.PrismDocument
 
setRasterPixels(int[]) - Method in class com.catsoftware.engine.prism.io.PrismDocument
Sets the raw pixel data of the raster image.
setRasterWidth(int) - Method in class com.catsoftware.engine.prism.io.PrismDocument
 
setRotation(double) - Method in interface com.catsoftware.engine.prism.draw.DrawableObject
Sets the rotation angle of this object.
setRotation(double) - Method in class com.catsoftware.engine.prism.draw.ImageObject
 
setRotation(double) - Method in class com.catsoftware.engine.prism.draw.ShapeObject
 
setRotation(double) - Method in class com.catsoftware.engine.prism.draw.StrokeObject
 
setRotation(double) - Method in class com.catsoftware.engine.prism.draw.TextObject
 
setStrokeSize(int) - Method in class com.catsoftware.engine.prism.draw.ShapeObject
Sets the stroke size.
setText(String) - Method in class com.catsoftware.engine.prism.draw.TextObject
Sets the text content.
ShapeObject - Class in com.catsoftware.engine.prism.draw
A vector shape object that can be drawn on the canvas.
ShapeObject(ShapeType, Rectangle, Color, int, float) - Constructor for class com.catsoftware.engine.prism.draw.ShapeObject
Creates a new shape object.
ShapeType - Enum Class in com.catsoftware.engine.prism.shapes
Enumeration of all available shape types in Prism.
SQUARE - Enum constant in enum class com.catsoftware.engine.prism.shapes.ShapeType
A four-sided polygon with equal angles
STAR - Enum constant in enum class com.catsoftware.engine.prism.shapes.ShapeType
A multi-pointed star shape
StrokeObject - Class in com.catsoftware.engine.prism.draw
A freehand stroke object that can be drawn on the canvas.
StrokeObject(List<Point>, Color, int, boolean, float) - Constructor for class com.catsoftware.engine.prism.draw.StrokeObject
Creates a new stroke object.
A B C D F G H I L M N O P R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form