總覽
指定地圖項目在地圖上顯示的方式。
公開成員函式 | |
(instancetype) | - initWithFillColor:strokeColor:strokeWidth: |
初始化新樣式。 | |
(instancetype) | - init |
(GMSFeatureStyle *) | - 副本 |
傳回這個樣式的副本。 | |
(GMSMutableFeatureStyle *) | - mutableCopy |
傳回此樣式的可變動副本。 | |
靜態成員函式 | |
(instancetype) | + styleWithFillColor:strokeColor:strokeWidth: |
建立新樣式。 | |
資源 | |
UIColor * | fillColor |
指定填滿顏色,包括 Alpha 管道。 | |
UIColor * | strokeColor |
指定邊框顏色,包括 Alpha 通道。 | |
CGFloat | strokeWidth |
以畫面點指定框線寬度。 | |
CGFloat | pointRadius |
指定點的半徑。 |
成員函式說明文件
+ (instancetype) styleWithFillColor: | (nullable UIColor *) | fillColor | |
strokeColor: | (nullable UIColor *) | strokeColor | |
strokeWidth: | (CGFloat) | strokeWidth | |
建立新樣式。
- (instancetype) initWithFillColor: | (nullable UIColor *) | fillColor | |
strokeColor: | (nullable UIColor *) | strokeColor | |
strokeWidth: | (CGFloat) | strokeWidth | |
初始化新樣式。
- (執行個體類型) init |
- (GMSFeatureStyle *) 複製 |
傳回這個樣式的副本。
傳回此樣式的可變動副本。
資源說明文件
- (UIColor*) fillColor [read, copy] |
指定填滿顏色,包括 Alpha 管道。
- (UIColor*) strokeColor [read, copy] |
指定邊框顏色,包括 Alpha 通道。
- (CGFloat) strokeWidth [read, assign] |
以畫面點指定框線寬度。
- (CGFloat) pointRadius [read, assign] |