de.ukn.hci.squidy.designer.shape.visualization
Class PlotContext

java.lang.Object
  extended by de.ukn.hci.squidy.designer.shape.visualization.PlotContext

public class PlotContext
extends Object

PlotContext.

 Date: May 31, 2009
 Time: 5:42:21 PM
 

Since:
1.0.0
Version:
$Id: PlotContext.java 30 2009-09-18 22:23:35Z nitsche $
Author:
Roman Rädle Roman.Raedle@uni-konstanz.de Human-Computer Interaction Group University of Konstanz

Constructor Summary
PlotContext(edu.umd.cs.piccolo.util.PPaintContext paintContext, int width, int height, double scale, long sampleTime)
           
 
Method Summary
 Graphics2D getGraphics()
           
 int getHeight()
           
 long getSampleTime()
           
 double getScale()
           
 int getWidth()
           
 void popTransform(edu.umd.cs.piccolo.util.PAffineTransform transform)
           
 void pushTransform(edu.umd.cs.piccolo.util.PAffineTransform transform)
           
 void setSampleTime(long sampleTime)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PlotContext

public PlotContext(edu.umd.cs.piccolo.util.PPaintContext paintContext,
                   int width,
                   int height,
                   double scale,
                   long sampleTime)
Method Detail

getGraphics

public Graphics2D getGraphics()
Returns:
the graphics

pushTransform

public void pushTransform(edu.umd.cs.piccolo.util.PAffineTransform transform)
Parameters:
transform -

popTransform

public void popTransform(edu.umd.cs.piccolo.util.PAffineTransform transform)
Parameters:
transform -

getWidth

public int getWidth()
Returns:
the width

getHeight

public int getHeight()
Returns:
the height

getScale

public double getScale()
Returns:
the scale

getSampleTime

public long getSampleTime()
Returns:
the sampleTime

setSampleTime

public void setSampleTime(long sampleTime)
Parameters:
sampleTime - the sampleTime to set


Copyright © 2007-2010 Human-Computer-Interaction :: University of Konstanz. All Rights Reserved.