public final class Margins extends Object
This class represents margins of an image.
Constructor and Description |
---|
Margins()
Initializes a new instance of the
Margins class. |
Margins(int left,
int right,
int top,
int bottom)
Initializes a new instance of the
Margins class. |
Modifier and Type | Method and Description |
---|---|
int |
getBottom()
Gets the bottom.
|
int |
getLeft()
Gets the left.
|
int |
getRight()
Gets the right.
|
int |
getTop()
Gets the top.
|
void |
setBottom(int value)
Sets the bottom.
|
void |
setLeft(int value)
Sets the left.
|
void |
setRight(int value)
Sets the right.
|
void |
setTop(int value)
Sets the top.
|
public Margins(int left, int right, int top, int bottom)
Initializes a new instance of the Margins
class.
left
- The left.right
- The right.top
- The top.bottom
- The bottom.public Margins()
Initializes a new instance of the Margins
class.
public int getLeft()
Gets the left.
Value: The left.public void setLeft(int value)
Sets the left.
Value: The left.public int getRight()
Gets the right.
Value: The right.public void setRight(int value)
Sets the right.
Value: The right.public int getTop()
Gets the top.
Value: The top.public void setTop(int value)
Sets the top.
Value: The top.public int getBottom()
Gets the bottom.
Value: The bottom.public void setBottom(int value)
Sets the bottom.
Value: The bottom.Copyright © 2017 Aspose. All Rights Reserved.