ArcGIS Runtime SDK for iOS: AGSEdgeInsets.h File Reference
ArcGIS Runtime SDK for iOS  100.11
AGSEdgeInsets.h File Reference

Go to the source code of this file.

Typedefs

typedef UIEdgeInsets AGSEdgeInsets
 

Functions

static CGRect AGSEdgeInsetsInsetRect (CGRect rect, UIEdgeInsets insets)
 
static UIEdgeInsets AGSEdgeInsetsMake (CGFloat top, CGFloat left, CGFloat bottom, CGFloat right)
 

Variables

AGS_EXTERN const UIEdgeInsets AGSEdgeInsetsZero
 

Typedef Documentation

◆ AGSEdgeInsets

typedef UIEdgeInsets AGSEdgeInsets

AGSEdgeInsets is defined as UIEdgeInsets on iOS platform.

Edge inset values are applied to a rectangle to shrink or expand the area represented by that rectangle. Positive values cause the object to be inset (or shrunk) by the specified amount. Negative values cause the object to be outset (or expanded) by the specified amount.

Since
100.1
Deprecated:
100.11.0

Function Documentation

◆ AGSEdgeInsetsInsetRect()

static CGRect AGSEdgeInsetsInsetRect ( CGRect  rect,
UIEdgeInsets  insets 
)
inlinestatic

Returns a CGRect that is inset from the original rect by the specified amount.

Parameters
rectThe rect to inset.
insetsThe amount by which to inset.
Since
100.1
Deprecated:
100.11.0

◆ AGSEdgeInsetsMake()

static UIEdgeInsets AGSEdgeInsetsMake ( CGFloat  top,
CGFloat  left,
CGFloat  bottom,
CGFloat  right 
)
inlinestatic

Edge inset values are applied to a rectangle to shrink or expand the area represented by that rectangle. Positive values cause the object to be inset (or shrunk) by the specified amount. Negative values cause the object to be outset (or expanded) by the specified amount.

Parameters
topThe inset at the top edge.
leftThe inset at the left edge.
bottomThe inset at the bottom edge.
rightThe inset at the right edge.
Returns
An edge insets.
Since
100.1
Deprecated:
100.11.0

Variable Documentation

◆ AGSEdgeInsetsZero

AGS_EXTERN const UIEdgeInsets AGSEdgeInsetsZero

An AGSEdgeInsets struct whose top, left, bottom, and right fields are all set to the value 0.

Since
100.1
Deprecated:
100.11.0