Index

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z 
All Classes and Interfaces|All Packages

A

A - Enum constant in enum class codedraw.Key
 
ACCEPT - Enum constant in enum class codedraw.Key
 
ADD - Enum constant in enum class codedraw.Key
 
afterDrawing() - Method in class codedraw.BorderlessWindow
 
afterDrawing() - Method in class codedraw.CodeDraw
 
afterDrawing() - Method in class codedraw.FullScreen
 
afterDrawing() - Method in class codedraw.Image
This method is called each time right after a shape is drawn.
AGAIN - Enum constant in enum class codedraw.Key
 
ALICE_BLUE - Static variable in class codedraw.Palette
 
ALL_CANDIDATES - Enum constant in enum class codedraw.Key
 
ALPHANUMERIC - Enum constant in enum class codedraw.Key
 
ALT - Enum constant in enum class codedraw.Key
 
ALT_GRAPH - Enum constant in enum class codedraw.Key
 
AMPERSAND - Enum constant in enum class codedraw.Key
 
Animation - Interface in codedraw
The animation interface can be implemented to create animations and interactive applications.
ANTIQUE_WHITE - Static variable in class codedraw.Palette
 
AQUA - Static variable in class codedraw.Palette
This color is a synonym for Palette.BLUE.
AQUAMARINE - Static variable in class codedraw.Palette
 
arcTo(double, double, double) - Method in class codedraw.Path
Draws an arc with the center being the (centerX, centerY) coordinates.
ASTERISK - Enum constant in enum class codedraw.Key
 
AT - Enum constant in enum class codedraw.Key
 
AZURE - Static variable in class codedraw.Palette
 

B

B - Enum constant in enum class codedraw.Key
 
BACK_QUOTE - Enum constant in enum class codedraw.Key
 
BACK_SLASH - Enum constant in enum class codedraw.Key
 
BACK_SPACE - Enum constant in enum class codedraw.Key
 
beforeDrawing() - Method in class codedraw.Image
This method is called each time right before a shape is drawn.
BEGIN - Enum constant in enum class codedraw.Key
 
BEIGE - Static variable in class codedraw.Palette
 
BEVEL - Enum constant in enum class codedraw.Corner
All corners of drawn and filled shapes such as rectangles will be 'cut off' or bevel.
bezierTo(double, double, double, double, double, double) - Method in class codedraw.Path
Draws a cubic Bézier curve.
BICUBIC - Enum constant in enum class codedraw.Interpolation
Bicubic interpolation interpolates pixel using a cubic equation.
BILINEAR - Enum constant in enum class codedraw.Interpolation
Bilinear interpolation interpolates pixel values via linear equations.
BISQUE - Static variable in class codedraw.Palette
 
BLACK - Static variable in class codedraw.Palette
 
BLANCHED_ALMOND - Static variable in class codedraw.Palette
 
BLUE - Static variable in class codedraw.Palette
This color is a synonym for Palette.AQUA.
BLUE_VIOLET - Static variable in class codedraw.Palette
 
BMP - Enum constant in enum class codedraw.ImageFormat
Does not support transparency.
BorderlessWindow - Class in codedraw
The BorderlessWindow class lets you create a borderless instance of a CodeDraw window and draw on it.
BorderlessWindow() - Constructor for class codedraw.BorderlessWindow
Creates a borderless window of size 600x600.
BorderlessWindow(int, int) - Constructor for class codedraw.BorderlessWindow
Creates a borderless window of the specified size.
BOTTOM_LEFT - Enum constant in enum class codedraw.TextOrigin
The origin will be to the bottom left of the text.
BOTTOM_MIDDLE - Enum constant in enum class codedraw.TextOrigin
The origin will be to the bottom center of the text.
BOTTOM_RIGHT - Enum constant in enum class codedraw.TextOrigin
The origin will be to the bottom right of the text.
BRACE_LEFT - Enum constant in enum class codedraw.Key
 
BRACE_RIGHT - Enum constant in enum class codedraw.Key
 
BROWN - Static variable in class codedraw.Palette
 
BufferedImageType - Enum Class in codedraw
Describes the image type as defined in BufferedImage.
BURLY_WOOD - Static variable in class codedraw.Palette
 
BUTTON_10 - Enum constant in enum class codedraw.MouseButton
 
BUTTON_11 - Enum constant in enum class codedraw.MouseButton
 
BUTTON_12 - Enum constant in enum class codedraw.MouseButton
 
BUTTON_13 - Enum constant in enum class codedraw.MouseButton
 
BUTTON_14 - Enum constant in enum class codedraw.MouseButton
 
BUTTON_15 - Enum constant in enum class codedraw.MouseButton
 
BUTTON_16 - Enum constant in enum class codedraw.MouseButton
 
BUTTON_17 - Enum constant in enum class codedraw.MouseButton
 
BUTTON_18 - Enum constant in enum class codedraw.MouseButton
 
BUTTON_4 - Enum constant in enum class codedraw.MouseButton
 
BUTTON_5 - Enum constant in enum class codedraw.MouseButton
 
BUTTON_6 - Enum constant in enum class codedraw.MouseButton
 
BUTTON_7 - Enum constant in enum class codedraw.MouseButton
 
BUTTON_8 - Enum constant in enum class codedraw.MouseButton
 
BUTTON_9 - Enum constant in enum class codedraw.MouseButton
 
BYTE_BINARY - Enum constant in enum class codedraw.BufferedImageType
 
BYTE_GRAY - Enum constant in enum class codedraw.BufferedImageType
 
BYTE_INDEXED - Enum constant in enum class codedraw.BufferedImageType
 

C

C - Enum constant in enum class codedraw.Key
 
CADET_BLUE - Static variable in class codedraw.Palette
 
CANCEL - Enum constant in enum class codedraw.Key
 
CAPS_LOCK - Enum constant in enum class codedraw.Key
 
CENTER - Enum constant in enum class codedraw.TextOrigin
The origin will be exactly at the center of the text.
CENTER_LEFT - Enum constant in enum class codedraw.TextOrigin
The origin will be to the center left of the text.
CENTER_RIGHT - Enum constant in enum class codedraw.TextOrigin
The origin will be to the center right of the text.
CHARTREUSE - Static variable in class codedraw.Palette
 
CHOCOLATE - Static variable in class codedraw.Palette
 
CIRCUMFLEX - Enum constant in enum class codedraw.Key
 
clear() - Method in class codedraw.Image
Colors the whole canvas in white.
clear(Color) - Method in class codedraw.Image
Colors the whole canvas in the color given as a parameter.
CLEAR - Enum constant in enum class codedraw.Key
 
close() - Method in class codedraw.BorderlessWindow
Closes the window and disposes all resources associated with this instance.
close() - Method in class codedraw.CodeDraw
Closes the window and disposes all resources associated with this instance.
close() - Method in class codedraw.FullScreen
Closes the window and disposes all resources associated with this instance.
CLOSE_BRACKET - Enum constant in enum class codedraw.Key
 
CODE_INPUT - Enum constant in enum class codedraw.Key
 
codedraw - package codedraw
 
CodeDraw - Class in codedraw
CodeDraw is a beginner-friendly drawing library which can be used to create pictures, animations and even interactive applications.
CodeDraw() - Constructor for class codedraw.CodeDraw
Creates a canvas with size 600x600 pixels.
CodeDraw(int, int) - Constructor for class codedraw.CodeDraw
Creates a canvas with the specified size.
COLON - Enum constant in enum class codedraw.Key
 
combine(Animation...) - Static method in interface codedraw.Animation
Multiple animations can be combined into a single animation.
COMMA - Enum constant in enum class codedraw.Key
 
complete() - Method in class codedraw.Path
Completes the shapes by connecting the start point with the last position of this path.
COMPOSE - Enum constant in enum class codedraw.Key
 
CONTEXT_MENU - Enum constant in enum class codedraw.Key
 
CONTROL - Enum constant in enum class codedraw.Key
 
CONVERT - Enum constant in enum class codedraw.Key
 
COPY - Enum constant in enum class codedraw.Key
 
copyTo(Graphics, Interpolation) - Method in class codedraw.Image
Copies this image onto the graphics object.
CORAL - Static variable in class codedraw.Palette
 
Corner - Enum Class in codedraw
Defines how the corners of drawn shapes should look like.
CORNFLOWER_BLUE - Static variable in class codedraw.Palette
 
CORNSILK - Static variable in class codedraw.Palette
 
CRIMSON - Static variable in class codedraw.Palette
 
crop(Image, int, int, int, int) - Static method in class codedraw.Image
Creates a new image from the given image that only contains the specified section.
CROSS_HAIR - Static variable in class codedraw.CursorStyle
 
