doodle.java2d.effect
Members list
Type members
Classlikes
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
- Graph
- Supertypes
- class JFrametrait RootPaneContainertrait WindowConstantsclass Frameclass Windowtrait Accessibleclass Containerclass Componenttrait Serializabletrait MenuContainertrait ImageObserverclass Objecttrait Matchableclass Any
Attributes
- Companion:
- class
- Source:
- Canvas.scala
- Graph
- 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
- Graph
- Supertypes
- Known subtypes
- object AtOrigin.typeobject CenteredOnPicture.type
Attributes
- Companion:
- class
- Source:
- Center.scala
- Graph
- 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
- Graph
- Supertypes
Attributes
- Companion:
- class
- Source:
- Frame.scala
- Graph
- Supertypes
- Self type
- Frame.type
Utilities for rendering with Java2D
Utilities for rendering with Java2D
Attributes
- Source:
- Java2d.scala
- Graph
- Supertypes
- Self type
- Java2d.type
Attributes
- Source:
- Java2dAnimationRenderer.scala
- Graph
- 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
- Graph
- Supertypes
- Self type
Attributes
- Source:
- Java2dWriter.scala
- Graph
- Supertypes
- Self type
- Java2dGifWriter.type
Attributes
- Source:
- Java2dWriter.scala
- Graph
- Supertypes
- Self type
- Java2dJpgWriter.type
Attributes
- Source:
- Java2dWriter.scala
- Graph
- Supertypes
- Self type
- Java2dPdfWriter.type
Attributes
- Source:
- Java2dWriter.scala
- Graph
- Supertypes
- Self type
- Java2dPngWriter.type
Attributes
- Source:
- Java2dRenderer.scala
- Graph
- Supertypes
- Self type
- Java2dRenderer.type
Attributes
- Companion:
- object
- Source:
- Java2dWriter.scala
- Graph
- Supertypes
- Known subtypes
- object Java2dGifWriter.typeobject Java2dJpgWriter.typeobject Java2dPdfWriter.typeobject Java2dPngWriter.type
Attributes
- Companion:
- trait
- Source:
- Java2dWriter.scala
- Graph
- Supertypes
- Self type
- Java2dWriter.type
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
- Graph
- Supertypes
- Known subtypes
- object ClearToBackground.typeclass ClearToColor
Attributes
- Companion:
- trait
- Source:
- Redraw.scala
- Graph
- Supertypes
- Self type
- Redraw.type
Attributes
- Companion:
- object
- Source:
- Size.scala
- Graph
- Supertypes
- Known subtypes
- class FitToImageclass FixedSize
Attributes
- Companion:
- class
- Source:
- Size.scala
- Graph
- Supertypes
- Self type
- Size.type