doodle.java2d.effect

Members list

Type members

Classlikes

final class BlockingCircularQueue[A](capacity: Int)(implicit evidence$1: ClassTag[A])

A BlockingQueue with finite capacity where writes always succeed.

A BlockingQueue with finite capacity where writes always succeed.

Writes always succeed, overwriting existing values in a FIFO manner. Reads may block until a value is available. This is appropriate for interact applications, where getting the latest data is more important than getting all the data.

Attributes

Source
BlockingCircularQueue.scala
Supertypes
class Object
trait Matchable
class Any
final class Canvas

A Canvas is an area on the screen to which Pictures can be drawn.

A Canvas is an area on the screen to which Pictures can be drawn.

Attributes

Companion
object
Source
Canvas.scala
Supertypes
class Object
trait Matchable
class Any
object Canvas

Attributes

Companion
class
Source
Canvas.scala
Supertypes
class Object
trait Matchable
class Any
Self type
Canvas.type
sealed abstract class Center extends Product, Serializable

Determines where the center of the canvas is located.

Determines where the center of the canvas is located.

Attributes

Companion
object
Source
Center.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Known subtypes
object AtOrigin
object Center

Attributes

Companion
class
Source
Center.scala
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Center.type

The Frame specifies how to create a Canvas. The idiomatic way to create a Frame is to start with Frame.default and then call the builder methods starting with with.

The Frame specifies how to create a Canvas. The idiomatic way to create a Frame is to start with Frame.default and then call the builder methods starting with with.

For example, this Frame specifies a fixed size and a background color.

Frame.default.withSize(300, 300).withBackground(Color.midnightBlue)

Attributes

Companion
object
Source
Frame.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object Frame

Attributes

Companion
class
Source
Frame.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Frame.type

A Swing component (a JPanel) that can render a Doodle Picture.

A Swing component (a JPanel) that can render a Doodle Picture.

The majority of the code within here runs on the Swing thread. To avoid deadlock, communication with the outside world must be mediated through concurrency safe data structures or similar means.

Attributes

Source
Java2DPanel.scala
Supertypes
class JPanel
trait Accessible
class JComponent
class Container
class Component
trait Serializable
class Object
trait Matchable
class Any
Show all
object Java2d

Utilities for rendering with Java2D

Utilities for rendering with Java2D

Attributes

Source
Java2d.scala
Supertypes
class Object
trait Matchable
class Any
Self type
Java2d.type

Attributes

Source
Java2dAnimationRenderer.scala
Supertypes
class Object
trait Matchable
class Any
Self type

Write an animation as an animated GIF. The GIF file format doesn't support transparency to the degree we need to faithfully render Java2d images. In particular it doesn't support semi-transparent redraw. As a result we just fill with the background color on each frame, if the background is set.

Write an animation as an animated GIF. The GIF file format doesn't support transparency to the degree we need to faithfully render Java2d images. In particular it doesn't support semi-transparent redraw. As a result we just fill with the background color on each frame, if the background is set.

Attributes

Source
Java2dAnimationWriter.scala
Supertypes
trait Writer[Algebra, Frame]
class Object
trait Matchable
class Any
Self type

Attributes

Source
Java2dBufferedImageWriter.scala
Supertypes
trait Writer[Algebra, Frame]
class Object
trait Matchable
class Any
Self type

Attributes

Source
DefaultFrame.scala
Supertypes
class Object
trait Matchable
class Any
Self type
object Java2dGifWriter extends Java2dWriter[Gif]

Attributes

Source
Java2dWriter.scala
Supertypes
trait Java2dWriter[Gif]
trait Writer[Algebra, Frame]
class Object
trait Matchable
class Any
Show all
Self type
object Java2dJpgWriter extends Java2dWriter[Jpg]

Attributes

Source
Java2dWriter.scala
Supertypes
trait Java2dWriter[Jpg]
trait Writer[Algebra, Frame]
class Object
trait Matchable
class Any
Show all
Self type
object Java2dPdfWriter extends Java2dWriter[Pdf]

Attributes

Source
Java2dWriter.scala
Supertypes
trait Java2dWriter[Pdf]
trait Writer[Algebra, Frame]
class Object
trait Matchable
class Any
Show all
Self type
object Java2dPngWriter extends Java2dWriter[Png]

Attributes

Source
Java2dWriter.scala
Supertypes
trait Java2dWriter[Png]
trait Writer[Algebra, Frame]
class Object
trait Matchable
class Any
Show all
Self type

Attributes

Source
Java2dRenderer.scala
Supertypes
class Object
trait Matchable
class Any
Self type

Create a GUI window (a Frame in Swing parlance) around a Java2dPanel.

Create a GUI window (a Frame in Swing parlance) around a Java2dPanel.

Attributes

Source
Java2dWindow.scala
Supertypes
class JFrame
class Frame
class Window
trait Accessible
class Container
class Component
trait Serializable
class Object
trait Matchable
class Any
Show all

Attributes

Source
Java2dWriter.scala
Supertypes
trait Base64Writer[Algebra, Frame, Fmt]
trait FileWriter[Algebra, Frame, Fmt]
trait Writer[Algebra, Frame]
class Object
trait Matchable
class Any
Show all
Known subtypes
sealed trait Redraw

Determines how the Canvas handles drawing multiple Pictures. The default is to clear the Canvas with the Frame 's background color every time a new picture is rendered. Alternatively a different color can be specified. This allows one to blend together pictures while keeping a constant background.

Determines how the Canvas handles drawing multiple Pictures. The default is to clear the Canvas with the Frame 's background color every time a new picture is rendered. Alternatively a different color can be specified. This allows one to blend together pictures while keeping a constant background.

Attributes

Companion
object
Source
Redraw.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Redraw

Attributes

Companion
trait
Source
Redraw.scala
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Redraw.type
sealed abstract class Size extends Product, Serializable

Attributes

Companion
object
Source
Size.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Known subtypes
class FitToImage
class FixedSize
object Size

Attributes

Companion
class
Source
Size.scala
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Size.type