Uses of Class
com.aspose.imaging.Rectangle

Packages that use Rectangle
com.aspose.imaging   
com.aspose.imaging.brushes   
com.aspose.imaging.fileformats.bmp   
com.aspose.imaging.fileformats.gif   
com.aspose.imaging.fileformats.gif.blocks   
com.aspose.imaging.fileformats.jpeg   
com.aspose.imaging.fileformats.png   
com.aspose.imaging.fileformats.psd   
com.aspose.imaging.fileformats.tiff   
com.aspose.imaging.interfaces   
 

Uses of Rectangle in com.aspose.imaging
 

Methods in com.aspose.imaging that return Rectangle
static Rectangle Rectangle.ceiling(RectangleF value)
           Converts the specified RectangleF structure to a Rectangle structure by rounding the 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 Rectangle structure with the specified edge locations.
static Rectangle Rectangle.fromPoints(Point point1, Point point2)
           Creates a new Rectangle froms two points specified.
 Rectangle Image.getBounds()
           Gets the image bounds.
static Rectangle Rectangle.getEmpty()
           Gets a new instance of the Rectangle structure that has Rectangle.X, Rectangle.Y, Rectangle.Width and Rectangle.Height values set to zero.
protected  Rectangle Image.getFitRectangle(Rectangle rectangle)
           Gets rectangle which fits the current image.
protected  Rectangle Image.getFitRectangle(Rectangle rectangle, Color[] pixels)
           Gets rectangle which fits the current bitmap taking into account the pixels passed.
static Rectangle Image.getFittingRectangle(Rectangle rectangle, Color[] 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 Rectangle structure.
static Rectangle Rectangle.intersect(Rectangle a, Rectangle b)
           Returns a third Rectangle structure that represents the intersection of two other Rectangle structures.
static Rectangle Rectangle.round(RectangleF value)
           Converts the specified RectangleF to a Rectangle by rounding the RectangleF values to the nearest integer values.
static Rectangle Rectangle.truncate(RectangleF value)
           Converts the specified RectangleF to a Rectangle by truncating the RectangleF values.
static Rectangle Rectangle.union(Rectangle a, Rectangle b)
           Gets a Rectangle structure that contains the union of two Rectangle structures.
 

Methods in com.aspose.imaging with parameters of type Rectangle
 void Rectangle.CloneTo(Rectangle that)
           
 void Region.complement(Rectangle rect)
           Updates this com.aspose.imaging.Region to contain the portion of the specified com.aspose.imaging.Rectangle structure that does not intersect with this com.aspose.imaging.Region.
 boolean Rectangle.contains(Rectangle rect)
           Determines if the rectangular region represented by rect is entirely contained within this Rectangle structure.
 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 sourceImage, Rectangle rect)
           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.
static boolean Rectangle.equals(Rectangle obj1, Rectangle obj2)
           
 void Region.exclude(Rectangle rect)
           Updates this com.aspose.imaging.Region to contain only the portion of its interior that does not intersect with the specified com.aspose.imaging.Rectangle structure.
 void Graphics.fillEllipse(Brush brush, Rectangle rect)
           Fills the interior of an ellipse defined by a bounding rectangle specified by a com.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 com.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.
protected  Rectangle Image.getFitRectangle(Rectangle rectangle)
           Gets rectangle which fits the current image.
protected  Rectangle Image.getFitRectangle(Rectangle rectangle, Color[] pixels)
           Gets rectangle which fits the current bitmap taking into account the pixels passed.
static Rectangle Image.getFittingRectangle(Rectangle rectangle, Color[] 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 Rectangle structure.
 void Rectangle.intersect(Rectangle rect)
           Replaces this Rectangle with the intersection of itself and the specified Rectangle.
 void Region.intersect(Rectangle rect)
           Updates this com.aspose.imaging.Region to the intersection of itself with the specified com.aspose.imaging.Rectangle structure.
static Rectangle Rectangle.intersect(Rectangle a, Rectangle b)
           Returns a third Rectangle structure that represents the intersection of two other 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 com.aspose.imaging.Rectangle structure is contained within this com.aspose.imaging.Region.
 boolean Region.isVisible(Rectangle rect, Graphics g)
           Tests whether any portion of the specified com.aspose.imaging.Rectangle structure is contained within this com.aspose.imaging.Region when drawn using the specified com.aspose.imaging.Graphics.
 Color[] RasterImage.loadPixels(Rectangle rectangle)
           Loads pixels.
protected abstract  Color[] RasterImage.loadPixelsInternal(Rectangle rectangle)
           Loads pixels (format specific method).
static boolean Rectangle.op_Equality(Rectangle left, Rectangle right)
           Tests whether two Rectangle structures have equal location and size.
static boolean Rectangle.op_Inequality(Rectangle left, Rectangle right)
           Tests whether two Rectangle structures differ in location or size.
 void RasterImage.savePixels(Rectangle rectangle, Color[] pixels)
           Saves the pixels.
protected abstract  void RasterImage.savePixelsInternal(Rectangle rectangle, Color[] pixels)
           Saves pixels (format specific method).
static RectangleF RectangleF.toRectangleF(Rectangle rect)
           Converts the specified Rectangle structure to a RectangleF structure.
 void Region.union(Rectangle rect)
           Updates this com.aspose.imaging.Region to the union of itself and the specified com.aspose.imaging.Rectangle structure.
static Rectangle Rectangle.union(Rectangle a, Rectangle b)
           Gets a Rectangle structure that contains the union of two Rectangle structures.
 void Region.xor(Rectangle rect)
           Updates this com.aspose.imaging.Region to the union minus the intersection of itself with the specified com.aspose.imaging.Rectangle structure.
 

Constructors in com.aspose.imaging with parameters of type Rectangle
Matrix(Rectangle rect, Point[] plgpts)
           Initializes a new instance of the Matrix class to the geometric transform defined by the specified rectangle and array of points.
Region(Rectangle rect)
           Initializes a new com.aspose.imaging.Region from the specified com.aspose.imaging.Rectangle structure.
 

Uses of Rectangle in com.aspose.imaging.brushes
 

Constructors in com.aspose.imaging.brushes with parameters of type Rectangle
LinearGradientBrush(Rectangle rect, Color color1, Color color2, float angle)
           Creates 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)
           Creates a new instance of the LinearGradientBrush class based on a rectangle, starting and ending colors, and an orientation angle.
