Google 地圖平台即將推出新版地圖樣式。新版地圖樣式內建全新的預設調色盤,並且提升地圖體驗、改善服務的可用性。所有地圖樣式都將於 2025 年 3 月自動更新。請參閱「
Google 地圖平台新版地圖樣式」一文,進一步瞭解適用範圍及如何提早啟用。
StampStyle
繼承方法摘要
來自類別
java.lang.Object
布林值
|
equals(物件 arg0)
|
最終等級<?>
|
getClass()
|
int
|
hashCode()
|
最後
void
|
notify()
|
最後
void
|
notifyAll()
|
字串
|
toString()
|
最後
void
|
wait(long arg0, int arg1)
|
最後
void
|
wait(Long arg0)
|
最後
void
|
wait()
|
公用方法
要在筆劃上重複的圖片或紋理。
轉譯的戳記將為 StrokeStyle 設定的線條寬度。圖片的方向將朝向圖片頂端,朝起點為起點,而圖片底部朝向終點。舉例來說,如果基礎線有兩個點,且起點位於端點正上方,戳記會顯示在直立的方向上。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2024-09-05 (世界標準時間)。
[null,null,["上次更新時間: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."]]],[]]