|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IArrow
Defines an interface that classes defining an arrow should implement.
This file is part of LaTeXDraw.
Copyright (c) 2005-2012 Arnaud BLOUIN
LaTeXDraw is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Foundation; either version 2 of the License, or (at your option) any later version.
LaTeXDraw is distributed without any warranty; without even the implied
warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
07/03/2009
Nested Class Summary | |
---|---|
static class |
IArrow.ArrowStyle
|
Method Summary | |
---|---|
void |
copy(IArrow model)
Copies the parameters of the given arrow to the current arrow. |
ILine |
getArrowLine()
|
double |
getArrowShapedWidth()
|
IArrow.ArrowStyle |
getArrowStyle()
|
double |
getBarShapedArrowWidth()
|
double |
getBracketShapedArrowLength()
|
IPoint |
getPosition()
|
double |
getRoundShapedArrowRadius()
|
IShape |
getShape()
|
boolean |
hasStyle()
|
boolean |
isInverted()
|
boolean |
isLeftArrow()
|
void |
setArrowStyle(IArrow.ArrowStyle arrowStyle)
Defines the style of the arrow. |
void |
setShape(IShape shape)
Defines the shape that contains the arrow. |
Methods inherited from interface net.sf.latexdraw.glib.models.interfaces.IArrowable |
---|
getArrowInset, getArrowLength, getArrowSizeDim, getArrowSizeNum, getBracketNum, getDotSizeDim, getDotSizeNum, getRBracketNum, getTBarSizeDim, getTBarSizeNum, setArrowInset, setArrowLength, setArrowSizeDim, setArrowSizeNum, setBracketNum, setDotSizeDim, setDotSizeNum, setRBracketNum, setTBarSizeDim, setTBarSizeNum |
Method Detail |
---|
void copy(IArrow model)
model
- The arrow to copy. Cannot be null.boolean hasStyle()
void setArrowStyle(IArrow.ArrowStyle arrowStyle)
arrowStyle
- The new style of the arrow.IPoint getPosition()
IArrow.ArrowStyle getArrowStyle()
boolean isLeftArrow()
boolean isInverted()
IShape getShape()
void setShape(IShape shape)
shape
- The new shape. Cannot be null.ILine getArrowLine()
double getRoundShapedArrowRadius()
double getBarShapedArrowWidth()
double getBracketShapedArrowLength()
double getArrowShapedWidth()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |