summaryrefslogtreecommitdiff
path: root/platform/macos
diff options
context:
space:
mode:
authorMinh Nguyễn <mxn@1ec5.org>2017-01-21 18:22:19 -0800
committerMinh Nguyễn <mxn@1ec5.org>2017-01-23 15:19:48 -0800
commitb32c17119e5b046aab796a29e321759095a0959b (patch)
tree7f2ee180d98205b1146044b0bb3f9d7480fc624d /platform/macos
parent5a2bb8d2409b0edf53c514dd5da02e34705d67fa (diff)
downloadqtlocation-mapboxgl-b32c17119e5b046aab796a29e321759095a0959b.tar.gz
[ios] EdgeInsets is UIEdgeInsets in Swift on iOS
Diffstat (limited to 'platform/macos')
-rw-r--r--platform/macos/docs/guides/For Style Authors.md7
1 files changed, 4 insertions, 3 deletions
diff --git a/platform/macos/docs/guides/For Style Authors.md b/platform/macos/docs/guides/For Style Authors.md
index 2e102f48ed..5c9160580a 100644
--- a/platform/macos/docs/guides/For Style Authors.md
+++ b/platform/macos/docs/guides/For Style Authors.md
@@ -263,9 +263,10 @@ Array (`-offset`, `-translate`) | `NSValue` containing `CGVector` | `NSValue` co
Array (`-padding`) | `NSValue.edgeInsetsValue` | `NSValue.edgeInsetsValue`
For padding attributes, note that the arguments to
-`NSEdgeInsetsMake()` 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.
+`NSEdgeInsetsMake()` 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.
Additionally, on macOS, a screen coordinate of (0, 0) is located at the
lower-left corner of the screen. Therefore, a positive `CGVector.dy` means an