Package gov.nasa.worldwind.render

Examples of gov.nasa.worldwind.render.BasicShapeAttributes


        return dist;
   }
  
   public void setAttributesThis() throws Exception
   {
      BasicShapeAttributes bsa = new BasicShapeAttributes();
     
      // beg out
      bsa.setDrawOutline(true);
      final double dblWidthOut = 1;
      bsa.setOutlineWidth(dblWidthOut);
     
      Color colRgbOut = GfrWrpBasPrsDspPrjRndWwdEarthShpDimTwo.getInstance().getColorOut(this._strId_)
     bsa.setOutlineMaterial(new Material(colRgbOut));
    
     float fltAlphaOut = GfrWrpBasPrsDspPrjRndWwdEarthShpDimTwo.getInstance().getTransparencyOut(this._strId_);
     bsa.setOutlineOpacity((double) fltAlphaOut);
      // end out
     
      // beg in
     bsa.setDrawInterior(true);
     Color colRgbIn = GfrWrpBasPrsDspPrjRndWwdEarthShpDimTwo.getInstance().getColorIn(this._strId_)
     bsa.setInteriorMaterial(new Material(colRgbIn));
    
     float fltAlphaIn = GfrWrpBasPrsDspPrjRndWwdEarthShpDimTwo.getInstance().getTransparencyIn(this._strId_);
     bsa.setInteriorOpacity((double) fltAlphaIn);
      // end in
    
     super.setAttributes(bsa);
   }
View Full Code Here

TOP

Related Classes of gov.nasa.worldwind.render.BasicShapeAttributes

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.