|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.erichseifert.gral.DrawingContext
public class DrawingContext
Class that encapsulates an object for drawing and context information.
Nested Class Summary | |
---|---|
static class |
DrawingContext.Quality
Data type that describes the quality mode of drawing operations. |
static class |
DrawingContext.Target
Data type that describes the type of the drawing target. |
Constructor Summary | |
---|---|
DrawingContext(Graphics2D graphics)
Initializes a new context with a Graphics2D object. |
|
DrawingContext(Graphics2D graphics,
DrawingContext.Quality quality,
DrawingContext.Target target)
Initializes a new context with a Graphics2D object. |
Method Summary | |
---|---|
Graphics2D |
getGraphics()
Returns the object for drawing geometry. |
DrawingContext.Quality |
getQuality()
Returns the desired display quality. |
DrawingContext.Target |
getTarget()
Returns the drawing target. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DrawingContext(Graphics2D graphics)
Graphics2D
object.
graphics
- Object for drawing geometry.public DrawingContext(Graphics2D graphics, DrawingContext.Quality quality, DrawingContext.Target target)
Graphics2D
object.
graphics
- Object for drawing geometry.quality
- Drawing quality.target
- Target media.Method Detail |
---|
public Graphics2D getGraphics()
public DrawingContext.Quality getQuality()
public DrawingContext.Target getTarget()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |