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
ConstructorsModifierConstructorDescriptionprotectedState()Constructs a new, uninitialized State object.protectedConstructs a new State object and initializes the properties based on the given values.protectedConstructs 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
-