jp.carabiner.inkpod.pi.shape
インタフェース PPolylineRelationShape

すべてのスーパーインタフェース:
PAbstractRelationShape, PDefaultObjectShape, PObjectShape, PRelationObjectShape
既知のサブインタフェースの一覧:
IPolylineRelationShape
既知の実装クラスの一覧:
PolylineRelationShape

public interface PPolylineRelationShape
extends PAbstractRelationShape

直線のshape


メソッドの概要
 void addPoint(int index, java.awt.geom.Point2D p)
          指定した位置に頂点を追加する。
 java.awt.geom.Point2D[] getPointList()
          頂点をすべて返す。
 boolean isFixPoint()
           
 void removePoint(int index)
          指定した位置の頂点を削除する。
 void setFixPoint(boolean fixPoint)
           
 void setPoint(int index, java.awt.geom.Point2D p)
          指定した位置の頂点の位置を変更する。
 void setPointList(java.awt.geom.Point2D[] pointList)
          頂点をすべて変更する
 
インタフェース jp.carabiner.inkpod.pi.shape.PAbstractRelationShape から継承されたメソッド
getEndArrowShapeName, getEndLabel, getLineLength, getRelationLineAlpha, getRelationLineColor, getRelationLineType, getRelationLineWidth, getStartArrowShapeName, getStartLabel, getTextBoxLocationRatio, getTextBoxPoint, setEndArrowShapeName, setEndLabel, setRelationLineAlpha, setRelationLineColor, setRelationLineType, setRelationLineWidth, setStartArrowShapeName, setStartLabel, setTextBoxLocationRatio
 
インタフェース jp.carabiner.inkpod.pi.shape.PDefaultObjectShape から継承されたメソッド
getBottomTextPadding, getFillAlpha, getFillColor, getFillColor2, getFont, getFrameAlpha, getGradientTypeName, getLeftTextPadding, getLineColor, getLineType, getLineWidth, getRightTextPadding, getShadowAlpha, getShadowColor, getShadowOffset, getTextAlign, getTextAlpha, getTextColor, getTextLineSpace, getTextVerticalAlign, getTopTextPadding, isDrawFrame, isFill, isGradient, isShadow, isTextUneditable, setBottomTextPadding, setDrawFrame, setFill, setFillAlpha, setFillColor, setFillColor2, setFont, setFrameAlpha, setGradient, setGradientTypeName, setLeftTextPadding, setLineColor, setLineType, setLineWidth, setRightTextPadding, setShadow, setShadowAlpha, setShadowColor, setShadowOffset, setText, setTextAlign, setTextAlpha, setTextColor, setTextLineSpace, setTextUneditable, setTextVerticalAlign, setTopTextPadding
 
インタフェース jp.carabiner.inkpod.pi.shape.PRelationObjectShape から継承されたメソッド
getEndFillArrowShape, getLineEndPoint, getLineEndPoint, getLineStartPoint, getLineStartPoint, getObject, getRelationLineShape, getRenderer, getRotatedEndFillArrowShape, getRotatedStartFillArrowShape, getStartFillArrowShape, getStrokedRelationLineShape, getStrokedRotatedRelationLineShape, getTextBoxBounds, setLineEndPoint, setLineStartPoint
 
インタフェース jp.carabiner.inkpod.pi.shape.PObjectShape から継承されたメソッド
autoReshape, autoReshape, contains, flipHorizontal, flipVertical, getBounds, getBounds, getCenterPoint, getCenterPoint, getLocation, getLocation, getRawBounds, getRotation, getRotationTransform, getSearchableText, getShapeType, getShapeTypeName, getText, intersects, isBoundsMovable, isBoundsResizable, isEditing, isFlip, isHorizontalResizable, isVerticalResizable, readyAutoReshape, setBounds, setFlip, setLocation, setLocation, setLocation, setLocation, setRotation, updateShape
 

メソッドの詳細

isFixPoint

boolean isFixPoint()

setFixPoint

void setFixPoint(boolean fixPoint)

addPoint

void addPoint(int index,
              java.awt.geom.Point2D p)
指定した位置に頂点を追加する。

パラメータ:
index - 始点から数えた頂点の位置 (始点を含まず、0から始まるインデックス)
p - 頂点の座標

removePoint

void removePoint(int index)
指定した位置の頂点を削除する。

パラメータ:
index - 始点から数えた頂点の位置 (始点を含まず、0から始まるインデックス)

setPoint

void setPoint(int index,
              java.awt.geom.Point2D p)
指定した位置の頂点の位置を変更する。

パラメータ:
index - 始点から数えた頂点の位置 (始点を含まず、0から始まるインデックス)
p - 新しい頂点の座標

setPointList

void setPointList(java.awt.geom.Point2D[] pointList)
頂点をすべて変更する

パラメータ:
pointList - 頂点の座標の配列(始点、終点を含まない)

getPointList

java.awt.geom.Point2D[] getPointList()
頂点をすべて返す。

戻り値:
頂点の座標の配列(始点、終点を含まない)