/** * @param radius the new non-negative radius of this circle in meters. * @throws IllegalArgumentException if the given {@code radius} is negative or {@link Float#NaN}. */ public synchronized void setRadius(float radius) { setRadiusInternal(radius); }
/** * @param latLong the initial center point of this circle (may be null). * @param radius the initial non-negative radius of this circle in meters. * @param paintFill the initial {@code Paint} used to fill this circle (may be null). * @param paintStroke the initial {@code Paint} used to stroke this circle (may be null). * @param keepAligned if set to true it will keep the bitmap aligned with the map, * to avoid a moving effect of a bitmap shader. * @throws IllegalArgumentException if the given {@code radius} is negative or {@link Float#NaN}. */ public Circle(LatLong latLong, float radius, Paint paintFill, Paint paintStroke, boolean keepAligned) { super(); this.keepAligned = keepAligned; this.latLong = latLong; setRadiusInternal(radius); this.paintFill = paintFill; this.paintStroke = paintStroke; }
/** * @param radius the new non-negative radius of this circle in meters. * @throws IllegalArgumentException if the given {@code radius} is negative or {@link Float#NaN}. */ public synchronized void setRadius(float radius) { setRadiusInternal(radius); }
/** * @param latLong the initial center point of this circle (may be null). * @param radius the initial non-negative radius of this circle in meters. * @param paintFill the initial {@code Paint} used to fill this circle (may be null). * @param paintStroke the initial {@code Paint} used to stroke this circle (may be null). * @param keepAligned if set to true it will keep the bitmap aligned with the map, * to avoid a moving effect of a bitmap shader. * @throws IllegalArgumentException if the given {@code radius} is negative or {@link Float#NaN}. */ public Circle(LatLong latLong, float radius, Paint paintFill, Paint paintStroke, boolean keepAligned) { super(); this.keepAligned = keepAligned; this.latLong = latLong; setRadiusInternal(radius); this.paintFill = paintFill; this.paintStroke = paintStroke; }