- Canvas - Class in comp102x
-
The Canvas class provides method for showing images on a canvas area.
- Canvas() - Constructor for class comp102x.Canvas
-
Constructs and shows a canvas with size 800 x 600.
- Canvas(boolean) - Constructor for class comp102x.Canvas
-
Constructs a canvas with size 800 x 600 with an option to set it visible
or not.
- Canvas(int, int) - Constructor for class comp102x.Canvas
-
Constructs and shows a canvas with specific width and height.
- Canvas(int, int, boolean) - Constructor for class comp102x.Canvas
-
Constructs and shows a canvas with specific width and height.
- CanvasObject - Class in comp102x
-
The CanvasObject class is the base class for all objects that can be added to
the canvas.
- CanvasObject() - Constructor for class comp102x.CanvasObject
-
- ColorImage - Class in comp102x
-
The ColorImage class represents an image read from the file system.
- ColorImage() - Constructor for class comp102x.ColorImage
-
Constructs a ColorImage object by loading an image from the file system and re-scales it to fit the default canvas size.
- ColorImage(boolean) - Constructor for class comp102x.ColorImage
-
Constructs a ColorImage object by loading an image from the file system and re-scales it to fit the default canvas size if indicated.
- ColorImage(String) - Constructor for class comp102x.ColorImage
-
Constructs a ColorImage object by using a filename and re-scales it to fit the default canvas size.
- ColorImage(String, boolean) - Constructor for class comp102x.ColorImage
-
Constructs a ColorImage object by using a filename and re-scales it to fit the default canvas size if indicated.
- ColorImage(int, int) - Constructor for class comp102x.ColorImage
-
Constructs a blank white ColorImage object with a specify width and height.
- ColorImage(ColorImage) - Constructor for class comp102x.ColorImage
-
Constructs a copy of the given ColorImage object.
- comp102x - package comp102x
-
- convolve(float[][]) - Method in class comp102x.ColorImage
-
Convolves the ColorImage object with a specified kernel.
- createCyanImage() - Method in class comp102x.ColorImage
-
Creates a copy of this ColorImage object with the red channel removed.
- createRedImage() - Method in class comp102x.ColorImage
-
Creates a copy of this ColorImage object with the green and blue channel removed.