Modifier and Type | Method and Description |
---|---|
static Rectangle |
Rectangle.ceiling(RectangleF value)
Converts the specified
Aspose.Imaging.RectangleF structure to a Aspose.Imaging.Rectangle structure by rounding the Aspose.Imaging.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
Aspose.Imaging.Rectangle structure with the specified edge locations. |
static Rectangle |
Rectangle.fromPoints(Point point1,
Point point2)
Creates a new
Rectangle from two points specified. |
Rectangle |
Image.getBounds()
Gets the image bounds.
|
Rectangle |
IObjectWithBounds.getBounds() |
static Rectangle |
Rectangle.getEmpty()
Gets a new instance of the
Aspose.Imaging.Rectangle structure that has Aspose.Imaging.Rectangle.X , Aspose.Imaging.Rectangle.Y , Aspose.Imaging.Rectangle.Width and Aspose.Imaging.Rectangle.Height values set to zero. |
static Rectangle |
Image.getFittingRectangle(Rectangle rectangle,
int[] pixels,
int width,
int height)
Gets rectangle which fits the current image.
|
static Rectangle |
Image.getFittingRectangle(Rectangle rectangle,
int width,
int height)
Gets rectangle which fits the current image.
|
static Rectangle |
Rectangle.inflate(Rectangle rect,
int x,
int y)
Creates and returns an inflated copy of the specified
Aspose.Imaging.Rectangle structure. |
static Rectangle |
Rectangle.intersect(Rectangle a,
Rectangle b)
Returns a third
Aspose.Imaging.Rectangle structure that represents the intersection of two other Aspose.Imaging.Rectangle structures. |
static Rectangle |
Rectangle.round(RectangleF value)
Converts the specified
Aspose.Imaging.RectangleF to a Aspose.Imaging.Rectangle by rounding the Aspose.Imaging.RectangleF values to the nearest integer values. |
static Rectangle |
Rectangle.truncate(RectangleF value)
Converts the specified
Aspose.Imaging.RectangleF to a Aspose.Imaging.Rectangle by truncating the Aspose.Imaging.RectangleF values. |
static Rectangle |
Rectangle.union(Rectangle a,
Rectangle b)
Gets a
Aspose.Imaging.Rectangle structure that contains the union of two Aspose.Imaging.Rectangle structures. |
Modifier and Type | Method and Description |
---|---|
void |
Rectangle.CloneTo(Rectangle that) |
void |
Region.complement(Rectangle rect)
Updates this
T:Aspose.Imaging.Region to contain the portion of the specified T:Aspose.Imaging.Rectangle structure that does not intersect with this T:Aspose.Imaging.Region . |
boolean |
Rectangle.contains(Rectangle rect)
Determines if the rectangular region represented by
rect is entirely contained within this Aspose.Imaging.Rectangle structure. |
void |
RasterImage.crop(Rectangle rectangle)
Crops the specified rectangle.
|
void |
Graphics.drawArc(Pen pen,
Rectangle rect,
float startAngle,
float sweepAngle)
Draws an arc representing a portion of an ellipse specified by a
Rectangle structure. |
void |
Graphics.drawEllipse(Pen pen,
Rectangle rect)
Draws an ellipse specified by a bounding
Rectangle structure. |
void |
Graphics.drawImage(Image image,
Point[] destPoints,
Rectangle srcRect)
Draws the specified portion of the specified
image at the specified location and with the specified size. |
void |
Graphics.drawImage(Image image,
Point[] destPoints,
Rectangle srcRect,
int srcUnit)
Draws the specified portion of the specified
image at the specified location and with the specified size. |
void |
Graphics.drawImage(Image image,
Point[] destPoints,
Rectangle srcRect,
int srcUnit,
ImageAttributes imageAttributes)
Draws the specified portion of the specified
image at the specified location and with the specified size. |
void |
Graphics.drawImage(Image sourceImage,
Rectangle rect)
Draws the specified
Image at the specified location and with the specified size. |
void |
Graphics.drawImage(Image sourceImage,
Rectangle rectDestination,
int graphicsUnit)
Draws the specified
Image at the specified location and with the specified size. |
void |
Graphics.drawImage(Image sourceImage,
Rectangle rectDestination,
int graphicsUnit,
ImageAttributes imageAttributes)
Draws the specified
Image at the specified location and with the specified size. |
void |
Graphics.drawImage(Image sourceImage,
Rectangle rectSource,
Rectangle rectDestination,
int graphicsUnit)
Draws the specified
Image at the specified location and with the specified size. |
void |
Graphics.drawImage(Image sourceImage,
Rectangle rectSource,
Rectangle rectDestination,
int graphicsUnit,
ImageAttributes imageAttributes)
Draws the specified
Image at the specified location and with the specified size. |
void |
Graphics.drawImageUnscaled(Image sourceImage,
Rectangle rect)
Draws a specified image using its original physical size at a specified location.
|
void |
Graphics.drawImageUnscaledAndClipped(Image sourceImage,
Rectangle rect)
Draws the specified image without scaling and clips it, if necessary, to fit in the specified rectangle.
|
void |
Graphics.drawPie(Pen pen,
Rectangle rect,
float startAngle,
float sweepAngle)
Draws a pie shape defined by an ellipse specified by a
Rectangle structure and two radial lines. |
void |
Graphics.drawRectangle(Pen pen,
Rectangle rect)
Draws a rectangle specified by a
Rectangle structure. |
void |
Graphics.drawRectangles(Pen pen,
Rectangle[] rects)
Draws a series of rectangles specified by
Rectangle structures. |
void |
Region.exclude(Rectangle rect)
Updates this
T:Aspose.Imaging.Region to contain only the portion of its interior that does not intersect with the specified T:Aspose.Imaging.Rectangle structure. |
void |
IImageExporter.export(Image image,
OutputStream stream,
ImageOptionsBase optionsBase,
Rectangle boundsRectangle)
Exports the specified image data into specified data format.
|
void |
Graphics.fillEllipse(Brush brush,
Rectangle rect)
Fills the interior of an ellipse defined by a bounding rectangle specified by a
Aspose.Imaging.Rectangle structure. |
void |
Graphics.fillPie(Brush brush,
Rectangle rect,
float startAngle,
float sweepAngle)
Fills the interior of a pie section defined by an ellipse specified by a
Aspose.Imaging.RectangleF structure and two radial lines. |
void |
Graphics.fillRectangle(Brush brush,
Rectangle rect)
Fills the interior of a rectangle specified by a
Rectangle structure. |
void |
Graphics.fillRectangles(Brush brush,
Rectangle[] rects)
Fills the interiors of a series of rectangles specified by
Rectangle structures. |
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 |
Image.getFittingRectangle(Rectangle rectangle,
int[] pixels,
int width,
int height)
Gets rectangle which fits the current image.
|
static Rectangle |
Image.getFittingRectangle(Rectangle rectangle,
int width,
int height)
Gets rectangle which fits the current image.
|
static Rectangle |
Rectangle.inflate(Rectangle rect,
int x,
int y)
Creates and returns an inflated copy of the specified
Aspose.Imaging.Rectangle structure. |
void |
Rectangle.intersect(Rectangle rect)
Replaces this
Aspose.Imaging.Rectangle with the intersection of itself and the specified Aspose.Imaging.Rectangle . |
void |
Region.intersect(Rectangle rect)
Updates this
T:Aspose.Imaging.Region to the intersection of itself with the specified T:Aspose.Imaging.Rectangle structure. |
static Rectangle |
Rectangle.intersect(Rectangle a,
Rectangle b)
Returns a third
Aspose.Imaging.Rectangle structure that represents the intersection of two other Aspose.Imaging.Rectangle structures. |
boolean |
Rectangle.intersectsWith(Rectangle rect)
Determines if this rectangle intersects with
rect . |
boolean |
Region.isVisible(Rectangle rect)
Tests whether any portion of the specified
T:Aspose.Imaging.Rectangle structure is contained within this T:Aspose.Imaging.Region . |
boolean |
Region.isVisible(Rectangle rect,
Graphics g)
Tests whether any portion of the specified
T:Aspose.Imaging.Rectangle structure is contained within this T:Aspose.Imaging.Region when drawn using the specified T:Aspose.Imaging.Graphics . |
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)
Loads pixels partially (by blocks).
|
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
Aspose.Imaging.Rectangle structures have equal location and size. |
static boolean |
Rectangle.op_Inequality(Rectangle left,
Rectangle right)
Tests whether two
Aspose.Imaging.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)
Processes the loaded pixels.
|
void |
IPartialArgb32PixelLoader.process(Rectangle pixelsRectangle,
int[] pixels,
Point start,
Point end)
Processes the loaded pixels.
|
void |
Image.save_internalized(com.aspose.ms.System.IO.Stream stream,
ImageOptionsBase optionsBase,
Rectangle boundsRectangle) |
void |
Image.save(OutputStream stream,
ImageOptionsBase optionsBase,
Rectangle boundsRectangle)
Saves the image's data to the specified stream in the specified file format according to save options.
|
void |
Image.save(String filePath,
ImageOptionsBase options,
Rectangle boundsRectangle)
Saves the object's data to the specified file location in the specified file format according to save options.
|
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. |
void |
Region.union(Rectangle rect)
Updates this
T:Aspose.Imaging.Region to the union of itself and the specified T:Aspose.Imaging.Rectangle structure. |
static Rectangle |
Rectangle.union(Rectangle a,
Rectangle b)
Gets a
Aspose.Imaging.Rectangle structure that contains the union of two Aspose.Imaging.Rectangle structures. |
void |
Region.xor(Rectangle rect)
Updates this
T:Aspose.Imaging.Region to the union minus the intersection of itself with the specified T:Aspose.Imaging.Rectangle structure. |
Constructor and Description |
---|
Matrix(Rectangle rect,
Point[] plgpts)
Initializes a new instance of the
Aspose.Imaging.Matrix class to the geometric transform defined by the specified rectangle and array of points. |
Region(Rectangle rect)
Initializes a new
T:Aspose.Imaging.Region from the specified T:Aspose.Imaging.Rectangle structure. |
Constructor and Description |
---|
LinearGradientBrush(Rectangle rect,
Color color1,
Color color2,
float angle)
Initializes a new instance of the
LinearGradientBrush class based on a rectangle, starting and ending colors, and an orientation angle. |
LinearGradientBrush(Rectangle rect,
Color color1,
Color color2,
float angle,
boolean isAngleScalable)
Initializes a new instance of the
LinearGradientBrush class based on a rectangle, starting and ending colors, and an orientation angle. |
LinearMulticolorGradientBrush(Rectangle rect,
float angle)
Initializes a new instance of the
LinearMulticolorGradientBrush class based on a rectangle and an orientation angle. |
LinearMulticolorGradientBrush(Rectangle rect,
float angle,
boolean isAngleScalable)
Initializes a new instance of the
LinearMulticolorGradientBrush class based on a rectangle and an orientation angle. |
TextureBrush(Image image,
int wrapMode,
Rectangle destinationRectangle)
Initializes a new instance of the
Aspose.Imaging.Brushes.TextureBrush class that uses the specified image, wrap mode, and bounding rectangle. |
TextureBrush(Image image,
Rectangle destinationRectangle)
Initializes a new instance of the
Aspose.Imaging.Brushes.TextureBrush class that uses the specified image and bounding rectangle. |
TextureBrush(Image image,
Rectangle destinationRectangle,
ImageAttributes imageAttributes)
Initializes a new instance of the
Aspose.Imaging.Brushes.TextureBrush class that uses the specified image, bounding rectangle, and image attributes. |
Modifier and Type | Method and Description |
---|---|
static Rectangle |
RectangleExtensions.toGdiRectangle(Rectangle rectangle)
Converts the
Rectangle to the System.Drawing.Rectangle . |
static BufferedImage |
ImageExtensions.toJava(Image image,
Rectangle subImageRect)
Takes the subimage from
Image and converts to the BufferedImage . |
Modifier and Type | Method and Description |
---|---|
static void |
BmpImage.saveBmp_internalized(RasterImage imageToLoadPixelsFrom,
com.aspose.imaging.StreamContainer streamContainer,
com.aspose.imaging_internal.fileformats.bmp.BmpStreamHeader header,
IColorPalette palette,
Rectangle destImageBounds)
Saves the image into BMP file format.
|
Modifier and Type | Method and Description |
---|---|
void |
DjvuImage.crop(Rectangle rectangle)
Cropping the image.
|
String |
DjvuPage.getTextForLocation(Rectangle rect)
Gets the text for the rectangle location
|
Modifier and Type | Method and Description |
---|---|
void |
GifImage.crop(Rectangle rectangle)
Cropping the image.
|
Modifier and Type | Method and Description |
---|---|
static void |
GifFrameBlock.saveGif_internalized(RasterImage rasterImage,
com.aspose.imaging.StreamContainer streamContainer,
IColorPalette palette,
byte lzwCodeStartSize,
boolean interlaced,
Rectangle destFrameBounds)
Saves the GIF.
|
static void |
GifFrameBlock.saveGifFrameHeader_internalized(com.aspose.imaging.StreamContainer streamContainer,
Rectangle blockRectangle,
byte flags)
Saves the GIF frame header.
|
Modifier and Type | Method and Description |
---|---|
static void |
Jpeg2000Image.saveJpeg2000(RasterImage inputImage,
com.aspose.ms.System.IO.Stream stream,
String[] jpegComments,
Rectangle destImageBounds)
Saves the image into Jpeg2000 file format (j2k)
|
Modifier and Type | Method and Description |
---|---|
Rectangle |
EmfMetafileImage.getBounds()
Returns the metafile's bounds.
Note: this rectangle is not an image size. |
abstract Rectangle |
MetafileImage.getBounds()
Returns the metafile's bounds.
Note: this rectangle is not an image size. |
Rectangle |
WmfMetafileImage.getBounds()
Returns metafile's bounds.
Note: this rectangle is not an image size. |
Rectangle |
MetafileImage.getCroppingRectangle()
Returns the copping rectangle.
|
Modifier and Type | Method and Description |
---|---|
void |
MetafileImage.crop(Rectangle rectangle)
Crops the specified rectangle.
|
Modifier and Type | Method and Description |
---|---|
static void |
PngImage.savePng_internalized(com.aspose.ms.System.IO.Stream stream,
RasterImage image,
PngOptions pngOptions,
Rectangle destImageBounds)
The save png.
|
Modifier and Type | Method and Description |
---|---|
void |
Layer.save_internalized(com.aspose.ms.System.IO.Stream stream,
ImageOptionsBase optionsBase,
Rectangle boundsRectangle)
Saves the image's data to the specified stream in the specified file format according to save options.
|
void |
Layer.save(String filePath,
ImageOptionsBase options,
Rectangle boundsRectangle)
Saves the object's data to the specified file location in the specified file format according to save options.
|
Modifier and Type | Method and Description |
---|---|
void |
TiffImage.crop(Rectangle rectangle)
Cropping the image.
|
static void |
TiffFrame.save_internalized(RasterImage imageToLoadPixelsFrom,
TiffStreamWriter fileStream,
boolean isLastFrame,
TiffOptions frameOptions,
ExifData exifData,
Rectangle destImageBounds)
Save frame to stream
|
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 |
---|
DjvuMultiPageOptions(int[] pages,
Rectangle exportArea)
Initializes a new instance of the
DjvuMultiPageOptions class. |
DjvuMultiPageOptions(IntRange[] ranges,
Rectangle exportArea)
Initializes a new instance of the
DjvuMultiPageOptions class. |
DjvuMultiPageOptions(IntRange range,
Rectangle exportArea)
Initializes a new instance of the
DjvuMultiPageOptions class. |
DjvuMultiPageOptions(int page,
Rectangle exportArea)
Initializes a new instance of the
DjvuMultiPageOptions class. |
Copyright (c) 2008-2016 Aspose Pty Ltd. All Rights Reserved.