public final class UIEdgeInsets extends Object
Constructor and Description |
---|
UIEdgeInsets(double top,
double left,
double bottom,
double right)
Constructs a UIEdgeInset object with the specified values for the edges.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
boolean |
equalToEdgeInsets(UIEdgeInsets other)
Returns a Boolean that determines whether the specified instances of
UIEdgeInsets are equal.
|
double |
getBottom() |
double |
getLeft() |
double |
getRight() |
double |
getTop() |
int |
hashCode() |
void |
setBottom(double bottom) |
void |
setLeft(double left) |
void |
setRight(double right) |
void |
setTop(double top) |
String |
toString() |
static UIEdgeInsets |
zero()
Constructs a UIEdgeInsets instance object with all of the UIEdgeInsets
parameters set to zero.
|
public UIEdgeInsets(double top, double left, double bottom, double right)
top
- The the top inset of the UIEdgeInset object.left
- The the left inset of the UIEdgeInset object.bottom
- The the bottom inset of the UIEdgeInset object.right
- The the right inset of the UIEdgeInset object.public static UIEdgeInsets zero()
public double getTop()
public void setTop(double top)
public double getLeft()
public void setLeft(double left)
public double getBottom()
public void setBottom(double bottom)
public double getRight()
public void setRight(double right)
public boolean equalToEdgeInsets(UIEdgeInsets other)
other
- The compared instance of UIEdgeInset.Copyright © 2020. All rights reserved.