doodle.java2d.effect
Members list
Type members
Classlikes
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
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
Attributes
- Companion
- class
- Source
- Canvas.scala
- Supertypes
- Self type
-
Canvas.type
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
- Known subtypes
-
object AtOriginobject CenteredOnPicture
Attributes
- Companion
- class
- Source
- Center.scala
- Supertypes
- 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
Attributes
- Companion
- class
- Source
- Frame.scala
- Supertypes
- 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 JPaneltrait Accessibleclass JComponentclass Containerclass Componenttrait Serializabletrait MenuContainertrait ImageObserverclass Objecttrait Matchableclass AnyShow all
Utilities for rendering with Java2D
Attributes
- Source
- Java2dAnimationRenderer.scala
- Supertypes
- 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
- Self type
Attributes
- Source
- Java2dBufferedImageWriter.scala
- Supertypes
- Self type
Attributes
- Source
- DefaultFrame.scala
- Supertypes
- Self type
-
Java2dDefaultFrame.type
Attributes
- Source
- Java2dWriter.scala
- Supertypes
- Self type
-
Java2dGifWriter.type
Attributes
- Source
- Java2dWriter.scala
- Supertypes
- Self type
-
Java2dJpgWriter.type
Attributes
- Source
- Java2dWriter.scala
- Supertypes
- Self type
-
Java2dPdfWriter.type
Attributes
- Source
- Java2dWriter.scala
- Supertypes
- Self type
-
Java2dPngWriter.type
Attributes
- Source
- Java2dRenderer.scala
- Supertypes
- Self type
-
Java2dRenderer.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 JFrametrait RootPaneContainertrait WindowConstantsclass Frameclass Windowtrait Accessibleclass Containerclass Componenttrait Serializabletrait MenuContainertrait ImageObserverclass Objecttrait Matchableclass AnyShow all
Attributes
- Source
- Java2dWriter.scala
- Supertypes
- Known subtypes
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
- Known subtypes
-
object ClearToBackgroundclass ClearToColor
Attributes
- Companion
- trait
- Source
- Redraw.scala
- Supertypes
- Self type
-
Redraw.type
Attributes
- Companion
- object
- Source
- Size.scala
- Supertypes
- Known subtypes
-
class FitToImageclass FixedSize
Attributes
- Companion
- class
- Source
- Size.scala
- Supertypes
- Self type
-
Size.type