- save() - Method in class comp102x.ColorImage
-
Saves the color image to a .png image file.
- saveCanvasImage() - Method in class comp102x.Canvas
-
Save a snapshot of the canvas to an image with save file dialog.
- saveCanvasImage(String) - Method in class comp102x.Canvas
-
Save a snapshot of the canvas to an image with filename specified.
- setAlpha(int, int, int) - Method in class comp102x.ColorImage
-
Sets the value of alpha channel of a pixel.
- setBlue(int, int, int) - Method in class comp102x.ColorImage
-
Sets the value of blue channel of a pixel.
- setCanvas(Canvas) - Method in class comp102x.CanvasObject
-
- setColor(int, int, int) - Method in class comp102x.Text
-
Sets the color of the text.
- setComponentAtBottom(JComponent) - Method in class comp102x.Canvas
-
Adds a JComponent at the bottom of the canvas.
- setComponentAtTop(JComponent) - Method in class comp102x.Canvas
-
Adds a JComponent at the top of the canvas.
- setGreen(int, int, int) - Method in class comp102x.ColorImage
-
Sets the value of green channel of a pixel.
- setMovable(boolean) - Method in class comp102x.CanvasObject
-
Sets is the canvas object is movable.
- setRed(int, int, int) - Method in class comp102x.ColorImage
-
Sets the value of red channel of a pixel.
- setResizable(boolean) - Method in class comp102x.Canvas
-
Sets if the canvas is resizable.
- setRGB(int, int, int, int, int) - Method in class comp102x.ColorImage
-
Sets the RGB values of a pixel.
- setRotation(int) - Method in class comp102x.CanvasObject
-
Sets the degrees in clockwise rotation of the canvas object.
- setScale(double) - Method in class comp102x.CanvasObject
-
Sets the scale of the canvas object.
- setSize(int) - Method in class comp102x.Text
-
Sets the size of the text.
- setText(String) - Method in class comp102x.Text
-
Sets the content of the text.
- setVisible(boolean) - Method in class comp102x.Canvas
-
Sets if the canvas is visible.
- setX(int) - Method in class comp102x.CanvasObject
-
Sets the x position of the canvas object.
- setY(int) - Method in class comp102x.CanvasObject
-
Sets the y position of the canvas object.
- subtract(ColorImage) - Method in class comp102x.ColorImage
-
Subtracts another ColorImage object to this ColorImage object.
- subtract(int) - Method in class comp102x.ColorImage
-
Subtracts a value from all the RGB channels of this ColorImage object.
- subtract(ColorImage, ColorImage) - Static method in class comp102x.ColorImage
-
Subtracts a ColorImage object from another ColorImage object.