Package org.eclipse.draw2d
Class ScaledGraphics.State
java.lang.Object
org.eclipse.draw2d.ScaledGraphics.State
- Enclosing class:
- ScaledGraphics
The internal state of the scaled graphics.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
State()
Constructs a new, uninitialized State object.protected
Constructs a new State object and initializes the properties based on the given values.protected
Constructs a new State object and initializes the properties based on the given values. -
Method Summary
-
Constructor Details
-
State
protected State()Constructs a new, uninitialized State object. -
State
Constructs a new State object and initializes the properties based on the given values.- Parameters:
zoom
- the zoom factorx
- the x offsety
- the y offsetfont
- the fontlineWidth
- the line width
-
State
Constructs a new State object and initializes the properties based on the given values.- Parameters:
zoom
- the zoom factorx
- the x offsety
- the y offsetfont
- the fontlineWidth
- the line width- Since:
- 3.5
-
-
Method Details
-
setValues
Sets all the properties of the state object.- Parameters:
zoom
- the zoom factorx
- the x offsety
- the y offsetfont
- the fontlineWidth
- the line width
-
setValues
Sets all the properties of the state object.- Parameters:
zoom
- the zoom factorx
- the x offsety
- the y offsetfont
- the fontlineWidth
- the line width- Since:
- 3.5
-