Go to the source code of this file.
◆ 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
◆ AGSEdgeInsetsInsetRect()
static CGRect AGSEdgeInsetsInsetRect |
( |
CGRect |
rect, |
|
|
UIEdgeInsets |
insets |
|
) |
| |
|
inlinestatic |
Returns a CGRect
that is inset from the original rect by the specified amount.
- Parameters
-
rect | The rect to inset. |
insets | The 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
-
top | The inset at the top edge. |
left | The inset at the left edge. |
bottom | The inset at the bottom edge. |
right | The inset at the right edge. |
- Returns
- An edge insets.
- Since
- 100.1
- Deprecated:
- 100.11.0
◆ 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