summaryrefslogtreecommitdiff
path: root/platform/ios/docs/guides
diff options
context:
space:
mode:
authorMinh Nguyễn <mxn@1ec5.org>2017-01-08 16:51:41 -0800
committerMinh Nguyễn <mxn@1ec5.org>2017-01-09 01:38:20 -0800
commita5e43f027297f8f5b83304a02354c2d3f75d0bc7 (patch)
treeab74954cbce465dca465b8d6f7e0eb2e47352860 /platform/ios/docs/guides
parent1ae84db9789e638aaec0cd13c6921eb8a3503641 (diff)
downloadqtlocation-mapboxgl-a5e43f027297f8f5b83304a02354c2d3f75d0bc7.tar.gz
[ios, macos] Note reversed order in NS/UIEdgeInsets
Diffstat (limited to 'platform/ios/docs/guides')
-rw-r--r--platform/ios/docs/guides/For Style Authors.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/platform/ios/docs/guides/For Style Authors.md b/platform/ios/docs/guides/For Style Authors.md
index 919b9bde7b..4a49939d4f 100644
--- a/platform/ios/docs/guides/For Style Authors.md
+++ b/platform/ios/docs/guides/For Style Authors.md
@@ -274,6 +274,11 @@ Array (`-font`) | `NSArray<NSString>` | `[String]`
Array (`-offset`, `-translate`) | `NSValue.CGVectorValue` | `NSValue.cgVectorValue`
Array (`-padding`) | `NSValue.UIEdgeInsetsValue` | `NSValue.uiEdgeInsetsValue`
+For padding attributes, note that the arguments to
+`UIEdgeInsetsMake()` in Objective-C and
+`EdgeInsets(top:left:bottom:right:)` in Swift are specified in counterclockwise
+order, in contrast to the clockwise order defined by the style specification.
+
## Filtering sources
You can filter a shape or vector source by setting the