CursorStyle - Class in codedraw
CursorStyle is used to specify how the cursor looks like when hovering over the CodeDraw canvas.
CursorStyle(Image) - Constructor for class codedraw.CursorStyle
Creates a new CursorStyle from an image.
CursorStyle(Image, int, int) - Constructor for class codedraw.CursorStyle
Creates a new CursorStyle from an image.
curveTo(double, double, double, double) - Method in class codedraw.Path
Draws a quadratic Bézier curve.
CUSTOM - Enum constant in enum class codedraw.BufferedImageType
 
CUT - Enum constant in enum class codedraw.Key
 
CYAN - Static variable in class codedraw.Palette
 

D

D - Enum constant in enum class codedraw.Key
 
DARK_BLUE - Static variable in class codedraw.Palette
 
DARK_CYAN - Static variable in class codedraw.Palette
 
DARK_GOLDEN_ROD - Static variable in class codedraw.Palette
 
DARK_GRAY - Static variable in class codedraw.Palette
This color differs from Color.DARK_GRAY Note that this color does not match CSS dark gray but instead matches CSS gray.
DARK_GREEN - Static variable in class codedraw.Palette
 
DARK_KHAKI - Static variable in class codedraw.Palette
 
DARK_MAGENTA - Static variable in class codedraw.Palette
 
DARK_OLIVE_GREEN - Static variable in class codedraw.Palette
 
DARK_ORANGE - Static variable in class codedraw.Palette
 
DARK_ORCHID - Static variable in class codedraw.Palette
 
DARK_RED - Static variable in class codedraw.Palette
 
DARK_SALMON - Static variable in class codedraw.Palette
 
DARK_SEA_GREEN - Static variable in class codedraw.Palette
 
DARK_SLATE_BLUE - Static variable in class codedraw.Palette
 
DARK_SLATE_GRAY - Static variable in class codedraw.Palette
 
DARK_TURQUOISE - Static variable in class codedraw.Palette
 
DARK_VIOLET - Static variable in class codedraw.Palette
 
DASHED - Enum constant in enum class codedraw.Underline
A dashed line will be drawn below the text.
DEAD_ABOVE_DOT - Enum constant in enum class codedraw.Key
 
DEAD_ABOVE_RING - Enum constant in enum class codedraw.Key
 
DEAD_ACUTE - Enum constant in enum class codedraw.Key
 
DEAD_BREVE - Enum constant in enum class codedraw.Key
 
DEAD_CARON - Enum constant in enum class codedraw.Key
 
DEAD_CEDILLA - Enum constant in enum class codedraw.Key
 
DEAD_CIRCUMFLEX - Enum constant in enum class codedraw.Key
 
DEAD_DIAERESIS - Enum constant in enum class codedraw.Key
 
DEAD_DOUBLE_ACUTE - Enum constant in enum class codedraw.Key
 
DEAD_GRAVE - Enum constant in enum class codedraw.Key
 
DEAD_IOTA - Enum constant in enum class codedraw.Key
 
DEAD_MACRON - Enum constant in enum class codedraw.Key
 
DEAD_OGONEK - Enum constant in enum class codedraw.Key
 
DEAD_SEMI_VOICED_SOUND - Enum constant in enum class codedraw.Key
 
DEAD_TILDE - Enum constant in enum class codedraw.Key
 
DEAD_VOICED_SOUND - Enum constant in enum class codedraw.Key
 
DECIMAL - Enum constant in enum class codedraw.Key
 
DEEP_PINK - Static variable in class codedraw.Palette
 
DEEP_SKY_BLUE - Static variable in class codedraw.Palette
 
DEFAULT - Static variable in class codedraw.CursorStyle
 
DELETE - Enum constant in enum class codedraw.Key
 
DIM_GRAY - Static variable in class codedraw.Palette
 
DIVIDE - Enum constant in enum class codedraw.Key
 
DODGER_BLUE - Static variable in class codedraw.Palette
 
DOLLAR - Enum constant in enum class codedraw.Key
 
DOTTED - Enum constant in enum class codedraw.Underline
A dotted line will be drawn below the text.
DOWN - Enum constant in enum class codedraw.Key
 
draw(Image) - Method in interface codedraw.Animation
This method is called in regular intervals to draw onto the canvas.
drawArc(double, double, double, double, double) - Method in class codedraw.Image
Draws an arc with the center being the (centerX, centerY) coordinates.
drawArc(double, double, double, double, double, double) - Method in class codedraw.Image
Draws an arc with the center being the (centerX, centerY) coordinates.
drawBezier(double, double, double, double, double, double, double, double) - Method in class codedraw.Image
Draws a cubic Bézier curve.
drawCircle(double, double, double) - Method in class codedraw.Image
Draws the outline of a circle.
drawCurve(double, double, double, double, double, double) - Method in class codedraw.Image
Draws a quadratic Bézier curve.
drawEllipse(double, double, double, double) - Method in class codedraw.Image
Draws the outline of an ellipse.
drawImage(double, double, double, double, Image) - Method in class codedraw.Image
Draws an image at the specified (x, y) coordinate.
drawImage(double, double, double, double, Image, Interpolation) - Method in class codedraw.Image
Draws an image at the specified (x, y) coordinate.
drawImage(double, double, Image) - Method in class codedraw.Image
Draws an image at the specified (x, y) coordinate.
drawLine(double, double, double, double) - Method in class codedraw.Image
Draws a straight line between the start point and end point.
drawOver() - Method in class codedraw.Image
Defines the way new pixels are drawn over already existing pixels.
drawPathStartingAt(double, double) - Method in class codedraw.Image
Starts a path from the starting position specified in this method.
drawPie(double, double, double, double, double) - Method in class codedraw.Image
Draws the outline of a pie with the center being the (centerX, centerY) coordinates.
drawPie(double, double, double, double, double, double) - Method in class codedraw.Image
Draws the outline of a pie with the center being the (centerX, centerY) coordinates.
drawPoint(double, double) - Method in class codedraw.Image
Draws a point.
drawPolygon(double[]) - Method in class codedraw.Image
Draws the outline of a polygon.
drawPolygon(double, double, double, double, double...) - Method in class codedraw.Image
Draws the outline of a polygon.
drawRectangle(double, double, double, double) - Method in class codedraw.Image
Draws the outline of a rectangle.
drawSquare(double, double, double) - Method in class codedraw.Image
Draws the outline of a square.
drawText(double, double, String) - Method in class codedraw.Image
Draws the text at the specified (x, y) coordinate.
drawTriangle(double, double, double, double, double, double) - Method in class codedraw.Image
Draws the outline of a triangle.

E

E - Enum constant in enum class codedraw.Key
 
EAST_RESIZE - Static variable in class codedraw.CursorStyle
 
END - Enum constant in enum class codedraw.Key
 
ENTER - Enum constant in enum class codedraw.Key
 
equals(Matrix2D, double) - Method in class codedraw.Matrix2D
Compares this matrix to the matrix given as a parameter.
equals(Object) - Method in class codedraw.CursorStyle
 
equals(Object) - Method in class codedraw.Matrix2D
 
equals(Object) - Method in class codedraw.Point2D
 
equals(Object) - Method in class codedraw.Screen
 
equals(Object) - Method in class codedraw.TextFormat
 
EQUALS - Enum constant in enum class codedraw.Key
 
ESCAPE - Enum constant in enum class codedraw.Key
 
EURO_SIGN - Enum constant in enum class codedraw.Key
 
Event - Class in codedraw
Represents an abstract super type of the event classes in CodeDraw.
EventScanner - Class in codedraw
The EventScanner can be used to handle events that are produced in CodeDraw.
EXCLAMATION_MARK - Enum constant in enum class codedraw.Key
 

F

F - Enum constant in enum class codedraw.Key
 
F1 - Enum constant in enum class codedraw.Key
 
F10 - Enum constant in enum class codedraw.Key
 
F11 - Enum constant in enum class codedraw.Key
 
F12 - Enum constant in enum class codedraw.Key
 
F13 - Enum constant in enum class codedraw.Key
 
F14 - Enum constant in enum class codedraw.Key
 
F15 - Enum constant in enum class codedraw.Key
 
F16 - Enum constant in enum class codedraw.Key
 
F17 - Enum constant in enum class codedraw.Key
 
F18 - Enum constant in enum class codedraw.Key
 
F19 - Enum constant in enum class codedraw.Key
 
F2 - Enum constant in enum class codedraw.Key
 
F20 - Enum constant in enum class codedraw.Key
 
F21 - Enum constant in enum class codedraw.Key
 
F22 - Enum constant in enum class codedraw.Key
 
F23 - Enum constant in enum class codedraw.Key
 
F24 - Enum constant in enum class codedraw.Key
 
