|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.latexdraw.glib.models.impl.LShape
net.sf.latexdraw.glib.models.impl.LModifiablePointsShape
net.sf.latexdraw.glib.models.impl.LPolygon
net.sf.latexdraw.glib.models.impl.LPolyline
class LPolyline
Defines a view of a polyline.
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.
02/13/2008
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface net.sf.latexdraw.glib.models.interfaces.IShape |
---|
IShape.BorderPos, IShape.FillingStyle, IShape.LineStyle, IShape.Position |
Field Summary |
---|
Fields inherited from class net.sf.latexdraw.glib.models.impl.LShape |
---|
arrows, bordersPosition, dashSepBlack, dashSepWhite, dbleBordCol, dbleBordSep, dotSep, fillingCol, fillingStyle, gradAngle, gradColEnd, gradColStart, gradMidPt, hasDbleBord, hasShadow, hatchingsAngle, hatchingsCol, hatchingsSep, hatchingsWidth, id, lineColour, lineStyle, modified, opacity, points, rotationAngle, shadowAngle, shadowCol, shadowSize, showPts, thickness |
Fields inherited from interface net.sf.latexdraw.glib.models.interfaces.IShape |
---|
GOLDEN_ANGLE, PPC |
Constructor Summary | |
---|---|
protected |
LPolyline(boolean uniqueID)
Creates a model with no point. |
protected |
LPolyline(IPoint point,
IPoint point2,
boolean uniqueID)
Creates a model with two points. |
Method Summary | |
---|---|
IPolyline |
duplicate()
Creates a duplicate of the shape (however id are not the same). |
ILine |
getArrowLine(IArrow arrow)
|
boolean |
isArrowable()
|
boolean |
isFillable()
|
boolean |
shadowFillsShape()
|
Methods inherited from class net.sf.latexdraw.glib.models.impl.LPolygon |
---|
isDbleBorderable, isInteriorStylable, isLineStylable, isShadowable, isThicknessable |
Methods inherited from class net.sf.latexdraw.glib.models.impl.LModifiablePointsShape |
---|
addPoint, addPoint, removePoint, removePoint, replacePoint, setPoint, setPoint |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface net.sf.latexdraw.glib.models.interfaces.IModifiablePointsShape |
---|
addPoint, addPoint, removePoint, removePoint, replacePoint, setPoint, setPoint |
Methods inherited from interface org.malai.properties.Modifiable |
---|
isModified, setModified |
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 |
Constructor Detail |
---|
protected LPolyline(boolean uniqueID)
uniqueID
- True: the shape will have a unique ID.protected LPolyline(IPoint point, IPoint point2, boolean uniqueID)
uniqueID
- True: the shape will have a unique ID.Method Detail |
---|
public IPolyline duplicate()
IShape
duplicate
in interface IPolygon
duplicate
in interface IPolyline
duplicate
in interface IShape
duplicate
in class LPolygon
public ILine getArrowLine(IArrow arrow)
getArrowLine
in interface IShape
getArrowLine
in class LShape
arrow
- The arrow to analyse.
public boolean isFillable()
isFillable
in interface IShape
isFillable
in class LPolygon
public boolean isArrowable()
isArrowable
in interface IShape
isArrowable
in class LShape
public boolean shadowFillsShape()
shadowFillsShape
in interface IShape
shadowFillsShape
in class LShape
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |