package graphics
A library used for teaching computer science in the ISC degree programme, notably for the course _101.1 Imperative programming_.
The library provides classes for simple graphical drawing, with primitives such as points and lines drawing, simple text with different fonts, ... Input primitives are also available using keyboard or mouse. Several examples are also provided.
Overview
Here is how to create a window and draw a circle on it using FunGraphics :
val f = new FunGraphics(400, 300) f.drawCircle(200,150, 50)
- Alphabetic
- By Inheritance
- graphics
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- abstract class AcceleratedDisplay extends AnyRef
Base class for every display window, see for instance FunGraphics
- class FunGraphics extends AcceleratedDisplay with Graphics with DualLayerGraphics
A graphics framework for games and experiments.
A graphics framework for games and experiments. Developed for the PImp and INF1 courses given at HES-SO Valais.
- class ImageGraphics extends JFrame
This class was made to deal with images as multidimensional arrays.
This class was made to deal with images as multidimensional arrays. Mainly used in the
ImageProcessing
lab. It expects the images to reside in thesrc
directory- Annotations
- @SerialVersionUID()
- Version
1.0
- class TurtleGraphics extends FunGraphics
Graphics class that emulates the tortoise in the Logo programming language
Graphics class that emulates the tortoise in the Logo programming language
The turtle starts at the center of the window, looking up with a black color and pen down
Basic port implementation by Pierre Roduit, rewritten for use with FunGraphics by Pierre-André Mudry.
- Version
2.01 Using FunGraphics as main class
- See also
Value Members
- object AcceleratedDisplay
- object FunGraphics
Factory for FunGraphics.
- object ImageGraphics extends Serializable
ImageGraphics helpers.
ImageGraphics helpers.
- Annotations
- @SerialVersionUID()