F3 - Enum constant in enum class codedraw.Key
 
F4 - Enum constant in enum class codedraw.Key
 
F5 - Enum constant in enum class codedraw.Key
 
F6 - Enum constant in enum class codedraw.Key
 
F7 - Enum constant in enum class codedraw.Key
 
F8 - Enum constant in enum class codedraw.Key
 
F9 - Enum constant in enum class codedraw.Key
 
fillCircle(double, double, double) - Method in class codedraw.Image
Draws a filled circle.
fillEllipse(double, double, double, double) - Method in class codedraw.Image
Draws a filled ellipse.
fillPathStartingAt(double, double) - Method in class codedraw.Image
Starts a path from the starting position specified in this method.
fillPie(double, double, double, double, double) - Method in class codedraw.Image
Draws a filled pie with the center being the (centerX, centerY) coordinates.
fillPie(double, double, double, double, double, double) - Method in class codedraw.Image
Draws a filled pie with the center being the (centerX, centerY) coordinates.
fillPolygon(double[]) - Method in class codedraw.Image
Draws a filled polygon.
fillPolygon(double, double, double, double, double, double, double...) - Method in class codedraw.Image
Draws a filled polygon.
fillRectangle(double, double, double, double) - Method in class codedraw.Image
Draws a filled rectangle.
fillSquare(double, double, double) - Method in class codedraw.Image
Draws a filled square.
fillTriangle(double, double, double, double, double, double) - Method in class codedraw.Image
Draws a filled triangle.
FINAL - Enum constant in enum class codedraw.Key
 
FIND - Enum constant in enum class codedraw.Key
 
FIRE_BRICK - Static variable in class codedraw.Palette
 
FLORAL_WHITE - Static variable in class codedraw.Palette
 
FOREST_GREEN - Static variable in class codedraw.Palette
 
FOUR_BYTE_ABGR - Enum constant in enum class codedraw.BufferedImageType
 
FOUR_BYTE_ABGR_PRE - Enum constant in enum class codedraw.BufferedImageType
 
fromBase64String(String) - Static method in class codedraw.Image
Converts a Base64 string to an image.
fromBaseColor(Color, int) - Static method in class codedraw.Palette
Creates a new color based on the base color but with a different transparency value.
fromColumnMajor(double[][]) - Static method in class codedraw.Matrix2D
Creates a new matrix from a 3x3 column major matrix.
fromColumnMajor(double, double, double, double, double, double, double, double, double) - Static method in class codedraw.Matrix2D
Creates a new matrix from a 3x3 column major matrix.
fromDPIAwareSize(int, int) - Static method in class codedraw.Image
Creates a CodeDraw image with an up-scaled resolution.
fromFile(String) - Static method in class codedraw.Image
Loads an image from the file system.
fromGrayscale(int) - Static method in class codedraw.Palette
Creates a grayscale color where its color component red, green and blue all have the same value. 0 is white, 255 is black and 128 would be gray.
fromHSV(int, int, int) - Static method in class codedraw.Palette
Converts a color from the HSV color space to the RGB color space.
fromResource(String) - Static method in class codedraw.Image
Loads images from the resource folder.
fromRGB(int) - Static method in class codedraw.Palette
Creates an RGBA color with the alpha implicitly being 255.
fromRGB(int, int, int) - Static method in class codedraw.Palette
Creates an RGBA color with the alpha implicitly being 255. 0 is no color or black and 255 is maximum amount of color.
fromRGBA(int) - Static method in class codedraw.Palette
Creates an RGBA color.
fromRGBA(int, int, int, int) - Static method in class codedraw.Palette
Creates an RGBA color. 0 is no color or black and 255 is the maximum amount of color.
fromRowMajor(double[][]) - Static method in class codedraw.Matrix2D
Creates a new matrix from a 3x3 row major matrix.
fromRowMajor(double, double, double, double, double, double, double, double, double) - Static method in class codedraw.Matrix2D
Creates a new matrix from a 3x3 row major matrix.
fromUrl(String) - Static method in class codedraw.Image
Loads an image file from the internet.
FUCHSIA - Static variable in class codedraw.Palette
This color is a synonym for Palette.MAGENTA.
FULL_WIDTH - Enum constant in enum class codedraw.Key
 
FullScreen - Class in codedraw
The Fullscreen class lets you create fullscreen application and draw on it.
FullScreen() - Constructor for class codedraw.FullScreen
Creates a full screen CodeDraw window on your default screen.
FullScreen(Screen) - Constructor for class codedraw.FullScreen
Creates a full screen CodeDraw window on the specified screen.

G

G - Enum constant in enum class codedraw.Key
 
GAINSBORO - Static variable in class codedraw.Palette
 
get(int, int) - Method in class codedraw.Matrix2D
Gets a value from this matrix.
getAllAvailableFontNames() - Static method in class codedraw.TextFormat
Creates a list of available fonts on the current system.
getAllScreens() - Static method in class codedraw.Screen
Creates a list of all attached screens of this computer.
getCanvasPositionX() - Method in class codedraw.CodeDraw
Gets the distance in pixel from the top left corner of the default screen to the top left corner of the CodeDraw canvas.
getCanvasPositionX() - Method in class codedraw.WindowMoveEvent
Gets the distance in pixel from the top left corner of the screen to the top left corner of CodeDraw canvas.
getCanvasPositionY() - Method in class codedraw.CodeDraw
Gets the distance in pixel from the top left corner of the default screen to the top left corner of the CodeDraw canvas.
getCanvasPositionY() - Method in class codedraw.WindowMoveEvent
Gets the distance in pixel from the top left corner of the screen to the top left corner of CodeDraw canvas.
getChar() - Method in class codedraw.KeyDownEvent
Gets the character representation of the key that was pressed.
getChar() - Method in class codedraw.KeyPressEvent
Gets the character representation of the key that was pressed.
getChar() - Method in class codedraw.KeyUpEvent
Gets the character representation of the key that was pressed.
getColor() - Method in class codedraw.Image
Defines the color that is used for drawing all shapes.
getCorner() - Method in class codedraw.Image
Defines how the corners of drawn shapes should look.
getCornerRadius() - Method in class codedraw.Image
getCurrentX() - Method in class codedraw.Path
Gets the current position of the path.
getCurrentY() - Method in class codedraw.Path
Gets the current position of the path.
getCursorStyle() - Method in class codedraw.BorderlessWindow
Defines the style of the cursor while hovering over the CodeDraw canvas.
getCursorStyle() - Method in class codedraw.CodeDraw
Defines the style of the cursor while hovering over the CodeDraw canvas.
getCursorStyle() - Method in class codedraw.FullScreen
Defines the style of the cursor while hovering over the CodeDraw canvas.
getDefaultScreen() - Static method in class codedraw.Screen
Returns the default screen of this computer.
getEventScanner() - Method in class codedraw.BorderlessWindow
Gets the EventScanner of this CodeDraw window.
getEventScanner() - Method in class codedraw.CodeDraw
Gets the EventScanner of this CodeDraw window.
getEventScanner() - Method in class codedraw.FullScreen
Gets the EventScanner of this CodeDraw window.
getExtendedKeyCode() - Method in class codedraw.KeyDownEvent
Returns the key code of the key pressed.
getExtendedKeyCode() - Method in class codedraw.KeyPressEvent
Returns the key code of the key pressed.
getExtendedKeyCode() - Method in class codedraw.KeyUpEvent
Returns the key code of the key pressed.
getFontName() - Method in class codedraw.TextFormat
Defines the font of the drawn text.
getFontSize() - Method in class codedraw.TextFormat
Defines the font size of the drawn text.
getHeight() - Method in class codedraw.Image
The height of this image.
getHeight() - Method in class codedraw.Screen
The height in pixels of this monitor.
getKey() - Method in class codedraw.KeyDownEvent
Gets the key that was pressed to trigger the event.
getKey() - Method in class codedraw.KeyPressEvent
Gets the key that was pressed to trigger the event.
getKey() - Method in class codedraw.KeyUpEvent
Gets the key that was pressed to trigger the event.
getLineWidth() - Method in class codedraw.Image
Defines the width or thickness of drawn shapes and lines.
getMouseButton() - Method in class codedraw.MouseClickEvent
Gets the type of mouse button that was pressed to trigger the event.
getMouseButton() - Method in class codedraw.MouseDownEvent
Gets the type of mouse button that was pressed to trigger the event.
getMouseButton() - Method in class codedraw.MouseUpEvent
Gets the type of mouse button that was pressed to trigger the event.
getName() - Method in class codedraw.Screen
The name of this monitor.
getPixel(int, int) - Method in class codedraw.Image
Returns the pixel color at the specified location.
getScreen() - Method in class codedraw.FullScreen
Gets the screen the full screen window is currently displayed on.
getTextFormat() - Method in class codedraw.Image
Defines the styling of drawn text.
getTextOrigin() - Method in class codedraw.TextFormat
Defines the origin of the drawn text relative to the position specified in the Image.drawText(double, double, String) method.
getTimeCreated() - Method in class codedraw.Event
Gets the point in time when this event was created.
getTitle() - Method in class codedraw.BorderlessWindow
The title is the description displayed in many places on your operating system.
getTitle() - Method in class codedraw.CodeDraw
The title is the text displayed in the top left corner of the CodeDraw window.
getTitle() - Method in class codedraw.FullScreen
The title is the description displayed in many places on your operating system.
getTransformation() - Method in class codedraw.Image
Gets the currently applied transformation of this image.
getUnderline() - Method in class codedraw.TextFormat
Defines the underline styling of the drawn text.
getWheelRotation() - Method in class codedraw.MouseWheelEvent
Returns the amount of wheel rotation.
getWidth() - Method in class codedraw.Image
The width of this image.
getWidth() - Method in class codedraw.Screen
The width in pixels of this monitor.
getWindowPositionX() - Method in class codedraw.BorderlessWindow
Gets the distance in pixel from the top left corner of the default screen to the top left corner of the borderless window.
getWindowPositionX() - Method in class codedraw.CodeDraw
Gets the distance in pixel from the top left corner of the default screen to the top left corner of the CodeDraw window.
getWindowPositionX() - Method in class codedraw.FullScreen
Gets the distance in pixel from the top left corner of the default screen to the top left corner of the fullscreen window.
getWindowPositionX() - Method in class codedraw.WindowMoveEvent
Gets the distance in pixel from the top left corner of the screen to the top left corner of CodeDraw window.
getWindowPositionY() - Method in class codedraw.BorderlessWindow
Gets the distance in pixel from the top left corner of the default screen to the top left corner of the borderless window.
getWindowPositionY() - Method in class codedraw.CodeDraw
Gets the distance in pixel from the top left corner of the default screen to the top left corner of the CodeDraw window.
getWindowPositionY() - Method in class codedraw.FullScreen
Gets the distance in pixel from the top left corner of the default screen to the top left corner of the fullscreen window.
getWindowPositionY() - Method in class codedraw.WindowMoveEvent
Gets the distance in pixel from the top left corner of the screen to the top left corner of CodeDraw window.
getX() - Method in class codedraw.MouseClickEvent
Gets the distance in pixel from the left side of the canvas to the mouse.
getX() - Method in class codedraw.MouseDownEvent
Gets the distance in pixel from the left side of the canvas to the mouse.
getX() - Method in class codedraw.MouseEnterEvent
Gets the distance in pixel from the left side of the canvas to the mouse.
getX() - Method in class codedraw.MouseLeaveEvent
Gets the distance in pixel from the left side of the canvas to the mouse.
getX() - Method in class codedraw.MouseMoveEvent
Gets the distance in pixel from the left side of the canvas to the mouse.
getX() - Method in class codedraw.MouseUpEvent
Gets the distance in pixel from the left side of the canvas to the mouse.
getX() - Method in class codedraw.Point2D
The x component of the point.
getY() - Method in class codedraw.MouseClickEvent
Gets the distance in pixel from the top side of the canvas to the mouse.
getY() - Method in class codedraw.MouseDownEvent
Gets the distance in pixel from the top side of the canvas to the mouse.
getY() - Method in class codedraw.MouseEnterEvent
Gets the distance in pixel from the top side of the canvas to the mouse.
getY() - Method in class codedraw.MouseLeaveEvent
Gets the distance in pixel from the top side of the canvas to the mouse.
getY() - Method in class codedraw.MouseMoveEvent
Gets the distance in pixel from the top side of the canvas to the mouse.
getY() - Method in class codedraw.MouseUpEvent
Gets the distance in pixel from the top side of the canvas to the mouse.
getY() - Method in class codedraw.Point2D
The y component of the point.
GHOST_WHITE - Static variable in class codedraw.Palette
 
GIF - Enum constant in enum class codedraw.ImageFormat
 
GOLD - Static variable in class codedraw.Palette
 
GOLDEN_ROD - Static variable in class codedraw.Palette
 
GRAY - Static variable in class codedraw.Palette
This color differs from Color.GRAY.
GREATER - Enum constant in enum class codedraw.Key
 
GREEN - Static variable in class codedraw.Palette
This color differs from Color.GREEN.
GREEN_YELLOW - Static variable in class codedraw.Palette
 

H

H - Enum constant in enum class codedraw.Key
 
HALF_WIDTH - Enum constant in enum class codedraw.Key
 
HAND - Static variable in class codedraw.CursorStyle
 
hasEvent() - Method in class codedraw.EventScanner
Waits until the next event is available or returns immediately if there is an event in the EventScanner already.
hasEventNow() - Method in class codedraw.EventScanner
Compared to EventScanner.hasEvent() this method does not wait until the next event is available, but instead returns immediately.
hashCode() - Method in class codedraw.CursorStyle
 
hashCode() - Method in class codedraw.Matrix2D
 
hashCode() - Method in class codedraw.Point2D
 
hashCode() - Method in class codedraw.Screen
 
hashCode() - Method in class codedraw.TextFormat
 
hasKeyDownEvent() - Method in class codedraw.EventScanner
Waits until the next event is available or returns immediately if there is an event in the EventScanner already.
hasKeyPressEvent() - Method in class codedraw.EventScanner
Waits until the next event is available or returns immediately if there is an event in the EventScanner already.
hasKeyUpEvent() - Method in class codedraw.EventScanner
Waits until the next event is available or returns immediately if there is an event in the EventScanner already.
hasMouseClickEvent() - Method in class codedraw.EventScanner
Waits until the next event is available or returns immediately if there is an event in the EventScanner already.
hasMouseDownEvent() - Method in class codedraw.EventScanner
Waits until the next event is available or returns immediately if there is an event in the EventScanner already.
hasMouseEnterEvent() - Method in class codedraw.EventScanner
Waits until the next event is available or returns immediately if there is an event in the EventScanner already.
hasMouseLeaveEvent() - Method in class codedraw.EventScanner
Waits until the next event is available or returns immediately if there is an event in the EventScanner already.
hasMouseMoveEvent() - Method in class codedraw.EventScanner
Waits until the next event is available or returns immediately if there is an event in the EventScanner already.
hasMouseUpEvent() - Method in class codedraw.EventScanner
Waits until the next event is available or returns immediately if there is an event in the EventScanner already.
hasMouseWheelEvent() - Method in class codedraw.EventScanner
Waits until the next event is available or returns immediately if there is an event in the EventScanner already.
hasWindowCloseEvent() - Method in class codedraw.EventScanner
Waits until the next event is available or returns immediately if there is an event in the EventScanner already.
hasWindowMoveEvent() - Method in class codedraw.EventScanner
Waits until the next event is available or returns immediately if there is an event in the EventScanner already.
HELP - Enum constant in enum class codedraw.Key
 
HIRAGANA - Enum constant in enum class codedraw.Key
 
HOME - Enum constant in enum class codedraw.Key
 
HONEY_DEW - Static variable in class codedraw.Palette
 
HOT_PINK - Static variable in class codedraw.Palette
 

I

I - Enum constant in enum class codedraw.Key
 
IDENTITY - Static variable in class codedraw.Matrix2D
The identity matrix.
Image - Class in codedraw
This class represents an image that can be used within the CodeDraw library.
Image(int, int) - Constructor for class codedraw.Image
Creates a white image of the specified size.
Image(int, int, Color) - Constructor for class codedraw.Image
Creates an image of the specified size with a custom background color.
Image(Image) - Constructor for class codedraw.Image
Creates a copy of the image supplied as a parameter.
Image(Image) - Constructor for class codedraw.Image
Creates an image from the Image supplied as a parameter.
ImageFormat - Enum Class in codedraw
Defines possible image formats.
INDIAN_RED - Static variable in class codedraw.Palette
 
INDIGO - Static variable in class codedraw.Palette
 
INPUT_METHOD_ON_OFF - Enum constant in enum class codedraw.Key
 
INSERT - Enum constant in enum class codedraw.Key
 
INT_ARGB - Enum constant in enum class codedraw.BufferedImageType
 
INT_ARGB_PRE - Enum constant in enum class codedraw.BufferedImageType
 
INT_BGR - Enum constant in enum class codedraw.BufferedImageType
 
INT_RGB - Enum constant in enum class codedraw.BufferedImageType
 
