Go to the source code of this file.
|
| static AGSEdgeInsets | AGSEdgeInsetsMake (CGFloat top, CGFloat left, CGFloat bottom, CGFloat right) |
| |
§ AGSEdgeInsetsMake()
| static AGSEdgeInsets 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
§ AGSEdgeInsetsZero
An AGSEdgeInsets struct whose top, left, bottom, and right fields are all set to the value 0.
- Since
- 100.1