Class Style
java.lang.Object
org.opensourcephysics.display3d.simple3d.Style
- All Implemented Interfaces:
Style
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface org.opensourcephysics.display3d.core.Style
Style.Loader -
Field Summary
Fields inherited from interface org.opensourcephysics.display3d.core.Style
CENTERED, EAST, NORTH, NORTH_EAST, NORTH_WEST, SOUTH, SOUTH_EAST, SOUTH_WEST, WEST -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleandoublefinal Colorfinal Colorfinal floatstatic XML.ObjectLoaderfinal intfinal ResolutionString[]doublebooleanbooleanvoidsetDepthFactor(double factor) voidsetDrawingFill(boolean _drawsFill) voidsetDrawingLines(boolean _drawsLines) voidsetFillColor(Color _color) voidsetLineColor(Color _color) voidsetLineWidth(float _width) final voidsetRelativePosition(int _position) voidsetResolution(Resolution _res) voidsetTexture(String file1, String file2, double transparency, boolean combine)
-
Method Details
-
setLineColor
- Specified by:
setLineColorin interfaceStyle
-
getLineColor
- Specified by:
getLineColorin interfaceStyle
-
setLineWidth
public void setLineWidth(float _width) - Specified by:
setLineWidthin interfaceStyle
-
getLineWidth
public final float getLineWidth()- Specified by:
getLineWidthin interfaceStyle
-
setFillColor
- Specified by:
setFillColorin interfaceStyle
-
getFillColor
- Specified by:
getFillColorin interfaceStyle
-
setResolution
- Specified by:
setResolutionin interfaceStyle
-
getResolution
- Specified by:
getResolutionin interfaceStyle
-
isDrawingFill
public boolean isDrawingFill()- Specified by:
isDrawingFillin interfaceStyle
-
setDrawingFill
public void setDrawingFill(boolean _drawsFill) - Specified by:
setDrawingFillin interfaceStyle
-
isDrawingLines
public boolean isDrawingLines()- Specified by:
isDrawingLinesin interfaceStyle
-
setDrawingLines
public void setDrawingLines(boolean _drawsLines) - Specified by:
setDrawingLinesin interfaceStyle
-
setDepthFactor
public void setDepthFactor(double factor) - Specified by:
setDepthFactorin interfaceStyle
-
getDepthFactor
public double getDepthFactor()- Specified by:
getDepthFactorin interfaceStyle
-
setTexture
- Specified by:
setTexturein interfaceStyle
-
getTextures
- Specified by:
getTexturesin interfaceStyle
-
getTransparency
public double getTransparency()- Specified by:
getTransparencyin interfaceStyle
-
getCombine
public boolean getCombine()- Specified by:
getCombinein interfaceStyle
-
setRelativePosition
public final void setRelativePosition(int _position) - Specified by:
setRelativePositionin interfaceStyle
-
getRelativePosition
public final int getRelativePosition()- Specified by:
getRelativePositionin interfaceStyle
-
copyTo
-
getLoader
-