-
com.grapecity.documents.excel
-
- AsyncCustomFunction
- BaseCellType
- ButtonCellType
- CalcReference
- CancellationToken
- CancellationTokenSource
- CellColorSortField
- CellDecoration
- CellDecorationIcon
- CellInfo
- CellPadding
- CheckBoxCellType
- CheckBoxListCellType
- Color
- ColorUtilities
- ComboBoxCellItem
- ComboBoxCellType
- CornerFold
- CsvOpenOptions
- CsvParseContext
- CsvParseResult
- CsvSaveOptions
- CustomBorderStyle
- CustomFunction
- DataImportOptions
- DataImportResult
- DataValidationJsonError
- DateInfo
- DeserializationOptions
- DocumentProperties
- Event
- EventArgs
- FindOptions
- FontColorSortField
- FontInfo
- FormulaJsonError
- HyperLinkCellType
- IconSortField
- ImageSaveOptions
- ImageSource
- JsonError
- Margin
- OpenOptionsBase
- PageContentInfo
- PageInfo
- PagePrintedEventArgs
- PagePrintEventArgs
- PagePrintingEventArgs
- PageSettings
- Parameter
- PasteOption
- PdfSaveOptions
- PdfSecurityOptions
- PivotFilterOptions
- Point
- PrintManager
- RadioButtonListCellType
- RangeEventArgs
- RangeFindReplace
- RangeFindReplace.FindReplaceImpl
- RangePartialClasses
- RangePartialClasses.FindReplaceImpl
- RangeTemplateCellType
- Rectangle
- RepeatSetting
- ReplaceOptions
- SaveOptionsBase
- SelectFieldItem
- SerializationOptions
- SheetEventArgs
- SignatureDetails
- Size
- SjsOpenOptions
- SjsSaveOptions
- SortFieldBase
- SpecialCellsValue
- TableStyleFactory
- TextFormatInfo
- Theme
- Themes
- ThemeStorage
- ValueSortField
- WebRequestResult
- Workbook
- WorkbookOptions
- WriteProtection
- XlsmOpenOptions
- XlsmSaveOptions
- XlsxOpenOptions
- XlsxSaveOptions
- XltxOpenOptions
- XltxSaveOptions
-
- com.grapecity.documents.excel.drawing
- com.grapecity.documents.excel.expressions
- com.grapecity.documents.excel.forms
- com.grapecity.documents.excel.template
- com.grapecity.documents.excel.template.DataSource
(Showing Draft Content)
Rectangle
Class Rectangle
java.lang.Object
com.grapecity.documents.excel.Rectangle
Represents a rectangle class.
-
Constructor Summary
ConstructorsConstructorDescriptionRectangle(double x, double y, double width, double height) Constructor that creates a rectangle object with the specified position and size. -
Method Summary
Modifier and TypeMethodDescriptionfinal doubleReturns the height of this rectangle.final doublegetWidth()Returns the width of this rectangle.final doublegetX()Returns the x-coordinate of the upper-left corner of this rectangle.final doublegetY()Returns the y-coordinate of the upper-left corner of this rectangle.final voidsetHeight(double value) Sets the height of this rectangle.final voidsetWidth(double value) Sets the width of this rectangle.final voidsetX(double value) Sets the x-coordinate of the upper-left corner of this rectangle.final voidsetY(double value) Sets the y-coordinate of the upper-left corner of this rectangle.
-
Constructor Details
-
Rectangle
public Rectangle(double x, double y, double width, double height) Constructor that creates a rectangle object with the specified position and size.- Parameters:
x- The x-coordinate of the upper-left corner of the rectangle.y- The y-coordinate of the upper-left corner of the rectangle.width- The width of the rectangle.height- The height of the rectangle.
-
-
Method Details
-
getX
public final double getX()Returns the x-coordinate of the upper-left corner of this rectangle. -
setX
public final void setX(double value) Sets the x-coordinate of the upper-left corner of this rectangle. -
getY
public final double getY()Returns the y-coordinate of the upper-left corner of this rectangle. -
setY
public final void setY(double value) Sets the y-coordinate of the upper-left corner of this rectangle. -
getWidth
public final double getWidth()Returns the width of this rectangle. -
setWidth
public final void setWidth(double value) Sets the width of this rectangle. -
getHeight
public final double getHeight()Returns the height of this rectangle. -
setHeight
public final void setHeight(double value) Sets the height of this rectangle.
-