站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > NetBeans API Javadoc (Current Development Version)

PointShapeFactory (Visual Library API) - NetBeans API Javadoc (Current Development Version)

org.netbeans.api.visual 2.2

org.netbeans.api.visual.anchor
Class PointShapeFactory

java.lang.Object
  extended by org.netbeans.api.visual.anchor.PointShapeFactory

public class PointShapeFactory
extends Object

The factory class of all built-in point shapes. The instances of all built-in point shapes can be used multiple connection widgets.


Method Summary
static PointShape createImagePointShape(Image image)
          Creates an image point shape.
static PointShape createPointShape(int size, boolean filled)
          Creates a square shape.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createPointShape

public static PointShape createPointShape(int size,
                                          boolean filled)
Creates a square shape.

Parameters:
size - the size
filled - if true, then the shape is filled

createImagePointShape

public static PointShape createImagePointShape(Image image)
Creates an image point shape.

Parameters:
image - the image
Returns:
the point shape

org.netbeans.api.visual 2.2

Built on May 28 2007.  |  Portions Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.