Class RelativeRectangle
java.lang.Object
com.independentsoft.office.drawing.RelativeRectangle
- Direct Known Subclasses:
FillRectangle,FillToRectangle,SourceRectangle,TileRectangle
The Class RelativeRectangle.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected intprotected intprotected intprotected int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract RelativeRectangleclone()intGets the bottom offset.intGets the left offset.intGets the right offset.intGets the top offset.voidsetBottomOffset(int bottomOffset)Sets the bottom offset.voidsetLeftOffset(int leftOffset)Sets the left offset.voidsetRightOffset(int rightOffset)Sets the right offset.voidsetTopOffset(int topOffset)Sets the top offset.
-
Field Details
-
bottomOffset
protected int bottomOffset -
leftOffset
protected int leftOffset -
rightOffset
protected int rightOffset -
topOffset
protected int topOffset
-
-
Constructor Details
-
RelativeRectangle
public RelativeRectangle()
-
-
Method Details
-
clone
-
getBottomOffset
public int getBottomOffset()Gets the bottom offset.- Returns:
- the bottom offset
-
setBottomOffset
public void setBottomOffset(int bottomOffset)Sets the bottom offset.- Parameters:
bottomOffset- the new bottom offset
-
getLeftOffset
public int getLeftOffset()Gets the left offset.- Returns:
- the left offset
-
setLeftOffset
public void setLeftOffset(int leftOffset)Sets the left offset.- Parameters:
leftOffset- the new left offset
-
getRightOffset
public int getRightOffset()Gets the right offset.- Returns:
- the right offset
-
setRightOffset
public void setRightOffset(int rightOffset)Sets the right offset.- Parameters:
rightOffset- the new right offset
-
getTopOffset
public int getTopOffset()Gets the top offset.- Returns:
- the top offset
-
setTopOffset
public void setTopOffset(int topOffset)Sets the top offset.- Parameters:
topOffset- the new top offset
-