Platforms to show: All Mac Windows Linux Cross-Platform
NSEdgeInsetsMBS class
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | Cocoa | MBS Main Plugin | 21.0 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Edge insets describe the distance between the edges of one rectangle to a related rectangle that can be described by measuring a constant but edge-specific distance from each edge.
A common use for this structure is to describe the relationship between a view’s frame and its alignment rectangle.
- 5 properties
- 4 methods
- method Constructor
- method Constructor(p as Ptr)
- method Constructor(top as double, left as double, bottom as double, right as double)
- method Equal(other as NSEdgeInsetsMBS) as boolean
This class has no sub classes.
Some properties using for this class:
- NSCollectionViewFlowLayoutMBS.sectionInset as NSEdgeInsetsMBS
- NSCollectionViewGridLayoutMBS.margins as NSEdgeInsetsMBS
- PDFViewMBS.pageBreakMargins as NSEdgeInsetsMBS
Some events using this class:
- DesktopNSCollectionViewControlMBS.insetForSectionAtIndex(layout as NSCollectionViewLayoutMBS, section as Integer) as NSEdgeInsetsMBS
- NSCollectionViewControlMBS.insetForSectionAtIndex(layout as NSCollectionViewLayoutMBS, section as Integer) as NSEdgeInsetsMBS
Some examples using this class:
Blog Entries
Release notes
- Version 21.0
- Added NSEdgeInsetsMBS class.
The items on this page are in the following plugins: MBS Main Plugin.
NSDraggingSessionMBS - NSEnumeratorMBS