|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjimgpnt.JImagePaintObject
jimgpnt.JImageRectObject
Draws a Rectangle2D.
Copyright (c) 2004 Alistair Dickie. All Rights Reserved. See alistairdickie.com for contact details See licence.txt for licence infomation
| Constructor Summary | |
|---|---|
JImageRectObject(java.awt.Color color,
java.awt.geom.Point2D locationStart,
java.awt.Stroke stroke,
boolean antialiased,
boolean filled,
double arcWidth,
double arcHeight,
float alpha)
|
|
| Method Summary | |
|---|---|
void |
addGraphics(java.awt.Graphics2D g)
|
JImagePaintObject |
createCopy(int xOffset,
int yOffset)
|
boolean |
finished(java.awt.geom.Point2D point)
|
double |
getArcHeight()
|
double |
getArcWidth()
|
java.awt.geom.Point2D[] |
getHighlightPoints()
|
java.awt.geom.Point2D |
getLocationEnd()
|
java.awt.geom.Point2D |
getLocationStart()
|
java.awt.Stroke |
getStroke()
|
double[] |
getTranslation()
|
boolean |
isFilled()
|
void |
setArcHeight(int arcHeight)
|
void |
setArcWidth(int arcWidth)
|
void |
setArcWidths(java.awt.geom.Point2D p)
|
void |
setFilled(boolean filled)
|
void |
setLocationEnd(java.awt.geom.Point2D locationEnd)
|
void |
setLocationMiddle(java.awt.geom.Point2D point)
|
void |
setLocationStart(java.awt.geom.Point2D locationStart)
|
void |
setStartDragLocs()
|
void |
setStroke(java.awt.Stroke stroke)
|
void |
updateArcPoint()
|
void |
updateLocation(java.awt.geom.Point2D point)
|
void |
updateMiddle()
|
| Methods inherited from class jimgpnt.JImagePaintObject |
|---|
addToGraphics, getAlpha, getColor, getCurrentPointIndex, getLocation, getStartDragLoc, isAntialiased, isSelected, keyPressed, setAlpha, setAntialiased, setColor, setCurrentPointIndex, setLocation, setSelected, setStartDragLoc |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JImageRectObject(java.awt.Color color,
java.awt.geom.Point2D locationStart,
java.awt.Stroke stroke,
boolean antialiased,
boolean filled,
double arcWidth,
double arcHeight,
float alpha)
| Method Detail |
|---|
public void updateArcPoint()
public void updateMiddle()
public void setArcWidths(java.awt.geom.Point2D p)
public void addGraphics(java.awt.Graphics2D g)
addGraphics in class JImagePaintObjectpublic java.awt.geom.Point2D getLocationStart()
public void setLocationStart(java.awt.geom.Point2D locationStart)
public java.awt.geom.Point2D getLocationEnd()
public void setLocationEnd(java.awt.geom.Point2D locationEnd)
public void setLocationMiddle(java.awt.geom.Point2D point)
public void setStartDragLocs()
setStartDragLocs in class JImagePaintObjectpublic void updateLocation(java.awt.geom.Point2D point)
updateLocation in class JImagePaintObjectpublic java.awt.Stroke getStroke()
public void setStroke(java.awt.Stroke stroke)
public java.awt.geom.Point2D[] getHighlightPoints()
getHighlightPoints in class JImagePaintObjectpublic boolean finished(java.awt.geom.Point2D point)
finished in class JImagePaintObjectpublic boolean isFilled()
public void setFilled(boolean filled)
public double getArcWidth()
public void setArcWidth(int arcWidth)
public double getArcHeight()
public void setArcHeight(int arcHeight)
public double[] getTranslation()
getTranslation in class JImagePaintObject
public JImagePaintObject createCopy(int xOffset,
int yOffset)
createCopy in class JImagePaintObject
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the Software), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
1. The origin of this Software must not be misrepresented; you must not claim that you wrote the original software. If you use the Software in a product, an acknowledgment in the product documentation would be appreciated but is not required.
2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original Software.
3. The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Alistair Dickie - See alistairdickie.com for contact details.