Java2d

object Java2d

Utilities for rendering with Java2D

class Object
trait Matchable
class Any

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.

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.

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.