Draw2d
3.9.0.201308190730

org.eclipse.draw2d
Class ScaledGraphics.State

java.lang.Object
  extended by org.eclipse.draw2d.ScaledGraphics.State
Enclosing class:
ScaledGraphics

protected static class ScaledGraphics.State
extends java.lang.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, float lineWidth)
          Constructs a new State object and initializes the properties based on the given values.
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, float lineWidth)
          Sets all the properties of the state object.
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

ScaledGraphics.State

protected ScaledGraphics.State(double zoom,
                               double x,
                               double y,
                               Font font,
                               float 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
Since:
3.5
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

setValues

protected void setValues(double zoom,
                         double x,
                         double y,
                         Font font,
                         float 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
Since:
3.5

Draw2d
3.9.0.201308190730

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