| Flutter macOS Embedder |

NSView+ClipsToBounds.h
Go to the documentation of this file.
1 // Copyright 2013 The Flutter Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_NSVIEW_CLIPSTOBOUNDS_H_
6 #define FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_NSVIEW_CLIPSTOBOUNDS_H_
7
8 #import <Cocoa/Cocoa.h>
9
10 @interface NSView (ClipsToBounds)
11 // This property is available since macOS 10.9 but only declared in macOS 14 SDK.
12 @property BOOL clipsToBounds API_AVAILABLE(macos(10.9));
13 @end
14
15 #endif // FLUTTER_SHELL_PLATFORM_DARWIN_MACOS_FRAMEWORK_SOURCE_NSVIEW_CLIPSTOBOUNDS_H_
NSView(ClipsToBounds)
Definition: NSView+ClipsToBounds.h:10
-[NSView(ClipsToBounds) API_AVAILABLE]
BOOL clipsToBounds API_AVAILABLE(macos(10.9))