Java2d

object Java2d

Utilities for rendering with Java2D

Source:
Java2d.scala
class Object
trait Matchable
class Any
Java2d.type

Value members

Concrete methods

def inverseTransform(bb: BoundingBox, width: Double, height: Double, center: Center): Transform

Create a transform from screen coordinates to local logical coordinates given the bounding box for a picture, the screen size, and descriptino of the relationship between screen and picture.

Create a transform from screen coordinates to local logical coordinates given the bounding box for a picture, the screen size, and descriptino of the relationship between screen and picture.

Source:
Java2d.scala
def render(gc: Graphics2D, image: List[Reified], transform: Transform): Unit
def setup(graphics: Graphics2D): Graphics2D
def size(bb: BoundingBox, size: Size): (Double, Double)

Calculate the size the panel or buffer should be given picture's bounding box and the frame description.

Calculate the size the panel or buffer should be given picture's bounding box and the frame description.

Source:
Java2d.scala
def transform(bb: BoundingBox, width: Double, height: Double, center: Center): Transform

Create a transform from local logical coordinates to screen coordinates given the bounding box for a picture, the screen size, and description of the relationship between screen and picture.

Create a transform from local logical coordinates to screen coordinates given the bounding box for a picture, the screen size, and description of the relationship between screen and picture.

Source:
Java2d.scala