@Deprecated public Bounds getBounds() { return Bounds.narrowToBounds(GetFeatureImpl.getBounds(getJSObject())); }
/** * Calculates the max extent which includes all of the features of this * vector layer. * * @return The bounds of the max extend calculated */ public Bounds getDataExtent() { return Bounds.narrowToBounds(VectorImpl.getDataExtentImp(getJSObject())); }
/** * Calculates the max extent which includes all of the features of this * vetor layer. * * @return The bounds of the max extend calculated */ public Bounds getDataExtent() { return Bounds.narrowToBounds(VectorImpl.getDataExtentImp(getJSObject())); }
/** * Scales the bounds. * * @param ratio * @return a new bounds that is scaled by ratio */ public Bounds scale(float ratio) { return Bounds.narrowToBounds(BoundsImpl.scale(this.getJSObject(), ratio, null)); }
/** * * @return Bounds */ public Bounds getMaxExtent() { return Bounds.narrowToBounds(getJSObject().getProperty("maxExtent")); }
/** * @param x * @param y * @return A new bounds whose coordinates are the same as this, but shifted * by the passed-in x and y values. */ public Bounds add(float x, float y) { return Bounds.narrowToBounds(BoundsImpl.add(this.getJSObject(), x, y)); }
@Override public Bounds getMaxExtent() { return Bounds.narrowToBounds(getJSObject().getProperty("maxExtent")); }
public Bounds getMaxExtent() { return Bounds.narrowToBounds(getJSObject().getProperty("maxExtent")); } }
public Bounds getBounds() { return Bounds.narrowToBounds(GetFeatureImpl.getBounds(getJSObject())); } }
public Bounds getMaxExtent() { return Bounds.narrowToBounds(getJSObject().getProperty("maxExtent")); }
public Bounds getExtent(){ return Bounds.narrowToBounds(ImageImpl.getExtent(getJSObject())); }
public Bounds getBounds() { return Bounds.narrowToBounds(BoxImpl.getBounds(getJSObject())); }
public Bounds getBounds() { return Bounds.narrowToBounds(GeometryImpl.getBounds(this.getJSObject())); }
public Bounds getBounds() { return Bounds.narrowToBounds(GeometryImpl.getBounds(this.getJSObject())); }
public Bounds getDataExtent() { return Bounds.narrowToBounds(MarkersImpl.getDataExtent(getJSObject())); }
public Bounds getExtent() { return Bounds.narrowToBounds(ImageImpl.getExtent(getJSObject())); }
/** * Scales the bounds around a LonLat. * * @param ratio * @param origin default is center * @return a new bounds that is scaled by ratio from origin */ public Bounds scale(float ratio, LonLat origin) { JSObject originJsObj = (origin == null) ? null : origin.getJSObject(); return Bounds.narrowToBounds(BoundsImpl.scale(this.getJSObject(), ratio, originJsObj)); }
public LonLat getCenterLonLat() { return Bounds.narrowToBounds(FeatureImpl.getBounds(this.getJSObject())).getCenterLonLat(); }
/** * Scales the bounds around a pixel. Note that the new bounds may return * non-integer properties. * * @param ratio * @param origin default is center * @return a new bounds that is scaled by ratio from origin */ public Bounds scale(float ratio, Pixel origin) { JSObject originJsObj = (origin == null) ? null : origin.getJSObject(); return Bounds.narrowToBounds(BoundsImpl.scale(this.getJSObject(), ratio, originJsObj)); }
public Bounds transform(Projection source, Projection dest) { return Bounds.narrowToBounds(BoundsImpl.transform(getJSObject(), source.getJSObject(), dest.getJSObject())); }