jhplot.jadraw
Class JaFillObject
- java.lang.Object
-
- jhplot.jadraw.JaObject
-
- jhplot.jadraw.JaFillObject
-
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- JaAxes, JaBlob, JaBox, JaTextBox, JaVertexT5
public abstract class JaFillObject extends JaObject
A general object that can be filled.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description JaFillObject()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description java.awt.Color
getFillColor()
Returns the fill color of the fillColor object.float
getStroke()
Returns the stroke (line width) of this object.java.lang.String
latexWidth()
Returns the string that sets the latex line width of this FillObject.void
setFillColor(java.awt.Color color)
Sets the fill color of this fillColor object.void
setStroke(float newStroke)
Sets the stroke (line width) of this object.-
Methods inherited from class jhplot.jadraw.JaObject
copy, drawHandles, drawVisualAid, editPanel, getBoundingBox, getColor, getGeneralPath, getGrabbedHandle, getHeight, getRelh, getRelHndc, getRelHuser, getRelSize, getRelw, getRelWndc, getRelWuser, getSize, getWidth, getX, getXndc, getXuser, getY, getYndc, getYuser, isCopy, isMarked, isUser, jaxoDraw, latexCommand, moveBy, rescaleObject, scalePoint, setAsMarked, setBoundingBox, setColor, setLocation, setLocation, setRelh, setRelw, setRelWAndH, setRelWH, setSize, setX, setY, updateCoor, updateNDC
-
-
-
-
Method Detail
-
getFillColor
public final java.awt.Color getFillColor()
Returns the fill color of the fillColor object.- Returns:
- The fill color of this fillColor object.
-
setFillColor
public final void setFillColor(java.awt.Color color)
Sets the fill color of this fillColor object.- Parameters:
color
- The color to be set as fill color.
-
getStroke
public final float getStroke()
Returns the stroke (line width) of this object.- Returns:
- The stroke of this object.
-
setStroke
public final void setStroke(float newStroke)
Sets the stroke (line width) of this object.- Parameters:
newStroke
- The new stroke of this object.
-
latexWidth
public final java.lang.String latexWidth()
Returns the string that sets the latex line width of this FillObject.- Specified by:
latexWidth
in classJaObject
- Returns:
- The line width of this JaBlob.
-
-
DMelt 3.0 © DataMelt by jWork.ORG