Interpolation - Enum Class in codedraw
Interpolation defines how drawn images are upscaled and downscaled.
inverse() - Method in class codedraw.Matrix2D
Calculates the inverse of this matrix.
INVERTED_EXCLAMATION_MARK - Enum constant in enum class codedraw.Key
 
isAltDown() - Method in class codedraw.KeyDownEvent
Gets whether alt was pressed.
isAltDown() - Method in class codedraw.KeyPressEvent
Gets whether alt was pressed.
isAltDown() - Method in class codedraw.KeyUpEvent
Gets whether alt was pressed.
isAltGraphDown() - Method in class codedraw.KeyDownEvent
Gets whether alt graph was pressed.
isAltGraphDown() - Method in class codedraw.KeyPressEvent
Gets whether alt graph was pressed.
isAltGraphDown() - Method in class codedraw.KeyUpEvent
Gets whether alt graph was pressed.
isAlwaysOnTop() - Method in class codedraw.BorderlessWindow
Always on top defines whether this window is placed on top of all other windows.
isAlwaysOnTop() - Method in class codedraw.CodeDraw
Always on top defines whether this window is placed on top of all other windows.
isAlwaysOnTop() - Method in class codedraw.FullScreen
Always on top defines whether this window is placed on top of all other windows.
isAntiAliased() - Method in class codedraw.Image
Defines whether drawn text and shapes are anti-aliased.
isBold() - Method in class codedraw.TextFormat
Defines whether the drawn text is bold.
isClosed() - Method in class codedraw.BorderlessWindow
Checks whether this CodeDraw window is already closed.
isClosed() - Method in class codedraw.CodeDraw
Checks whether this CodeDraw window is already closed.
isClosed() - Method in class codedraw.FullScreen
Checks whether this CodeDraw window is already closed.
isControlDown() - Method in class codedraw.KeyDownEvent
Gets whether control was pressed.
isControlDown() - Method in class codedraw.KeyPressEvent
Gets whether control was pressed.
isControlDown() - Method in class codedraw.KeyUpEvent
Gets whether control was pressed.
isDefaultScreen() - Method in class codedraw.Screen
Tells whether this monitor is the default monitor of the computer.
isFontNameAvailable(String) - Static method in class codedraw.TextFormat
Tests whether the font is available on the current system.
isInstantDraw() - Method in class codedraw.BorderlessWindow
When InstantDraw is enabled CodeDraw will immediately draw all shapes to the canvas without calling BorderlessWindow.show().
isInstantDraw() - Method in class codedraw.CodeDraw
When InstantDraw is enabled CodeDraw will immediately draw all shapes to the canvas without calling CodeDraw.show().
isInstantDraw() - Method in class codedraw.FullScreen
When InstantDraw is enabled CodeDraw will immediately draw all shapes to the canvas without calling FullScreen.show().
isItalic() - Method in class codedraw.TextFormat
Defines whether the drawn text is italic.
isShiftDown() - Method in class codedraw.KeyDownEvent
Gets whether shift was pressed.
isShiftDown() - Method in class codedraw.KeyPressEvent
Gets whether shift was pressed.
isShiftDown() - Method in class codedraw.KeyUpEvent
Gets whether shift was pressed.
isStrikethrough() - Method in class codedraw.TextFormat
Defines whether the drawn text is strikethrough.
iterator() - Method in class codedraw.EventScanner
Creates an iterator containing all the currently available events.
IVORY - Static variable in class codedraw.Palette
 

J

J - Enum constant in enum class codedraw.Key
 
JAPANESE_HIRAGANA - Enum constant in enum class codedraw.Key
 
JAPANESE_KATAKANA - Enum constant in enum class codedraw.Key
 
JAPANESE_ROMAN - Enum constant in enum class codedraw.Key
 
JPEG - Enum constant in enum class codedraw.ImageFormat
Does not support transparency.
JPG - Enum constant in enum class codedraw.ImageFormat
Does not support transparency.

K

K - Enum constant in enum class codedraw.Key
 
KANA - Enum constant in enum class codedraw.Key
 
KANA_LOCK - Enum constant in enum class codedraw.Key
 
KANJI - Enum constant in enum class codedraw.Key
 
KATAKANA - Enum constant in enum class codedraw.Key
 
Key - Enum Class in codedraw
Represents various keys on the keyboard.
KeyDownEvent - Class in codedraw
This argument is given exactly once every time a key is pressed down.
KeyPressEvent - Class in codedraw
This argument is given continuously while a key is being held down.
KeyUpEvent - Class in codedraw
This argument is given exactly once every time a key is released.
KHAKI - Static variable in class codedraw.Palette
 

L

L - Enum constant in enum class codedraw.Key
 
LAVENDER - Static variable in class codedraw.Palette
 
LAVENDER_BLUSH - Static variable in class codedraw.Palette
 
LAWN_GREEN - Static variable in class codedraw.Palette
 
LEFT - Enum constant in enum class codedraw.Key
 
LEFT - Enum constant in enum class codedraw.MouseButton
 
LEFT_PARENTHESIS - Enum constant in enum class codedraw.Key
 
LEMON_CHIFFON - Static variable in class codedraw.Palette
 
LESS - Enum constant in enum class codedraw.Key
 
LIGHT_BLUE - Static variable in class codedraw.Palette
 
LIGHT_CORAL - Static variable in class codedraw.Palette
 
LIGHT_CYAN - Static variable in class codedraw.Palette
 
LIGHT_GOLDEN_ROD_YELLOW - Static variable in class codedraw.Palette
 
LIGHT_GRAY - Static variable in class codedraw.Palette
This color differs from Color.LIGHT_GRAY.
LIGHT_GREEN - Static variable in class codedraw.Palette
 
LIGHT_PINK - Static variable in class codedraw.Palette
 
LIGHT_SALMON - Static variable in class codedraw.Palette
 
LIGHT_SEA_GREEN - Static variable in class codedraw.Palette
 
LIGHT_SKY_BLUE - Static variable in class codedraw.Palette
 
LIGHT_SLATE_GRAY - Static variable in class codedraw.Palette
 
LIGHT_STEEL_BLUE - Static variable in class codedraw.Palette
 
LIGHT_YELLOW - Static variable in class codedraw.Palette
 
LIME - Static variable in class codedraw.Palette
 
LIME_GREEN - Static variable in class codedraw.Palette
 
LINEN - Static variable in class codedraw.Palette
 
lineTo(double, double) - Method in class codedraw.Path
Draws a straight line from the current position to the end position.

M

M - Enum constant in enum class codedraw.Key
 
MAGENTA - Static variable in class codedraw.Palette
This color is a synonym for Palette.FUCHSIA.
MAROON - Static variable in class codedraw.Palette
 
Matrix2D - Class in codedraw
This class is used to transform the input coordinates.
MEDIUM_AQUA_MARINE - Static variable in class codedraw.Palette
 
MEDIUM_BLUE - Static variable in class codedraw.Palette
 
MEDIUM_ORCHID - Static variable in class codedraw.Palette
 
MEDIUM_PURPLE - Static variable in class codedraw.Palette
 
MEDIUM_SEA_GREEN - Static variable in class codedraw.Palette
 
MEDIUM_SLATE_BLUE - Static variable in class codedraw.Palette
 
MEDIUM_SPRING_GREEN - Static variable in class codedraw.Palette
 
MEDIUM_TURQUOISE - Static variable in class codedraw.Palette
 
MEDIUM_VIOLET_RED - Static variable in class codedraw.Palette
 
META - Enum constant in enum class codedraw.Key
 
MIDNIGHT_BLUE - Static variable in class codedraw.Palette
 
MINT_CREAM - Static variable in class codedraw.Palette
 
MINUS - Enum constant in enum class codedraw.Key
 
mirror(double) - Method in class codedraw.Matrix2D
Mirrors the coordinate system at the (0, 0) coordinate.
mirrorAt(double, double, double) - Method in class codedraw.Matrix2D
Mirrors the coordinate system at the specified coordinate.
mirrorHorizontally(Image) - Static method in class codedraw.Image
Mirrors the image horizontally.
mirrorVertically(Image) - Static method in class codedraw.Image
Mirrors the image vertically.
MISTY_ROSE - Static variable in class codedraw.Palette
 
MOCCASIN - Static variable in class codedraw.Palette
 
MODE_CHANGE - Enum constant in enum class codedraw.Key
 
MouseButton - Enum Class in codedraw
MouseButton represents the three common mouse buttons and optional additional buttons on the mouse.
MouseClickEvent - Class in codedraw
This argument is given once every time a mouse button is pressed down and quickly released again.
MouseDownEvent - Class in codedraw
This argument is given exactly once every time a mouse button is pressed down.
MouseEnterEvent - Class in codedraw
This argument is given every time the mouse enters the canvas.
MouseLeaveEvent - Class in codedraw
This argument is given every time the mouse leaves the canvas.
MouseMoveEvent - Class in codedraw
This argument is given continuously while the mouse is being moved.
MouseUpEvent - Class in codedraw
This argument is given exactly once every time a mouse button is released.
MouseWheelEvent - Class in codedraw
This argument is given each time the mouse wheel is turned.
MOVE - Static variable in class codedraw.CursorStyle
 
