Java2dAnimationWriter

doodle.java2d.effect.Java2dAnimationWriter$

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
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def write[A](file: File, frame: Frame, frames: Stream[IO, Picture[A]])(implicit m: Monoid[A]): IO[A]

Attributes

Source
Java2dAnimationWriter.scala

Concrete fields

val gifEncoder: IO[GifEncoder]

Attributes

Source
Java2dAnimationWriter.scala