org.opensourcephysics.display3d.simple3d
Class Style
java.lang.Object
org.opensourcephysics.display3d.simple3d.Style
- All Implemented Interfaces:
- Style
public class Style
- extends java.lang.Object
- implements Style
Nested classes/interfaces inherited from interface org.opensourcephysics.display3d.core.Style |
Style.Loader |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
setLineColor
public void setLineColor(java.awt.Color _color)
- Specified by:
setLineColor
in interface Style
getLineColor
public final java.awt.Color getLineColor()
- Specified by:
getLineColor
in interface Style
setLineWidth
public void setLineWidth(float _width)
- Specified by:
setLineWidth
in interface Style
getLineWidth
public final float getLineWidth()
- Specified by:
getLineWidth
in interface Style
setFillColor
public void setFillColor(java.awt.Color _color)
- Specified by:
setFillColor
in interface Style
getFillColor
public final java.awt.Color getFillColor()
- Specified by:
getFillColor
in interface Style
setResolution
public void setResolution(Resolution _res)
- Specified by:
setResolution
in interface Style
getResolution
public final Resolution getResolution()
- Specified by:
getResolution
in interface Style
isDrawingFill
public boolean isDrawingFill()
- Specified by:
isDrawingFill
in interface Style
setDrawingFill
public void setDrawingFill(boolean _drawsFill)
- Specified by:
setDrawingFill
in interface Style
isDrawingLines
public boolean isDrawingLines()
- Specified by:
isDrawingLines
in interface Style
setDrawingLines
public void setDrawingLines(boolean _drawsLines)
- Specified by:
setDrawingLines
in interface Style
setDepthFactor
public void setDepthFactor(double factor)
- Specified by:
setDepthFactor
in interface Style
getDepthFactor
public double getDepthFactor()
- Specified by:
getDepthFactor
in interface Style
setTexture
public void setTexture(java.lang.String file1,
java.lang.String file2,
double transparency,
boolean combine)
- Specified by:
setTexture
in interface Style
getTextures
public java.lang.String[] getTextures()
- Specified by:
getTextures
in interface Style
getTransparency
public double getTransparency()
- Specified by:
getTransparency
in interface Style
getCombine
public boolean getCombine()
- Specified by:
getCombine
in interface Style
setRelativePosition
public final void setRelativePosition(int _position)
- Specified by:
setRelativePosition
in interface Style
getRelativePosition
public final int getRelativePosition()
- Specified by:
getRelativePosition
in interface Style
copyTo
public void copyTo(Style target)
- Specified by:
copyTo
in interface Style
getLoader
public static XML.ObjectLoader getLoader()