Package org.geoforge.worldwind.builder.entry

Source Code of org.geoforge.worldwind.builder.entry.GfrEntryBltObjPikShpCls

/* Copyright (C) 2001, 2011 United States Government as represented by
the Administrator of the National Aeronautics and Space Administration.
All Rights Reserved.
*/

package org.geoforge.worldwind.builder.entry;

import gov.nasa.worldwind.render.BasicShapeAttributes;
import gov.nasa.worldwind.render.ExtrudedPolygon;
import gov.nasa.worldwind.render.Material;
import gov.nasa.worldwind.render.ShapeAttributes;

/**
* @author pabercrombie
* @version $Id: ExtrudedPolygonEditor.java 1 2011-07-16 23:22:47Z dcollins $
*
* modified, inner-class extracted, bantchao
*
* PolygonEntry
*/

public class GfrEntryBltObjPikShpCls extends GfrEntryBltObjPikShpAbs
{
   static private ShapeAttributes _s_getSelectionAttributes_()
    {
        ShapeAttributes attributes = new BasicShapeAttributes();
        attributes.setInteriorMaterial(Material.WHITE);
        attributes.setOutlineMaterial(Material.BLACK);
        attributes.setDrawOutline(true);
        attributes.setInteriorOpacity(0.8);
        attributes.setOutlineOpacity(0.8);
        attributes.setOutlineWidth(2);
        return attributes;
    }
  
   // ---

    public GfrEntryBltObjPikShpCls(ExtrudedPolygon polygon)
    {
        super(polygon, _s_getSelectionAttributes_());
   
}
TOP

Related Classes of org.geoforge.worldwind.builder.entry.GfrEntryBltObjPikShpCls

TOP
Copyright © 2018 www.massapi.com. 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.