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

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

org.netbeans.api.visual 2.2

org.netbeans.api.visual.anchor
Interface PointShape


public interface PointShape

Represents a point shape. Usually used for control points and end points of a connection widget.


Field Summary
static PointShape NONE
          The empty point shape.
static PointShape SQUARE_FILLED_BIG
          The 8px big filled-square shape.
static PointShape SQUARE_FILLED_SMALL
          The 6px big filled-square shape.
 
Method Summary
 int getRadius()
          Returns a radius of the shape.
 void paint(Graphics2D graphics)
          Renders a shape into the graphics instance
 

Field Detail

NONE

static final PointShape NONE
The empty point shape.


SQUARE_FILLED_BIG

static final PointShape SQUARE_FILLED_BIG
The 8px big filled-square shape.


SQUARE_FILLED_SMALL

static final PointShape SQUARE_FILLED_SMALL
The 6px big filled-square shape.

Method Detail

getRadius

int getRadius()
Returns a radius of the shape.

Returns:
the radius

paint

void paint(Graphics2D graphics)
Renders a shape into the graphics instance

Parameters:
graphics -

org.netbeans.api.visual 2.2

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