Index
All Classes and Interfaces|All Packages|Serialized Form
C
- C - Enum constant in enum class codedraw.events.Key
- CADET_BLUE - Static variable in class codedraw.Palette
- CANCEL - Enum constant in enum class codedraw.events.Key
- CAPS_LOCK - Enum constant in enum class codedraw.events.Key
- CENTER - Enum constant in enum class codedraw.textformat.HorizontalAlign
-
The text will be drawn at so that the x coordinate will be in the center of the text.
- CHARTREUSE - Static variable in class codedraw.Palette
- CHOCOLATE - Static variable in class codedraw.Palette
- CIRCUMFLEX - Enum constant in enum class codedraw.events.Key
- clear() - Method in class codedraw.CodeDraw
-
Colors the whole canvas in white.
- clear() - Method in class codedraw.images.CodeDrawImage
-
Colors the whole canvas in white.
- clear(Color) - Method in class codedraw.CodeDraw
-
Colors the whole canvas in the color given as a parameter.
- clear(Color) - Method in class codedraw.images.CodeDrawImage
-
Colors the whole canvas in the color given as a parameter.
- CLEAR - Enum constant in enum class codedraw.events.Key
- close() - Method in class codedraw.CodeDraw
-
Closes the frame and disposes all created resources associated with this CodeDraw instance.
- close() - Method in class codedraw.events.EventScanner
-
Closes the EventScanner.
- close(boolean) - Method in class codedraw.CodeDraw
-
Closes the frame and disposes all created resources associated with this CodeDraw instance.
- CLOSE_BRACKET - Enum constant in enum class codedraw.events.Key
- CODE_INPUT - Enum constant in enum class codedraw.events.Key
- codedraw - package codedraw
- CodeDraw - Class in codedraw
-
CodeDraw is an easy-to-use drawing library where you use code to create pictures and animations.
- 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.
- codedraw.events - package codedraw.events
- codedraw.images - package codedraw.images
- codedraw.textformat - package codedraw.textformat
- CodeDrawEventInvocationException - Exception in codedraw
-
This exception is thrown when you try to use CodeDraw inside the CodeDraw event loop.
- CodeDrawImage - Class in codedraw.images
-
CodeDrawImage represents an image that can be used within the CodeDraw library.
- CodeDrawImage(int, int) - Constructor for class codedraw.images.CodeDrawImage
-
Creates a white CodeDrawImage of the specified size.
- CodeDrawImage(CodeDrawImage) - Constructor for class codedraw.images.CodeDrawImage
-
Creates a copy of the CodeDrawImage supplied as a parameter.
- CodeDrawImage(Image) - Constructor for class codedraw.images.CodeDrawImage
-
Creates a CodeDrawImage from the Image supplied as a parameter.
- COLON - Enum constant in enum class codedraw.events.Key
- COMMA - Enum constant in enum class codedraw.events.Key
- COMPOSE - Enum constant in enum class codedraw.events.Key
- CONTEXT_MENU - Enum constant in enum class codedraw.events.Key
- CONTROL - Enum constant in enum class codedraw.events.Key
- CONVERT - Enum constant in enum class codedraw.events.Key
- convertToBufferedImage() - Method in class codedraw.images.CodeDrawImage
-
Creates a copy of this CodeDrawImage in the form of a BufferedImage.
- COPY - Enum constant in enum class codedraw.events.Key
- copyCanvas() - Method in class codedraw.CodeDraw
-
Creates a copy of the current buffer (not the displayed image) and returns it as a buffered image.
- copyTo(Graphics, Interpolation) - Method in class codedraw.images.CodeDrawImage
-
Copies this CodeDrawImage 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.
- CORNFLOWER_BLUE - Static variable in class codedraw.Palette
- CORNSILK - Static variable in class codedraw.Palette
- CRIMSON - Static variable in class codedraw.Palette
- 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(CodeDrawImage) - Constructor for class codedraw.CursorStyle
-
Creates a new CursorStyle from an image.
- CursorStyle(CodeDrawImage, int, int) - Constructor for class codedraw.CursorStyle
-
Creates a new CursorStyle from an image.
- CUT - Enum constant in enum class codedraw.events.Key
- CYAN - Static variable in class codedraw.Palette
All Classes and Interfaces|All Packages|Serialized Form