⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 visualvertexpainter.java

📁 OpenJGraph是一个开源的Java库
💻 JAVA
字号:
package salvo.jesus.graph.visual.drawing;import salvo.jesus.graph.*;import salvo.jesus.graph.visual.*;import java.awt.*;import java.awt.geom.*;/** * An interface for drawing a <tt>VisualVertex</tt>. * * @author Jesus M. Salvo Jr. */public interface VisualVertexPainter extends Painter {  /**   * Paints the outline of the <tt>VisualVertex</tt>   */  public void paintOutline( VisualGraphComponent component, Graphics2D g2d );  /**   * Paints the <tt>VisualVertex</tt>'s fill color.   */  public void paintFill( VisualGraphComponent component, Graphics2D g2d );  /**   * Paints the text of the <tt>VisualVertex</tt>.   */  public void paintText( VisualGraphComponent component, Graphics2D g2d );  /**   * Rescales the drawing based on either the font or text of   * the <tt>VisualVertex</tt> being changed. Thus, this method is   * usually called when an end-user changes such properties.   */  public void rescale( VisualVertex vv );}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -