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(
StrokeStylestyle, double segments)
Creates a span with the given style
and length in number of segments.
(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 Objectclone()
boolean voidfinalize()
final Class<?>getClass()
inthashCode()
final voidnotify()
final voidnotifyAll()
StringtoString()
final voidwait(long arg0, int arg1)
final voidwait(long arg0)
final voidwait()
From interface android.os.Parcelable abstract intdescribeContents()
abstract void writeToParcel(
Parcelarg0, int arg1)
Public Constructors public StyleSpan (StrokeStyle style, double segments)Creates a span with the given style
and length in number of segments.
Creates a span with the given style
of length one segment.
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