multiply(double, double) - Method in class codedraw.Matrix2D
Transforms the point given as a coordinate according to this matrix.
multiply(Matrix2D) - Method in class codedraw.Matrix2D
Multiplies two matrices with each other.
multiply(Point2D) - Method in class codedraw.Matrix2D
Transforms the point given as a coordinate according to this matrix.
MULTIPLY - Enum constant in enum class codedraw.Key
 

N

N - Enum constant in enum class codedraw.Key
 
N0 - Enum constant in enum class codedraw.Key
 
N1 - Enum constant in enum class codedraw.Key
 
N2 - Enum constant in enum class codedraw.Key
 
N3 - Enum constant in enum class codedraw.Key
 
N4 - Enum constant in enum class codedraw.Key
 
N5 - Enum constant in enum class codedraw.Key
 
N6 - Enum constant in enum class codedraw.Key
 
N7 - Enum constant in enum class codedraw.Key
 
N8 - Enum constant in enum class codedraw.Key
 
N9 - Enum constant in enum class codedraw.Key
 
NAVAJO_WHITE - Static variable in class codedraw.Palette
 
NAVY - Static variable in class codedraw.Palette
 
NEAREST_NEIGHBOR - Enum constant in enum class codedraw.Interpolation
When increasing or decreasing the size of an image the nearest neighbor is picked to color a pixel.
nextEvent() - Method in class codedraw.EventScanner
Waits until the next event is available or returns immediately if there is an event in the EventScanner already.
nextKeyDownEvent() - Method in class codedraw.EventScanner
Waits until the next event is available or returns immediately if there is an event in the EventScanner already.
nextKeyPressEvent() - Method in class codedraw.EventScanner
Waits until the next event is available or returns immediately if there is an event in the EventScanner already.
nextKeyUpEvent() - Method in class codedraw.EventScanner
Waits until the next event is available or returns immediately if there is an event in the EventScanner already.
nextMouseClickEvent() - Method in class codedraw.EventScanner
Waits until the next event is available or returns immediately if there is an event in the EventScanner already.
nextMouseDownEvent() - Method in class codedraw.EventScanner
Waits until the next event is available or returns immediately if there is an event in the EventScanner already.
nextMouseEnterEvent() - Method in class codedraw.EventScanner
Waits until the next event is available or returns immediately if there is an event in the EventScanner already.
nextMouseLeaveEvent() - Method in class codedraw.EventScanner
Waits until the next event is available or returns immediately if there is an event in the EventScanner already.
nextMouseMoveEvent() - Method in class codedraw.EventScanner
Waits until the next event is available or returns immediately if there is an event in the EventScanner already.
nextMouseUpEvent() - Method in class codedraw.EventScanner
Waits until the next event is available or returns immediately if there is an event in the EventScanner already.
nextMouseWheelEvent() - Method in class codedraw.EventScanner
Waits until the next event is available or returns immediately if there is an event in the EventScanner already.
nextWindowCloseEvent() - Method in class codedraw.EventScanner
Waits until the next event is available or returns immediately if there is an event in the EventScanner already.
nextWindowMoveEvent() - Method in class codedraw.EventScanner
Waits until the next event is available or returns immediately if there is an event in the EventScanner already.
NON_CONVERT - Enum constant in enum class codedraw.Key
 
NONE - Enum constant in enum class codedraw.Underline
No underline will be drawn below the text.
NORTH_EAST_RESIZE - Static variable in class codedraw.CursorStyle
 
NORTH_RESIZE - Static variable in class codedraw.CursorStyle
 
NORTH_WEST_RESIZE - Static variable in class codedraw.CursorStyle
 
NUM_LOCK - Enum constant in enum class codedraw.Key
 
NUMBER_SIGN - Enum constant in enum class codedraw.Key
 
NUMPAD_DOWN - Enum constant in enum class codedraw.Key
 
NUMPAD_LEFT - Enum constant in enum class codedraw.Key
 
NUMPAD_RIGHT - Enum constant in enum class codedraw.Key
 
NUMPAD_UP - Enum constant in enum class codedraw.Key
 
NUMPAD0 - Enum constant in enum class codedraw.Key
 
NUMPAD1 - Enum constant in enum class codedraw.Key
 
NUMPAD2 - Enum constant in enum class codedraw.Key
 
NUMPAD3 - Enum constant in enum class codedraw.Key
 
NUMPAD4 - Enum constant in enum class codedraw.Key
 
NUMPAD5 - Enum constant in enum class codedraw.Key
 
NUMPAD6 - Enum constant in enum class codedraw.Key
 
NUMPAD7 - Enum constant in enum class codedraw.Key
 
NUMPAD8 - Enum constant in enum class codedraw.Key
 
NUMPAD9 - Enum constant in enum class codedraw.Key
 

O

O - Enum constant in enum class codedraw.Key
 
OLD_LACE - Static variable in class codedraw.Palette
 
OLIVE - Static variable in class codedraw.Palette
 
OLIVE_DRAB - Static variable in class codedraw.Palette
 
onKeyDown(KeyDownEvent) - Method in interface codedraw.Animation
This method is called exactly once every time a key is pressed down.
onKeyPress(KeyPressEvent) - Method in interface codedraw.Animation
This method is called continuously while a key is being held down.
onKeyUp(KeyUpEvent) - Method in interface codedraw.Animation
This method is called exactly once every time a key is released.
onMouseClick(MouseClickEvent) - Method in interface codedraw.Animation
This method is called once every time a mouse button is pressed down and quickly released again.
onMouseDown(MouseDownEvent) - Method in interface codedraw.Animation
This method is called exactly once every time a mouse button is pressed down.
onMouseEnter(MouseEnterEvent) - Method in interface codedraw.Animation
This method is called every time the mouse enters the canvas.
onMouseLeave(MouseLeaveEvent) - Method in interface codedraw.Animation
This method is called every time the mouse leaves the canvas.
onMouseMove(MouseMoveEvent) - Method in interface codedraw.Animation
This method is called continuously while the mouse is being moved.
onMouseUp(MouseUpEvent) - Method in interface codedraw.Animation
This method is called exactly once every time a mouse button is released.
onMouseWheel(MouseWheelEvent) - Method in interface codedraw.Animation
This method is called every time the mouse wheel is turned.
onWindowClose(WindowCloseEvent) - Method in interface codedraw.Animation
This method is called exactly once after the user closes the window or CodeDraw.close() is called.
onWindowMove(WindowMoveEvent) - Method in interface codedraw.Animation
This method is called every time the CodeDraw window is moved.
OPEN_BRACKET - Enum constant in enum class codedraw.Key
 
ORANGE - Static variable in class codedraw.Palette
This color differs from Color.ORANGE.
ORANGE_RED - Static variable in class codedraw.Palette
 
ORCHID - Static variable in class codedraw.Palette
 

P

P - Enum constant in enum class codedraw.Key
 
PAGE_DOWN - Enum constant in enum class codedraw.Key
 
PAGE_UP - Enum constant in enum class codedraw.Key
 
PALE_GOLDEN_ROD - Static variable in class codedraw.Palette
 
PALE_GREEN - Static variable in class codedraw.Palette
 
PALE_TURQUOISE - Static variable in class codedraw.Palette
 
PALE_VIOLET_RED - Static variable in class codedraw.Palette
 
Palette - Class in codedraw
Palette provides a wide variety of colors and makes it easier to create colors.
PAPAYA_WHIP - Static variable in class codedraw.Palette
 
PASTE - Enum constant in enum class codedraw.Key
 
Path - Class in codedraw
Represents a Path that is used to create custom shapes.
PAUSE - Enum constant in enum class codedraw.Key
 
PEACH_PUFF - Static variable in class codedraw.Palette
 
PERIOD - Enum constant in enum class codedraw.Key
 
PERU - Static variable in class codedraw.Palette
 
PINK - Static variable in class codedraw.Palette
This color differs from Color.PINK.
PLUM - Static variable in class codedraw.Palette
 
PLUS - Enum constant in enum class codedraw.Key
 
PNG - Enum constant in enum class codedraw.ImageFormat
 
Point2D - Class in codedraw
This class represents a 2D point.
Point2D(double, double) - Constructor for class codedraw.Point2D
Creates a Point from the two arguments.
POWDER_BLUE - Static variable in class codedraw.Palette
 
