|
||||||||||
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
class LPolygon
Defines a model of a polygon.
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 |
LPolygon(boolean uniqueID)
Creates a model with no point. |
protected |
LPolygon(IPoint point,
IPoint point2,
boolean uniqueID)
Creates a model with two points. |
Method Summary | |
---|---|
IPolygon |
duplicate()
Creates a duplicate of the shape (however id are not the same). |
boolean |
isDbleBorderable()
|
boolean |
isFillable()
|
boolean |
isInteriorStylable()
|
boolean |
isLineStylable()
|
boolean |
isShadowable()
|
boolean |
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 LPolygon(boolean uniqueID)
uniqueID
- True: the shape will have a unique ID.protected LPolygon(IPoint point, IPoint point2, boolean uniqueID)
uniqueID
- True: the shape will have a unique ID.
java.lang.IllegalArgumentException
- If one of the two points is null.Method Detail |
---|
public IPolygon duplicate()
IShape
duplicate
in interface IPolygon
duplicate
in interface IShape
duplicate
in class LShape
public boolean isDbleBorderable()
isDbleBorderable
in interface IShape
isDbleBorderable
in class LShape
public boolean isFillable()
isFillable
in interface IShape
isFillable
in class LShape
public boolean isInteriorStylable()
isInteriorStylable
in interface IShape
isInteriorStylable
in class LShape
public boolean isLineStylable()
isLineStylable
in interface IShape
isLineStylable
in class LShape
public boolean isShadowable()
isShadowable
in interface IShape
isShadowable
in class LShape
public boolean isThicknessable()
isThicknessable
in interface IShape
isThicknessable
in class LShape
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |