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/StyleSpan below:

StyleSpan | Google Play services

StyleSpan

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

Describes the style for some region of a polyline.

Inherited Constant Summary From interface android.os.Parcelable int CONTENTS_FILE_DESCRIPTOR int PARCELABLE_WRITE_RETURN_VALUE Public Constructor Summary StyleSpan

(

StrokeStyle

style, double segments)

Creates a span with the given style and length in number of segments.

StyleSpan

(int color)

Creates a solid color span of length one segment.

StyleSpan

(int color, double segments)

Creates a solid color span with a given number of segments.

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 StyleSpan (StrokeStyle style, double segments)

Creates a span with the given style and length in number of segments.

Parameters style the style of this span. segments the length of this span in number of segments. public StyleSpan (StrokeStyle style)

Creates a span with the given style of length one segment.

Parameters style the style of this span. public StyleSpan (int color)

Creates a solid color span of length one segment.

Parameters color the color of this span. public StyleSpan (int color, double segments)

Creates a solid color span with a given number of segments.

Parameters color the color of this span. segments the length of this span in number of segments. Public Methods public double getSegments ()

Gets the length of this span in number of segments.

public StrokeStyle getStyle ()

Gets the style of this span.

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."],[[["`StyleSpan` describes the styling (color, pattern, etc.) of a section of a polyline on a map."],["You can create a `StyleSpan` with a specific `StrokeStyle` and length, or with just a color and length."],["`StyleSpan` allows you to control the appearance of individual sections of a polyline for visual customization."],["You can retrieve the style and length of a `StyleSpan` using the `getStyle()` and `getSegments()` methods."]]],[]]


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