Eclipse Draw2d
2.1

org.eclipse.draw2d
Class ScaledGraphics.State

java.lang.Object
  |
  +--org.eclipse.draw2d.ScaledGraphics.State
Enclosing class:
ScaledGraphics

protected static class ScaledGraphics.State
extends Object

The internal state of the scaled graphics.


Constructor Summary
protected ScaledGraphics.State()
          Constructs a new, uninitialized State object.
protected ScaledGraphics.State(double zoom, double x, double y, Font font, int lineWidth)
          Constructs a new State object and initializes the properties based on the given values.
 
Method Summary
protected  void setValues(double zoom, double x, double y, Font font, int lineWidth)
          Sets all the properties of the state object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScaledGraphics.State

protected ScaledGraphics.State()
Constructs a new, uninitialized State object.


ScaledGraphics.State

protected ScaledGraphics.State(double zoom,
                               double x,
                               double y,
                               Font font,
                               int lineWidth)
Constructs a new State object and initializes the properties based on the given values.

Parameters:
zoom - the zoom factor
x - the x offset
y - the y offset
font - the font
lineWidth - the line width
Method Detail

setValues

protected void setValues(double zoom,
                         double x,
                         double y,
                         Font font,
                         int lineWidth)
Sets all the properties of the state object.

Parameters:
zoom - the zoom factor
x - the x offset
y - the y offset
font - the font
lineWidth - the line width

Eclipse Draw2d
2.1

Copyright (c) IBM Corp. and others 2000, 2003. All Rights Reserved.