PREVIOUS_CANDIDATE - Enum constant in enum class codedraw.Key
 
PRINT_SCREEN - Enum constant in enum class codedraw.Key
 
PROPS - Enum constant in enum class codedraw.Key
 
PURPLE - Static variable in class codedraw.Palette
 

Q

Q - Enum constant in enum class codedraw.Key
 
QUOTE - Enum constant in enum class codedraw.Key
 
QUOTE_DBL - Enum constant in enum class codedraw.Key
 

R

R - Enum constant in enum class codedraw.Key
 
randomColor() - Static method in class codedraw.Palette
Generates a random color that is not transparent.
RED - Static variable in class codedraw.Palette
 
removeEventsOlderThan(Duration) - Method in class codedraw.EventScanner
Removes all events that are older than the duration given as a parameter.
resetProperties() - Method in class codedraw.Image
Sets all drawing properties to their default value.
RIGHT - Enum constant in enum class codedraw.Key
 
RIGHT - Enum constant in enum class codedraw.MouseButton
 
RIGHT_PARENTHESIS - Enum constant in enum class codedraw.Key
 
ROMAN_CHARACTERS - Enum constant in enum class codedraw.Key
 
ROSY_BROWN - Static variable in class codedraw.Palette
 
rotate(double) - Method in class codedraw.Matrix2D
Rotates the coordinate system at the (0, 0) coordinate.
rotateAt(double, double, double) - Method in class codedraw.Matrix2D
Rotates the coordinate system at the specified coordinate.
rotateClockwise(Image) - Static method in class codedraw.Image
Rotates the image clockwise.
rotateCounterClockwise(Image) - Static method in class codedraw.Image
Rotates the image counter-clockwise.
ROUND - Enum constant in enum class codedraw.Corner
All corners of drawn and filled shapes such as rectangles will be round.
ROYAL_BLUE - Static variable in class codedraw.Palette
 
run(Animation) - Static method in class codedraw.BorderlessWindow
Runs the Animation interface using a borderless window.
run(Animation) - Static method in class codedraw.CodeDraw
Runs the Animation interface using a CodeDraw window.
run(Animation) - Static method in class codedraw.FullScreen
Runs the Animation interface using a fullscreen window.
run(Animation, int, int) - Static method in class codedraw.BorderlessWindow
Runs the Animation interface using a borderless window.
run(Animation, int, int) - Static method in class codedraw.CodeDraw
Runs the Animation interface using a CodeDraw window.
run(Animation, int, int, int) - Static method in class codedraw.BorderlessWindow
Runs the Animation interface using a borderless window.
run(Animation, int, int, int) - Static method in class codedraw.CodeDraw
Runs the Animation interface using a CodeDraw window.
run(Animation, int, int, int, int) - Static method in class codedraw.BorderlessWindow
Runs the Animation interface using a borderless window.
run(Animation, int, int, int, int) - Static method in class codedraw.CodeDraw
Runs the Animation interface using a CodeDraw window.
run(Animation, Screen) - Static method in class codedraw.FullScreen
Runs the Animation interface using a fullscreen window.
run(Animation, Screen, int) - Static method in class codedraw.FullScreen
Runs the Animation interface using a fullscreen window.
run(Animation, Screen, int, int) - Static method in class codedraw.FullScreen
Runs the Animation interface using a fullscreen window.

S

S - Enum constant in enum class codedraw.Key
 
SADDLE_BROWN - Static variable in class codedraw.Palette
 
SALMON - Static variable in class codedraw.Palette
 
SANDY_BROWN - Static variable in class codedraw.Palette
 
save(Image, String, ImageFormat) - Static method in class codedraw.Image
Saves the image to the specified location using the specified image format.
scale(double, double) - Method in class codedraw.Matrix2D
Scales the coordinate system at the (0, 0) coordinate.
scale(Image, double) - Static method in class codedraw.Image
Increases or decreases the size of the image given as a parameter.
scale(Image, double, Interpolation) - Static method in class codedraw.Image
Increases or decreases the size of the image given as a parameter.
scaleAt(double, double, double, double) - Method in class codedraw.Matrix2D
Scales the coordinate system from the specified coordinates.
Screen - Class in codedraw
Represents the monitors attached to the computer.
SCROLL_LOCK - Enum constant in enum class codedraw.Key
 
SEA_GREEN - Static variable in class codedraw.Palette
 
SEA_SHELL - Static variable in class codedraw.Palette
 
SEMICOLON - Enum constant in enum class codedraw.Key
 
SEPARATOR - Enum constant in enum class codedraw.Key
 
set(int, int, double) - Method in class codedraw.Matrix2D
Creates a new matrix and changes the value in the matrix at the specified location.
setAlwaysOnTop(boolean) - Method in class codedraw.CodeDraw
When set to true this CodeDraw window will always be displayed on top of other windows.
setAntiAliased(boolean) - Method in class codedraw.Image
Defines whether drawn text and shapes are anti-aliased.
setBold(boolean) - Method in class codedraw.TextFormat
Defines whether the drawn text is bold.
setCanvasPositionX(int) - Method in class codedraw.CodeDraw
Sets the distance in pixel from the top left corner of the default screen to the top left corner of the CodeDraw canvas.
setCanvasPositionY(int) - Method in class codedraw.CodeDraw
Sets the distance in pixel from the top left corner of the default screen to the top left corner of the CodeDraw canvas.
setColor(Color) - Method in class codedraw.Image
Defines the color that is used for drawing all shapes.
setCorner(Corner) - Method in class codedraw.Image
Defines how the corners of drawn shapes should look.
setCornerRadius(double) - Method in class codedraw.Image
setCursorStyle(CursorStyle) - Method in class codedraw.BorderlessWindow
Defines the style of the cursor while hovering over the CodeDraw canvas.
setCursorStyle(CursorStyle) - Method in class codedraw.CodeDraw
Defines the style of the cursor while hovering over the CodeDraw canvas.
setCursorStyle(CursorStyle) - Method in class codedraw.FullScreen
Defines the style of the cursor while hovering over the CodeDraw canvas.
setDrawOver(boolean) - Method in class codedraw.Image
Defines the way new pixels are drawn over already existing pixels.
setFontName(String, String...) - Method in class codedraw.TextFormat
Defines the font of the drawn text.
setFontNameToDefault() - Method in class codedraw.TextFormat
Sets the font-name property to its default value Font.DIALOG.
setFontSize(int) - Method in class codedraw.TextFormat
Defines the font size of the drawn text.
setInstantDraw(boolean) - Method in class codedraw.BorderlessWindow
When InstantDraw is enabled CodeDraw will immediately draw all shapes to the canvas without calling BorderlessWindow.show().
setInstantDraw(boolean) - Method in class codedraw.CodeDraw
When InstantDraw is enabled CodeDraw will immediately draw all shapes to the canvas without calling CodeDraw.show().
setInstantDraw(boolean) - Method in class codedraw.FullScreen
When InstantDraw is enabled CodeDraw will immediately draw all shapes to the canvas without calling FullScreen.show().
setIsAlwaysOnTop(boolean) - Method in class codedraw.BorderlessWindow
When set to true this CodeDraw window will always be displayed on top of other windows.
setIsAlwaysOnTop(boolean) - Method in class codedraw.FullScreen
When set to true this CodeDraw window will always be displayed on top of other windows.
setItalic(boolean) - Method in class codedraw.TextFormat
Defines whether the drawn text is italic.
setLineWidth(double) - Method in class codedraw.Image
Defines the width or thickness of drawn shapes and lines.
setPixel(int, int, Color) - Method in class codedraw.Image
Draws a point which is the size of one pixel.
setStrikethrough(boolean) - Method in class codedraw.TextFormat
Defines whether the drawn text is strikethrough.
setTextFormat(TextFormat) - Method in class codedraw.Image
Defines the styling of drawn text.
setTextOrigin(TextOrigin) - Method in class codedraw.TextFormat
Defines the origin of the drawn text relative to the position specified in the Image.drawText(double, double, String) method.
setTitle(String) - Method in class codedraw.BorderlessWindow
The title is the description displayed in many places on your operating system.
setTitle(String) - Method in class codedraw.CodeDraw
The title is the text displayed in the top left corner of the CodeDraw window.
setTitle(String) - Method in class codedraw.FullScreen
The title is the description displayed in many places on your operating system.
setTransformation(Matrix2D) - Method in class codedraw.Image
A transformation can be used to apply a linear transformations before shapes are drawn to the image.
setTransformationToIdentity() - Method in class codedraw.Image
Resets the current transformation to the default value where no transformation is applied.
setUnderlined(Underline) - Method in class codedraw.TextFormat
Defines the underline styling of the drawn text.
setWindowPositionX(int) - Method in class codedraw.BorderlessWindow
Sets the distance in pixel from the top left corner of the default screen to the top left corner of the borderless window.
setWindowPositionX(int) - Method in class codedraw.CodeDraw
Sets the distance in pixel from the top left corner of the default screen to the top left corner of the CodeDraw window.
setWindowPositionY(int) - Method in class codedraw.BorderlessWindow
Sets the distance in pixel from the top left corner of the default screen to the top left corner of the borderless window.
setWindowPositionY(int) - Method in class codedraw.CodeDraw
Sets the distance in pixel from the top left corner of the default screen to the top left corner of the CodeDraw window.
SHARP - Enum constant in enum class codedraw.Corner
All corners of drawn and filled shapes such as rectangles will be pointy.
shear(double, double) - Method in class codedraw.Matrix2D
Shears the coordinate system from the (0, 0) coordinate.
shearAt(double, double, double, double) - Method in class codedraw.Matrix2D
Shears the coordinate system at the specified coordinate.
SHIFT - Enum constant in enum class codedraw.Key
 
