Package org.jzy3d.plot2d.primitive
Class AWTAbstractImageGenerator
java.lang.Object
org.jzy3d.plot2d.primitive.AWTAbstractImageGenerator
- All Implemented Interfaces:
AWTImageGenerator
- Direct Known Subclasses:
AWTColorbarImageGenerator
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
configureText
(Graphics2D graphic) protected void
drawBackground
(int width, int height, Graphics2D graphic) protected void
drawBorder
(Graphics2D graphic, int width, int height) getFont()
boolean
void
setAWTFont
(Font font) void
setBackgroundColor
(Color backgroundColor) void
void
setForegroundColor
(Color foregroundColor) void
setHasBackground
(boolean hasBackground) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.jzy3d.plot2d.primitive.AWTImageGenerator
toImage
-
Field Details
-
awtFont
-
font
-
textSize
protected int textSize -
hasBackground
protected boolean hasBackground -
backgroundColor
-
foregroundColor
-
-
Constructor Details
-
AWTAbstractImageGenerator
public AWTAbstractImageGenerator()
-
-
Method Details
-
configureText
-
drawBackground
-
drawBorder
-
setFont
- Specified by:
setFont
in interfaceAWTImageGenerator
-
getFont
- Specified by:
getFont
in interfaceAWTImageGenerator
-
hasBackground
public boolean hasBackground()- Specified by:
hasBackground
in interfaceAWTImageGenerator
-
setHasBackground
public void setHasBackground(boolean hasBackground) - Specified by:
setHasBackground
in interfaceAWTImageGenerator
-
getBackgroundColor
- Specified by:
getBackgroundColor
in interfaceAWTImageGenerator
-
setBackgroundColor
- Specified by:
setBackgroundColor
in interfaceAWTImageGenerator
-
getForegroundColor
- Specified by:
getForegroundColor
in interfaceAWTImageGenerator
-
setForegroundColor
- Specified by:
setForegroundColor
in interfaceAWTImageGenerator
-
getAWTFont
- Specified by:
getAWTFont
in interfaceAWTImageGenerator
-
setAWTFont
- Specified by:
setAWTFont
in interfaceAWTImageGenerator
-