Google Maps Platform 即将推出全新地图样式。此次地图样式更新包括全新默认调色板,以及地图体验和易用性方面的改进。所有地图样式将于 2025 年 3 月自动更新。如需详细了解适用范围以及如何提前选择启用,请参阅
全新 Google Maps Platform 地图样式。
StampStyle
继承的方法摘要
继承自 java.lang.Object 类
布尔值
|
equals(Object arg0)
|
final
Class<?>
|
getClass()
|
整型
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
字符串
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
公共方法
要在描边上重复的图片或纹理。
呈现的图章将采用为 StrokeStyle 设置的线条的宽度。图像的朝向将设置为图像顶部朝向起点,底部朝向终点。例如,如果底层线条有两个点,并且起点位于端点正上方,那么图章将以竖直方向显示。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-09-05。
[null,null,["最后更新时间 (UTC):2024-09-05。"],[[["`StampStyle` defines how an image or texture is drawn repeatedly over a stroke on a map."],["It has two subclasses: `SpriteStyle` (for repeating point sprites) and `TextureStyle` (for non-repeating textures)."],["The `getStamp()` method retrieves the image or texture used for the stamp."],["The stamp's width matches the stroke's line width and its orientation aligns with the stroke's direction."]]],[]]