Revision 29460 branches/v2_0_0_prep/applications/appgvSIG/src/com/iver/cit/gvsig/project/documents/layout/fframes/FFrameSymbol.java

View differences:

FFrameSymbol.java
144 144
    public void setBoundBox(Rectangle2D r) {
145 145
        m_BoundBox.setRect(r.getX(), r.getY(), r.getWidth(), r.getHeight());
146 146
    }
147

  
148
	public void setShapeType(int shapeType) {
149
		switch (shapeType) {
150
        case (Geometry.TYPES.POINT):
151
        	m_type = POINT;
152
            break;
153

  
154
        case (Geometry.TYPES.SURFACE):
155
        	m_type = POLYGON;
156
            break;
157

  
158
        case (Geometry.TYPES.CURVE):
159
        	m_type = LINE;
160
            break;
161
        }
162
	}
147 163
}

Also available in: Unified diff