A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://developers.google.com/android/reference/com/google/android/gms/maps/model/CircleOptions below:

CircleOptions | Google Play services

CircleOptions

Stay organized with collections Save and categorize content based on your preferences.

Defines options for a Circle.

Developer Guide

For more information, read the Shapes developer guide.

Inherited Constant Summary From interface android.os.Parcelable int CONTENTS_FILE_DESCRIPTOR int PARCELABLE_WRITE_RETURN_VALUE Public Constructor Summary Public Method Summary Inherited Method Summary From class java.lang.Object Object

clone()

boolean void

finalize()

final Class<?>

getClass()

int

hashCode()

final void

notify()

final void

notifyAll()

String

toString()

final void

wait(long arg0, int arg1)

final void

wait(long arg0)

final void

wait()

From interface android.os.Parcelable abstract int

describeContents()

abstract void writeToParcel

(

Parcel

arg0, int arg1)

Public Constructors Public Methods public CircleOptions center (LatLng center)

Sets the center using a LatLng.

The center must not be null.

This method is mandatory because there is no default center.

Parameters center The geographic center as a LatLng. public CircleOptions clickable (boolean clickable)

Specifies whether this circle is clickable. The default setting is false.

Returns public CircleOptions fillColor (int color)

Sets the fill color.

The fill color is the color inside the circle, in the integer format specified by Color. If TRANSPARENT is used then no fill is drawn.

By default the fill color is transparent (0x00000000).

Parameters color color in the Color format public LatLng getCenter ()

Returns the center as a LatLng.

Returns public int getFillColor ()

Returns the fill color.

Returns public double getRadius ()

Returns the circle's radius, in meters.

Returns public int getStrokeColor ()

Returns the stroke color.

Returns public List<PatternItem> getStrokePattern ()

Returns the stroke pattern set in this CircleOptions object for the circle's outline.

Returns public float getStrokeWidth ()

Returns the stroke width.

Returns public float getZIndex ()

Returns the zIndex.

Returns public boolean isClickable ()

Gets the clickability setting for the circle.

Returns public boolean isVisible ()

Checks whether the circle is visible.

Returns public CircleOptions radius (double radius)

Sets the radius in meters.

The radius must be zero or greater. The default radius is zero.

public CircleOptions strokeColor (int color)

Sets the stroke color.

The stroke color is the color of this circle's outline, in the integer format specified by Color. If TRANSPARENT is used then no outline is drawn.

By default the stroke color is black (0xff000000).

Parameters color color in the Color format public CircleOptions strokePattern (List<PatternItem> pattern)

Sets a stroke pattern for the circle's outline. The default stroke pattern is solid, represented by null.

public CircleOptions strokeWidth (float width)

Sets the stroke width.

The stroke width is the width (in screen pixels) of the circle's outline. It must be zero or greater. If it is zero then no outline is drawn.

The default width is 10 pixels.

Parameters width width in screen pixels public CircleOptions visible (boolean visible)

Sets the visibility.

If this circle is not visible then it is not drawn, but all other state is preserved.

Parameters visible false to make this circle invisible public CircleOptions zIndex (float zIndex)

Sets the zIndex.

Overlays (such as circles) with higher zIndices are drawn above those with lower indices.

By default the zIndex is 0.0.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2024-10-31 UTC.

[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-31 UTC."],[[["`CircleOptions` defines properties like center, radius, color, and visibility for creating circles on a map."],["It provides methods to set and retrieve these properties, allowing customization of the circle's appearance and behavior."],["Circles can be made clickable to respond to user interactions."],["The stroke pattern and width can be adjusted to control the circle's outline."],["Z-index controls the drawing order of the circle relative to other map elements."]]],[]]


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4