LinearGradientBrushBase(Rectangle rect, float angle, boolean isAngleScalable)
           Initializes a new instance of the LinearGradientBrushBase class based on a rectangle and an orientation angle.
LinearMulticolorGradientBrush(Rectangle rect, float angle)
           Creates a new instance of the LinearMulticolorGradientBrush class based on a rectangle and an orientation angle.
LinearMulticolorGradientBrush(Rectangle rect, float angle, boolean isAngleScalable)
           Creates 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 Brushes.TextureBrush class that uses the specified image, wrap mode, and bounding rectangle.
TextureBrush(Image image, Rectangle destinationRectangle)
           Initializes a new instance of the Brushes.TextureBrush class that uses the specified image and bounding rectangle.
TextureBrush(Image image, Rectangle destinationRectangle, ImageAttributes imageAttributes)
           Initializes a new instance of the Brushes.TextureBrush class that uses the specified image, bounding rectangle, and image attributes.
 

Uses of Rectangle in com.aspose.imaging.fileformats.bmp
 

Methods in com.aspose.imaging.fileformats.bmp with parameters of type Rectangle
protected  Color[] BmpImage.loadPixelsInternal(Rectangle rectangle)
          Deprecated. 

Loads pixels (format specific method).

protected  void BmpImage.savePixelsInternal(Rectangle rectangle, Color[] pixels)
          Deprecated. 

Saves pixels (format specific method).

 

Uses of Rectangle in com.aspose.imaging.fileformats.gif
 

Methods in com.aspose.imaging.fileformats.gif with parameters of type Rectangle
protected  Color[] GifImage.loadPixelsInternal(Rectangle rectangle)
          Deprecated. 

Loads the pixels.

protected  void GifImage.savePixelsInternal(Rectangle rectangle, Color[] pixels)
          Deprecated. 

Saves the pixels.

 

Uses of Rectangle in com.aspose.imaging.fileformats.gif.blocks
 

Methods in com.aspose.imaging.fileformats.gif.blocks with parameters of type Rectangle
protected  Color[] GifFrameBlock.loadPixelsInternal(Rectangle rectangle)
           Loads pixels (format specific method).
protected  void GifFrameBlock.savePixelsInternal(Rectangle rectangle, Color[] pixels)
           Saves pixels (format specific method).
 

Uses of Rectangle in com.aspose.imaging.fileformats.jpeg
 

Methods in com.aspose.imaging.fileformats.jpeg with parameters of type Rectangle
protected  Color[] JpegImage.loadPixelsInternal(Rectangle rectangle)
           Loads pixels (format specific method).
protected  void JpegImage.savePixelsInternal(Rectangle rectangle, Color[] pixels)
           Saves pixels (format specific method).
 

Uses of Rectangle in com.aspose.imaging.fileformats.png
 

Methods in com.aspose.imaging.fileformats.png with parameters of type Rectangle
protected  Color[] PngImage.loadPixelsInternal(Rectangle rectangle)
           Loads pixels (format specific method).
protected  void PngImage.savePixelsInternal(Rectangle rectangle, Color[] pixels)
           Saves pixels (format specific method).
 

Uses of Rectangle in com.aspose.imaging.fileformats.psd
 

Methods in com.aspose.imaging.fileformats.psd with parameters of type Rectangle
protected  Color[] PsdImage.loadPixelsInternal(Rectangle rectangle)
           Loads pixels (format specific method).
protected  void PsdImage.savePixelsInternal(Rectangle rectangle, Color[] pixels)
           Saves pixels (format specific method).
 

Uses of Rectangle in com.aspose.imaging.fileformats.tiff
 

Methods in com.aspose.imaging.fileformats.tiff with parameters of type Rectangle
protected  Color[] TiffImage.loadPixelsInternal(Rectangle rectangle)
           Loads pixels (format specific method).
protected  void TiffImage.savePixelsInternal(Rectangle rectangle, Color[] pixels)
           Saves pixels (format specific method).
 

Uses of Rectangle in com.aspose.imaging.interfaces
 

Methods in com.aspose.imaging.interfaces that return Rectangle
 Rectangle IObjectWithBounds.getBounds()