public class JaxoSArc extends JaxoDashArc
SELECT_P3
GHOST_DASH, GLUON_FREQ, PHOTON_FREQ, SCALAR_DASH
SELECT_DX, SELECT_DY, SELECT_P2
D_FORMAT, GRAY_SCALE_FORMAT, SELECT_NONE, SELECT_P1
Constructor and Description |
---|
JaxoSArc() |
Modifier and Type | Method and Description |
---|---|
protected float[] |
innerStrokeDashes(double radius)
Returns an array that is used as the dash parameter in
BasicStroke to paint the inner part of
this arc in double-line mode. |
boolean |
isCopy(JaxoObject comp)
Determines if this JaxoObject is a copy of the specified one.
|
protected float[] |
outerStrokeDashes(double radius)
Returns an array that is used as the dash parameter in
BasicStroke to paint the outer part of
this arc in double-line mode. |
void |
prepareEditPanel(JaxoObjectEditPanel editPanel)
Initializes the given editPanel to edit properties of this JaxoObject.
|
void |
setPreferences()
Applies default values to this JaxoObject.
|
protected float[] |
strokeDashes()
Returns an array that is used as the dash parameter in
BasicStroke to paint this object. |
getBounds, latexCommand, paint, resetStroke
arrowCoordinates, getArcLength, getArcParameters, getArcPoint, getCenterPoint, getEquidistantPoint, getEquidistantPoints, getMidArcPoint, getOpeningAngle, getRadius, isClockwise, isSingular, paintVisualAid, setArcPts, setState, tooSingular
canBeSelected, copyFrom, getGrabbedHandle, getPointCount, getX, getX3, getY, getY3, isOneLine, moveBy, paintHandles, rescaleObject, set3Pts, setX, setX3, setY, setY3, smallestDistanceTo
arrowPositionIs, copy, copyFrom, dashIs, dlSepIs, getAmp, getArrow, getArrowPosition, getDash, getDLSeparation, getWiggles, isDoubleLine, isFlip, isPaintArrow, paintArrow, setAmp, setArrow, setArrowPosition, setDash, setDLSeparation, setDoubleLine, setFlip, setPaintArrow, setWiggles
copyFrom, getHeight, getRelh, getRelSize, getRelw, getSize, getStroke, getStrokeWidth, getWidth, getX2, getY2, latexWidth, setLocation, setRadius, setRelativeHeight, setRelativeWidth, setRelWAndH, setStroke, setStrokeWidth, setX2, setY2, strokeIs
addPropertyChangeListener, contains, contains, contains, contains, copyFrom, firePropertyChange, getBounds2D, getBoundsWithHandles, getColor, getGeneralPath, getLaTexLocation, getName, getPathIterator, getPathIterator, getPoints, getX, getY, intersects, intersects, isAround, isMarked, propertyChange, removePropertyChangeListener, setAsMarked, setColor, setLocation, setParameter, setParameter, setParameter, setParameter, setParameter, setParameter, setParameter, setPointCount, setPoints, setTransient, setX, setXPosition, setY, setYPosition
public final boolean isCopy(JaxoObject comp)
isCopy
in class JaxoArcObject
comp
- The JaxoObject to compare against.protected float[] strokeDashes()
BasicStroke
to paint this object.strokeDashes
in class JaxoDashArc
protected float[] innerStrokeDashes(double radius)
BasicStroke
to paint the inner part of
this arc in double-line mode.innerStrokeDashes
in class JaxoDashArc
radius
- the radius.protected float[] outerStrokeDashes(double radius)
BasicStroke
to paint the outer part of
this arc in double-line mode.outerStrokeDashes
in class JaxoDashArc
radius
- the radius.public void setPreferences()
preferences
.setPreferences
in class JaxoParticleObject
public void prepareEditPanel(JaxoObjectEditPanel editPanel)
prepareEditPanel
in class JaxoObject
editPanel
- the panel to prepare.Licensed under GPL. For more information, see http://jaxodraw.sourceforge.net/license.html or the LICENSE file in the jaxodraw distribution.