Graphics2D
context's rendering attributes. The rendering attributes applied include the Clip
, Transform
, Paint
, and Composite
attributes. The GlyphVector
specifies individual glyphs from a {@link Font}. The GlyphVector
can also contain the glyph positions. This is the fastest way to render a set of characters to the screen.
@param g the GlyphVector
to be rendered
@param x the x position in User Space where the glyphs shouldbe rendered
@param y the y position in User Space where the glyphs shouldbe rendered
@throws NullPointerException if g
is null
.
@see java.awt.Font#createGlyphVector
@see java.awt.font.GlyphVector
@see #setPaint
@see java.awt.Graphics#setColor
@see #setTransform
@see #setComposite
@see #setClip
|
|