| Package | Description |
|---|---|
| com.aspose.cad | |
| com.aspose.cad.imageoptions |
| Modifier and Type | Method and Description |
|---|---|
static Rectangle |
Rectangle.ceiling(RectangleF value)
Converts the specified
com.aspose.cad.RectangleF structure to a com.aspose.cad.Rectangle structure by rounding the com.aspose.cad.RectangleF values to the next higher integer values. |
Rectangle |
Rectangle.Clone() |
static Rectangle |
Rectangle.fromLeftTopRightBottom(int left,
int top,
int right,
int bottom)
Creates a
com.aspose.cad.Rectangle structure with the specified edge locations. |
static Rectangle |
Rectangle.fromPoints(Point point1,
Point point2)
Creates a new
Rectangle from two points specified. |
Rectangle |
IObjectWithBounds.getBounds() |
Rectangle |
Image.getBounds()
Gets the image bounds.
|
static Rectangle |
Rectangle.getEmpty()
Gets a new instance of the
com.aspose.cad.Rectangle structure that has com.aspose.cad.Rectangle.X, com.aspose.cad.Rectangle.Y, com.aspose.cad.Rectangle.Width and com.aspose.cad.Rectangle.Height values set to zero. |
static Rectangle |
Rectangle.inflate(Rectangle rect,
int x,
int y)
Creates and returns an inflated copy of the specified
com.aspose.cad.Rectangle structure. |
static Rectangle |
Rectangle.intersect(Rectangle a,
Rectangle b)
Returns a third
com.aspose.cad.Rectangle structure that represents the intersection of two other com.aspose.cad.Rectangle structures. |
static Rectangle |
Rectangle.round(RectangleF value)
Converts the specified
com.aspose.cad.RectangleF to a com.aspose.cad.Rectangle by rounding the com.aspose.cad.RectangleF values to the nearest integer values. |
static Rectangle |
Rectangle.truncate(RectangleF value)
Converts the specified
com.aspose.cad.RectangleF to a com.aspose.cad.Rectangle by truncating the com.aspose.cad.RectangleF values. |
static Rectangle |
Rectangle.union(Rectangle a,
Rectangle b)
Gets a
com.aspose.cad.Rectangle structure that contains the union of two com.aspose.cad.Rectangle structures. |
| Modifier and Type | Method and Description |
|---|---|
void |
Rectangle.CloneTo(Rectangle that) |
boolean |
Rectangle.contains(Rectangle rect)
Determines if the rectangular region represented by
rect is entirely contained within this com.aspose.cad.Rectangle structure. |
void |
RasterCachedImage.crop(Rectangle rectangle)
Cropping the image.
|
abstract void |
RasterImage.crop(Rectangle rectangle)
Cropping the image.
|
int[] |
RasterImage.getDefaultArgb32Pixels(Rectangle rectangle)
Gets the default 32-bit ARGB pixels array.
|
void |
RasterImage.getDefaultPixels(Rectangle rectangle,
IPartialArgb32PixelLoader partialPixelLoader)
Gets the default pixels array using partial pixel loader.
|
void |
RasterImage.getDefaultRawData(Rectangle rectangle,
IPartialRawDataLoader partialRawDataLoader,
RawDataSettings rawDataSettings)
Gets the default raw data array using partial pixel loader.
|
byte[] |
RasterImage.getDefaultRawData(Rectangle rectangle,
RawDataSettings rawDataSettings)
Gets the default raw data array.
|
static Rectangle |
Rectangle.inflate(Rectangle rect,
int x,
int y)
Creates and returns an inflated copy of the specified
com.aspose.cad.Rectangle structure. |
void |
Rectangle.intersect(Rectangle rect)
Replaces this
com.aspose.cad.Rectangle with the intersection of itself and the specified com.aspose.cad.Rectangle. |
static Rectangle |
Rectangle.intersect(Rectangle a,
Rectangle b)
Returns a third
com.aspose.cad.Rectangle structure that represents the intersection of two other com.aspose.cad.Rectangle structures. |
boolean |
Rectangle.intersectsWith(Rectangle rect)
Determines if this rectangle intersects with
rect. |
static boolean |
Rectangle.isEquals(Rectangle obj1,
Rectangle obj2) |
int[] |
RasterImage.loadArgb32Pixels(Rectangle rectangle)
Loads 32-bit ARGB pixels.
|
CmykColor[] |
RasterImage.loadCmykPixels(Rectangle rectangle)
Loads pixels in CMYK format.
|
void |
IRasterImageArgb32PixelLoader.loadPartialArgb32Pixels(Rectangle rectangle,
IPartialArgb32PixelLoader partialPixelLoader) |
void |
RasterImage.loadPartialArgb32Pixels(Rectangle desiredRectangle,
IPartialArgb32PixelLoader pixelLoader)
Loads 32-bit ARGB pixels partially by packs.
|
void |
IRasterImagePixelLoader.loadPartialPixels(Rectangle rectangle,
IPartialPixelLoader partialPixelLoader) |
void |
RasterImage.loadPartialPixels(Rectangle desiredRectangle,
IPartialPixelLoader pixelLoader)
Loads pixels partially by packs.
|
Color[] |
RasterImage.loadPixels(Rectangle rectangle)
Loads pixels.
|
void |
IRasterImageRawDataLoader.loadRawData(Rectangle rectangle,
RawDataSettings rawDataSettings,
IPartialRawDataLoader rawDataLoader) |
void |
RasterImage.loadRawData(Rectangle rectangle,
RawDataSettings rawDataSettings,
IPartialRawDataLoader rawDataLoader)
Loads raw data.
|
static boolean |
Rectangle.op_Equality(Rectangle left,
Rectangle right)
Tests whether two
com.aspose.cad.Rectangle structures have equal location and size. |
static boolean |
Rectangle.op_Inequality(Rectangle left,
Rectangle right)
Tests whether two
com.aspose.cad.Rectangle structures differ in location or size. |
void |
IPartialRawDataLoader.process(Rectangle rectangle,
byte[] data,
Point start,
Point end) |
void |
IPartialRawDataLoader.process(Rectangle rectangle,
byte[] data,
Point start,
Point end,
LoadOptions loadOptions) |
void |
IPartialPixelLoader.process(Rectangle pixelsRectangle,
Color[] pixels,
Point start,
Point end) |
void |
IPartialArgb32PixelLoader.process(Rectangle pixelsRectangle,
int[] pixels,
Point start,
Point end) |
void |
RasterImage.saveArgb32Pixels(Rectangle rectangle,
int[] pixels)
Saves the 32-bit ARGB pixels.
|
void |
RasterImage.saveCmykPixels(Rectangle rectangle,
CmykColor[] pixels)
Saves the pixels.
|
void |
RasterImage.savePixels(Rectangle rectangle,
Color[] pixels)
Saves the pixels.
|
void |
RasterImage.saveRawData(byte[] data,
int dataOffset,
Rectangle rectangle,
RawDataSettings rawDataSettings)
Saves the raw data.
|
static RectangleF |
RectangleF.to_RectangleF(Rectangle rect)
Converts the specified
Aspose.Imaging.Rectangle structure to a Aspose.Imaging.RectangleF structure. |
static Rectangle |
Rectangle.union(Rectangle a,
Rectangle b)
Gets a
com.aspose.cad.Rectangle structure that contains the union of two com.aspose.cad.Rectangle structures. |
| Constructor and Description |
|---|
Matrix(Rectangle rect,
Point[] plgpts)
Initializes a new instance of the
Aspose.CAD.Matrix class to the geometric transform defined by the specified rectangle and array of points. |
| Modifier and Type | Method and Description |
|---|---|
Rectangle |
MultiPageOptions.getExportArea()
Gets or sets the export area.
|
| Modifier and Type | Method and Description |
|---|---|
void |
MultiPageOptions.setExportArea(Rectangle value)
Gets or sets the export area.
|
| Constructor and Description |
|---|
MultiPageOptions(Integer[] pages,
Rectangle exportArea)
Initializes a new instance of the
MultiPageOptions class. |
MultiPageOptions(IntRange[] ranges,
Rectangle exportArea)
Initializes a new instance of the
MultiPageOptions class. |
MultiPageOptions(IntRange range,
Rectangle exportArea)
Initializes a new instance of the
MultiPageOptions class. |
MultiPageOptions(int page,
Rectangle exportArea)
Initializes a new instance of the
MultiPageOptions class. |
MultiPageOptions(String[] pageTitles,
Rectangle exportArea)
Initializes a new instance of the
MultiPageOptions class. |
Copyright (c) 2008-2025 Aspose Pty Ltd. All Rights Reserved.