show() - Method in class codedraw.BorderlessWindow
Displays all the shapes and images that were drawn onto the canvas.
show() - Method in class codedraw.CodeDraw
Displays all the shapes and images that were drawn onto the canvas.
show() - Method in class codedraw.FullScreen
Displays all the shapes and images that were drawn onto the canvas.
show(long) - Method in class codedraw.BorderlessWindow
Displays all the shapes and images that were drawn onto the canvas and waits for the given amount of milliseconds.
show(long) - Method in class codedraw.CodeDraw
Displays all the shapes and images that were drawn onto the canvas and waits for the given amount of milliseconds.
show(long) - Method in class codedraw.FullScreen
Displays all the shapes and images that were drawn onto the canvas and waits for the given amount of milliseconds.
show(Image) - Static method in class codedraw.BorderlessWindow
Shows the specified image in a borderless window fitting the size of the image.
show(Image) - Static method in class codedraw.CodeDraw
Shows the specified image in a CodeDraw window fitting the size of the image.
SIENNA - Static variable in class codedraw.Palette
 
SILVER - Static variable in class codedraw.Palette
 
simulate() - Method in interface codedraw.Animation
This method is executed independently of the Animation.draw(Image) method.
SKY_BLUE - Static variable in class codedraw.Palette
 
SLASH - Enum constant in enum class codedraw.Key
 
SLATE_BLUE - Static variable in class codedraw.Palette
 
SLATE_GRAY - Static variable in class codedraw.Palette
 
SNOW - Static variable in class codedraw.Palette
 
SOLID - Enum constant in enum class codedraw.Underline
A solid line will be drawn below the text.
SOUTH_EAST_RESIZE - Static variable in class codedraw.CursorStyle
 
SOUTH_RESIZE - Static variable in class codedraw.CursorStyle
 
SOUTH_WEST_RESIZE - Static variable in class codedraw.CursorStyle
 
SPACE - Enum constant in enum class codedraw.Key
 
SPRING_GREEN - Static variable in class codedraw.Palette
 
STEEL_BLUE - Static variable in class codedraw.Palette
 
STOP - Enum constant in enum class codedraw.Key
 
SUBTRACT - Enum constant in enum class codedraw.Key
 

T

T - Enum constant in enum class codedraw.Key
 
TAB - Enum constant in enum class codedraw.Key
 
TAN - Static variable in class codedraw.Palette
 
TEAL - Static variable in class codedraw.Palette
 
TEXT - Static variable in class codedraw.CursorStyle
 
TextFormat - Class in codedraw
TextFormat is used to specify how CodeDraw formats, places and styles its drawn text.
TextFormat() - Constructor for class codedraw.TextFormat
 
TextOrigin - Enum Class in codedraw
Horizontally and vertically aligns text.
THISTLE - Static variable in class codedraw.Palette
 
THREE_BYTE_BGR - Enum constant in enum class codedraw.BufferedImageType
 
toBufferedImage() - Method in class codedraw.Image
Creates a copy of this image in the form of a BufferedImage.
toBufferedImage(BufferedImageType) - Method in class codedraw.Image
Creates a copy of this image in the form of a BufferedImage.
TOMATO - Static variable in class codedraw.Palette
 
TOP_LEFT - Enum constant in enum class codedraw.TextOrigin
The origin will be to the top left of the text.
TOP_MIDDLE - Enum constant in enum class codedraw.TextOrigin
The origin will be to the top center of the text.
TOP_RIGHT - Enum constant in enum class codedraw.TextOrigin
The origin will be to the top right of the text.
toString() - Method in class codedraw.BorderlessWindow
 
toString() - Method in class codedraw.CodeDraw
 
toString() - Method in class codedraw.CursorStyle
 
toString() - Method in class codedraw.FullScreen
 
toString() - Method in class codedraw.KeyDownEvent
 
toString() - Method in class codedraw.KeyPressEvent
 
toString() - Method in class codedraw.KeyUpEvent
 
toString() - Method in class codedraw.Matrix2D
 
toString() - Method in class codedraw.MouseClickEvent
 
toString() - Method in class codedraw.MouseDownEvent
 
toString() - Method in class codedraw.MouseEnterEvent
 
toString() - Method in class codedraw.MouseLeaveEvent
 
toString() - Method in class codedraw.MouseMoveEvent
 
toString() - Method in class codedraw.MouseUpEvent
 
toString() - Method in class codedraw.MouseWheelEvent
 
toString() - Method in class codedraw.Path
 
toString() - Method in class codedraw.Point2D
 
toString() - Method in class codedraw.Screen
 
toString() - Method in class codedraw.TextFormat
 
toString() - Method in class codedraw.WindowCloseEvent
 
toString() - Method in class codedraw.WindowMoveEvent
 
translate(double, double) - Method in class codedraw.Matrix2D
Moves the coordinate system in the x and y direction.
TRANSPARENT - Static variable in class codedraw.Palette
 
TURQUOISE - Static variable in class codedraw.Palette
 

U

U - Enum constant in enum class codedraw.Key
 
UNDEFINED - Enum constant in enum class codedraw.Key
 
Underline - Enum Class in codedraw
Draws a line below the drawn text.
UNDERSCORE - Enum constant in enum class codedraw.Key
 
UNDO - Enum constant in enum class codedraw.Key
 
UP - Enum constant in enum class codedraw.Key
 
USHORT_555_RGB - Enum constant in enum class codedraw.BufferedImageType
 
USHORT_565_RGB - Enum constant in enum class codedraw.BufferedImageType
 
USHORT_GRAY - Enum constant in enum class codedraw.BufferedImageType
 

V

V - Enum constant in enum class codedraw.Key
 
valueOf(String) - Static method in enum class codedraw.BufferedImageType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class codedraw.Corner
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class codedraw.ImageFormat
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class codedraw.Interpolation
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class codedraw.Key
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class codedraw.MouseButton
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class codedraw.TextOrigin
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class codedraw.Underline
Returns the enum constant of this class with the specified name.
values() - Static method in enum class codedraw.BufferedImageType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class codedraw.Corner
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class codedraw.ImageFormat
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class codedraw.Interpolation
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class codedraw.Key
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class codedraw.MouseButton
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class codedraw.TextOrigin
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class codedraw.Underline
Returns an array containing the constants of this enum class, in the order they are declared.
VIOLET - Static variable in class codedraw.Palette
 

W

W - Enum constant in enum class codedraw.Key
 
WAIT - Static variable in class codedraw.CursorStyle
 
WAVY - Enum constant in enum class codedraw.Underline
A wavy line will be drawn below the text.
WEST_RESIZE - Static variable in class codedraw.CursorStyle
 
WHEAT - Static variable in class codedraw.Palette
 
WHEEL - Enum constant in enum class codedraw.MouseButton
 
WHITE - Static variable in class codedraw.Palette
 
WHITE_SMOKE - Static variable in class codedraw.Palette
 
WindowCloseEvent - Class in codedraw
This argument is given exactly once after the user closes the window or CodeDraw.close() is called.
WindowMoveEvent - Class in codedraw
This argument is given every time the CodeDraw window is moved.
WINDOWS - Enum constant in enum class codedraw.Key
 

X

X - Enum constant in enum class codedraw.Key
 

Y

Y - Enum constant in enum class codedraw.Key
 
YELLOW - Static variable in class codedraw.Palette
 
YELLOW_GREEN - Static variable in class codedraw.Palette
 

Z

Z - Enum constant in enum class codedraw.Key
 
ZERO - Static variable in class codedraw.Matrix2D
The zero matrix where all values are 0.
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z 
All Classes and Interfaces|All Packages