protected static class ScaledGraphics.State
extends java.lang.Object
Modifier | Constructor and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
protected ScaledGraphics.State()
protected ScaledGraphics.State(double zoom, double x, double y, Font font, int lineWidth)
zoom
- the zoom factorx
- the x offsety
- the y offsetfont
- the fontlineWidth
- the line widthprotected ScaledGraphics.State(double zoom, double x, double y, Font font, float lineWidth)
zoom
- the zoom factorx
- the x offsety
- the y offsetfont
- the fontlineWidth
- the line widthprotected void setValues(double zoom, double x, double y, Font font, int lineWidth)
zoom
- the zoom factorx
- the x offsety
- the y offsetfont
- the fontlineWidth
- the line widthprotected void setValues(double zoom, double x, double y, Font font, float lineWidth)
zoom
- the zoom factorx
- the x offsety
- the y offsetfont
- the fontlineWidth
- the line widthCopyright (c) IBM Corp. and others 2000, 2011. All Rights Reserved.