Uses of Class
java.awt.Graphics2D
-
Packages that use Graphics2D 软件包 描述 java.awt 包含用于创建用户界面和绘制图形和图像的所有类。java.awt.font 提供与字体相关的类和界面。java.awt.image 提供创建和修改图像的类。javax.swing 提供一套“轻量级”(全Java语言)组件,尽可能地在所有平台上工作。javax.swing.plaf.basic 提供根据“基本”外观构建的用户界面对象。javax.swing.plaf.nimbus 提供根据跨平台Nimbus外观构建的用户界面对象。javax.swing.text 提供处理可编辑和不可编辑文本组件的类和接口。 -
-
Uses of Graphics2D in java.awt
Methods in java.awt that return Graphics2D Modifier and Type 方法 描述 abstract Graphics2DGraphicsEnvironment. createGraphics(BufferedImage img)返回一个Graphics2D对象,用于渲染到指定的BufferedImage中 。Graphics2DSplashScreen. createGraphics()为启动屏幕叠加图像创建图形上下文(作为Graphics2D对象),允许您绘制闪屏。 -
Uses of Graphics2D in java.awt.font
Methods in java.awt.font with parameters of type Graphics2D Modifier and Type 方法 描述 abstract voidGraphicAttribute. draw(Graphics2D graphics, float x, float y)在指定的位置渲染此GraphicAttribute。voidImageGraphicAttribute. draw(Graphics2D graphics, float x, float y)在指定的位置渲染此GraphicAttribute。voidShapeGraphicAttribute. draw(Graphics2D graphics, float x, float y)在指定的位置渲染此GraphicAttribute。voidTextLayout. draw(Graphics2D g2, float x, float y)这呈现TextLayout在指定的指定位置Graphics2D上下文。 -
Uses of Graphics2D in java.awt.image
Methods in java.awt.image that return Graphics2D Modifier and Type 方法 描述 Graphics2DBufferedImage. createGraphics()创建一个Graphics2D,可以用来绘制这个BufferedImage。abstract Graphics2DVolatileImage. createGraphics()创建一个Graphics2D,可以用来绘制这个VolatileImage。 -
Uses of Graphics2D in javax.swing
Methods in javax.swing with parameters of type Graphics2D Modifier and Type 方法 描述 voidPainter. paint(Graphics2D g, T object, int width, int height)给予给定的Graphics2D对象。 -
Uses of Graphics2D in javax.swing.plaf.basic
Methods in javax.swing.plaf.basic with parameters of type Graphics2D Modifier and Type 方法 描述 static voidBasicGraphicsUtils. drawString(JComponent c, Graphics2D g, String string, float x, float y)使用提供的组件的文本属性和反锯齿提示在指定位置绘制给定的字符串。static voidBasicGraphicsUtils. drawStringUnderlineCharAt(JComponent c, Graphics2D g, String string, int underlinedIndex, float x, float y)在指定的位置绘制给定的字符串,强调指定的字符。 -
Uses of Graphics2D in javax.swing.plaf.nimbus
Methods in javax.swing.plaf.nimbus with parameters of type Graphics2D Modifier and Type 方法 描述 protected voidAbstractRegionPainter. configureGraphics(Graphics2D g)配置给定的Graphics2D。protected abstract voidAbstractRegionPainter. doPaint(Graphics2D g, JComponent c, int width, int height, Object[] extendedCacheKeys)实际执行绘画操作。voidAbstractRegionPainter. paint(Graphics2D g, JComponent c, int w, int h)渲染给给定的Graphics2D对象。 -
Uses of Graphics2D in javax.swing.text
Methods in javax.swing.text with parameters of type Graphics2D Modifier and Type 方法 描述 protected floatPasswordView. drawEchoCharacter(Graphics2D g, float x, float y, char c)呈现回音字符,或者用于显示密码字符的任何图形。protected voidPlainView. drawLine(int lineIndex, Graphics2D g, float x, float y)渲染一行文本,最终抑制空格并展开任何标签。protected voidWrappedPlainView. drawLine(int p0, int p1, Graphics2D g, float x, float y)渲染一行文本,最终抑制空格并展开任何标签。protected floatPasswordView. drawSelectedText(Graphics2D g, float x, float y, int p0, int p1)protected floatPlainView. drawSelectedText(Graphics2D g, float x, float y, int p0, int p1)将模型中的给定范围渲染为所选文本。protected floatWrappedPlainView. drawSelectedText(Graphics2D g, float x, float y, int p0, int p1)将模型中的给定范围渲染为所选文本。static floatUtilities. drawTabbedText(Segment s, float x, float y, Graphics2D g, TabExpander e, int startOffset)绘制给定的文本,使用给定的选项卡扩展技术扩展包含的所有选项卡。protected floatPasswordView. drawUnselectedText(Graphics2D g, float x, float y, int p0, int p1)protected floatPlainView. drawUnselectedText(Graphics2D g, float x, float y, int p0, int p1)将模型中的给定范围呈现为正常未选择的文本。protected floatWrappedPlainView. drawUnselectedText(Graphics2D g, float x, float y, int p0, int p1)将模型中的给定范围呈现为正常未选择的文本。
-