One Logo Pool Ball
UIKit · IOS API REFERENCE

NSDirectionalEdgeInsets

struct · iOS 11.0+ · SDK 27.1

struct NSDirectionalEdgeInsets

Members (12)

init · iOS 11.0+

init

TypeScript
static initTopLeadingBottomTrailing(top: number, leading: number, bottom: number, trailing: number): { top: number; leading: number; bottom: number; trailing: number }
Swift declaration
init(top: CGFloat, leading: CGFloat, bottom: CGFloat, trailing: CGFloat)
get · iOS 11.0+

zero

TypeScript
static get zero(): { top: number; leading: number; bottom: number; trailing: number }
Swift declaration
static let zero: NSDirectionalEdgeInsets
get · iOS 11.0+

bottom

TypeScript
get bottom(): number
Swift declaration
var bottom: CGFloat
set · iOS 11.0+

bottom

TypeScript
set bottom(value: number)
Swift declaration
var bottom: CGFloat
get · iOS 11.0+

leading

TypeScript
get leading(): number
Swift declaration
var leading: CGFloat
set · iOS 11.0+

leading

TypeScript
set leading(value: number)
Swift declaration
var leading: CGFloat
get · iOS 11.0+

top

TypeScript
get top(): number
Swift declaration
var top: CGFloat
set · iOS 11.0+

top

TypeScript
set top(value: number)
Swift declaration
var top: CGFloat
get · iOS 11.0+

trailing

TypeScript
get trailing(): number
Swift declaration
var trailing: CGFloat
set · iOS 11.0+

trailing

TypeScript
set trailing(value: number)
Swift declaration
var trailing: CGFloat
init · iOS 11.0+

init

TypeScript
static initTopLeadingBottomTrailing48712(top: number, leading: number, bottom: number, trailing: number): { top: number; leading: number; bottom: number; trailing: number }
Swift declaration
init(top: CGFloat, leading: CGFloat, bottom: CGFloat, trailing: CGFloat)
init · iOS 11.0+

init

TypeScript
static init(): { top: number; leading: number; bottom: number; trailing: number }
Swift declaration
init()

Skipped declarations

No declarations were skipped in this snapshot.

All UIKit types →