-
class
The BorderlessWindow class lets you create a borderless instance of a CodeDraw window and draw on it.
class
CodeDraw is a beginner-friendly drawing library which can be used to create pictures, animations and even interactive applications.
class
The Fullscreen class lets you create fullscreen application and draw on it.
Image.crop(Image source,
int x,
int y,
int width,
int height)
Creates a new image from the given image that only contains the specified section.
Converts a Base64 string to an image.
Creates a CodeDraw image with an up-scaled resolution.
Loads an image from the file system.
Loads images from the resource folder.
Loads an image file from the internet.
Mirrors the image horizontally.
Mirrors the image vertically.
Rotates the image clockwise.
Rotates the image counter-clockwise.
Increases or decreases the size of the image given as a parameter.
Increases or decreases the size of the image given as a parameter.
Image.crop(Image source,
int x,
int y,
int width,
int height)
Creates a new image from the given image that only contains the specified section.
void
This method is called in regular intervals to draw onto the canvas.
void
Image.drawImage(double x,
double y,
double width,
double height,
Image image)
Draws an image at the specified (x, y) coordinate.
void
Draws an image at the specified (x, y) coordinate.
void
Draws an image at the specified (x, y) coordinate.
Mirrors the image horizontally.
Mirrors the image vertically.
Rotates the image clockwise.
Rotates the image counter-clockwise.
static void
Saves the image to the specified location using the specified image format.
Increases or decreases the size of the image given as a parameter.
Increases or decreases the size of the image given as a parameter.
Shows the specified image in a borderless window fitting the size of the image.
Shows the specified image in a CodeDraw window fitting the size of the image.
Creates a new CursorStyle from an image.
Creates a new CursorStyle from an image.
Creates a copy of the image supplied as a parameter.