JavaScript is disabled on your browser.
Uses of Class
java.awt.Graphics2D
-
Packages that use Graphics2D
Package |
Description |
java.awt |
Contains all of the classes for creating user interfaces and for painting
graphics and images.
|
java.awt.font |
Provides classes and interface relating to fonts.
|
java.awt.image |
Provides classes for creating and modifying images.
|
javax.swing |
Provides a set of "lightweight" (all-Java language) components
that, to the maximum degree possible, work the same on all platforms.
|
javax.swing.plaf.basic |
Provides user interface objects built according to the Basic look and feel.
|
javax.swing.plaf.nimbus |
Provides user interface objects built according to the cross-platform Nimbus
look and feel.
|
javax.swing.text |
Provides classes and interfaces that deal with editable and noneditable text
components.
|
-
-
-
Methods in java.awt.font with parameters of type Graphics2D
Modifier and Type |
Method |
Description |
abstract void |
GraphicAttribute.draw (Graphics2D graphics,
float x,
float y) |
Renders this GraphicAttribute at the specified
location.
|
void |
ImageGraphicAttribute.draw (Graphics2D graphics,
float x,
float y) |
Renders this GraphicAttribute at the specified
location.
|
void |
ShapeGraphicAttribute.draw (Graphics2D graphics,
float x,
float y) |
Renders this GraphicAttribute at the specified
location.
|
void |
TextLayout.draw (Graphics2D g2,
float x,
float y) |
Renders this TextLayout at the specified location in
the specified Graphics2D context.
|
-
-
-
-
-
Methods in javax.swing.text with parameters of type Graphics2D
Modifier and Type |
Method |
Description |
protected float |
PasswordView.drawEchoCharacter (Graphics2D g,
float x,
float y,
char c) |
Renders the echo character, or whatever graphic should be used
to display the password characters.
|
protected void |
PlainView.drawLine (int lineIndex,
Graphics2D g,
float x,
float y) |
Renders a line of text, suppressing whitespace at the end
and expanding any tabs.
|
protected void |
WrappedPlainView.drawLine (int p0,
int p1,
Graphics2D g,
float x,
float y) |
Renders a line of text, suppressing whitespace at the end
and expanding any tabs.
|
protected float |
PasswordView.drawSelectedText (Graphics2D g,
float x,
float y,
int p0,
int p1) |
protected float |
PlainView.drawSelectedText (Graphics2D g,
float x,
float y,
int p0,
int p1) |
Renders the given range in the model as selected text.
|
protected float |
WrappedPlainView.drawSelectedText (Graphics2D g,
float x,
float y,
int p0,
int p1) |
Renders the given range in the model as selected text.
|
static float |
Utilities.drawTabbedText (Segment s,
float x,
float y,
Graphics2D g,
TabExpander e,
int startOffset) |
Draws the given text, expanding any tabs that are contained
using the given tab expansion technique.
|
protected float |
PasswordView.drawUnselectedText (Graphics2D g,
float x,
float y,
int p0,
int p1) |
protected float |
PlainView.drawUnselectedText (Graphics2D g,
float x,
float y,
int p0,
int p1) |
Renders the given range in the model as normal unselected
text.
|
protected float |
WrappedPlainView.drawUnselectedText (Graphics2D g,
float x,
float y,
int p0,
int p1) |
Renders the given range in the model as normal unselected
text.
|
Scripting on this page tracks web page traffic, but does not change the content in any way.