| Package | Description |
|---|---|
| com.aspose.psd |
The package is the core for nested packages and the most basic objects used for Aspose.Imaging processing.
|
| com.aspose.psd.brushes |
The package provides helper classes and methods to work with different brush types.
|
| com.aspose.psd.extensions |
The package contains extension methods.
|
| com.aspose.psd.fileformats.ai | |
| com.aspose.psd.fileformats.jpeg |
The package handles Jpeg file format processing.
|
| com.aspose.psd.fileformats.psd | |
| com.aspose.psd.fileformats.psd.layers | |
| com.aspose.psd.fileformats.psd.layers.layerresources | |
| com.aspose.psd.fileformats.psd.layers.layerresources.smartobjectresources | |
| com.aspose.psd.fileformats.psd.layers.layerresources.vectorpaths | |
| com.aspose.psd.fileformats.psd.layers.smartobjects | |
| com.aspose.psd.imageoptions |
The package contains classes suitable for export, save or creation of different file formats.
|
| com.aspose.psd.masking.options |
The namespace handles ImageMasking.Options processing.
|
| Modifier and Type | Method and Description |
|---|---|
static Rectangle |
Rectangle.ceiling(RectangleF value)
Converts the specified
com.aspose.psd.RectangleF structure to a com.aspose.psd.Rectangle structure by rounding the com.aspose.psd.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.psd.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()
Gets the object bounds.
|
Rectangle |
Image.getBounds()
Gets the image bounds.
|
static Rectangle |
Rectangle.getEmpty()
Gets a new instance of the
com.aspose.psd.Rectangle structure that has com.aspose.psd.Rectangle.X, com.aspose.psd.Rectangle.Y, com.aspose.psd.Rectangle.Width and com.aspose.psd.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
com.aspose.psd.Rectangle structure. |
static Rectangle |
Rectangle.intersect(Rectangle a,
Rectangle b)
Returns a third
com.aspose.psd.Rectangle structure that represents the intersection of two other com.aspose.psd.Rectangle structures. |
static Rectangle |
Rectangle.round(RectangleF value)
Converts the specified
com.aspose.psd.RectangleF to a com.aspose.psd.Rectangle by rounding the com.aspose.psd.RectangleF values to the nearest integer values. |
static Rectangle |
Rectangle.truncate(RectangleF value)
Converts the specified
com.aspose.psd.RectangleF to a com.aspose.psd.Rectangle by truncating the com.aspose.psd.RectangleF values. |
static Rectangle |
Rectangle.union(Rectangle a,
Rectangle b)
Gets a
com.aspose.psd.Rectangle structure that contains the union of two com.aspose.psd.Rectangle structures. |
| Modifier and Type | Method and Description |
|---|---|
void |
Rectangle.CloneTo(Rectangle that) |
void |
Region.complement(Rectangle rect)
Updates this
com.aspose.psd.Region to contain the portion of the specified com.aspose.psd.Rectangle structure that does not intersect with this com.aspose.psd.region. |
boolean |
Rectangle.contains(Rectangle rect)
Determines if the rectangular region represented by
rect is entirely contained within this com.aspose.psd.Rectangle structure. |
void |
RasterImage.crop(Rectangle rectangle)
Crops the specified rectangle.
|
void |
RasterCachedImage.crop(Rectangle rectangle)
Cropping the image.
|
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
com.aspose.psd.Region to contain only the portion of its interior that does not intersect with the specified com.aspose.psd.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
com.aspose.psd.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.psd.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. |
void |
RasterImage.filter(Rectangle rectangle,
FilterOptionsBase options)
Filters the specified rectangle.
|
static IColorPalette |
ColorPaletteHelper.getCloseImagePalette(RasterImage image,
Rectangle destBounds,
int entriesCount)
Gets color palette from raster image (palletizes image) in case the image does not have one.
|
static IColorPalette |
ColorPaletteHelper.getCloseImagePalette(RasterImage image,
Rectangle destBounds,
int entriesCount,
boolean useImagePalette)
Gets color palette from raster image (palletizes image) in case the image does not have one.
|
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
com.aspose.psd.Rectangle structure. |
void |
Region.intersect(Rectangle rect)
Updates this
com.aspose.psd.Region to the intersection of itself with the specified com.aspose.psd.Rectangle structure. |
void |
Rectangle.intersect(Rectangle rect)
Replaces this
com.aspose.psd.Rectangle with the intersection of itself and the specified com.aspose.psd.Rectangle. |
static Rectangle |
Rectangle.intersect(Rectangle a,
Rectangle b)
Returns a third
com.aspose.psd.Rectangle structure that represents the intersection of two other com.aspose.psd.Rectangle structures. |
boolean |
Rectangle.intersectsWith(Rectangle rect)
Determines if this rectangle intersects with
rect. |
static boolean |
Rectangle.isEquals(Rectangle obj1,
Rectangle obj2) |
boolean |
Region.isVisible(Rectangle rect)
Tests whether any portion of the specified
com.aspose.psd.Rectangle structure is contained within this com.aspose.psd.region. |
boolean |
Region.isVisible(Rectangle rect,
Graphics g)
Tests whether any portion of the specified
com.aspose.psd.Rectangle structure is contained within this com.aspose.psd.Region when drawn using the specified com.aspose.psd.graphics. |
int[] |
RasterImage.loadArgb32Pixels(Rectangle rectangle)
Loads 32-bit ARGB pixels.
|
long[] |
RasterImage.loadArgb64Pixels(Rectangle rectangle)
Loads 64-bit ARGB pixels.
|
int[] |
RasterImage.loadCmyk32Pixels(Rectangle rectangle)
Loads pixels in CMYK format.
|
CmykColor[] |
RasterImage.loadCmykPixels(Rectangle rectangle)
Deprecated.
use instead loadCmyk32Pixels(Rectangle)
|
void |
RasterImage.loadPartialArgb32Pixels(Rectangle rectangle,
IPartialArgb32PixelLoader partialPixelLoader)
Loads 32-bit ARGB pixels partially by packs.
|
void |
IRasterImageArgb32PixelLoader.loadPartialArgb32Pixels(Rectangle rectangle,
IPartialArgb32PixelLoader partialPixelLoader)
Loads 32-bit ARGB pixels partially (by blocks).
|
void |
RasterImage.loadPartialPixels(Rectangle desiredRectangle,
IPartialPixelLoader pixelLoader)
Loads pixels partially by packs.
|
void |
IRasterImagePixelLoader.loadPartialPixels(Rectangle rectangle,
IPartialPixelLoader partialPixelLoader)
Loads pixels partially (by blocks).
|
Color[] |
RasterImage.loadPixels(Rectangle rectangle)
Loads pixels.
|
void |
RasterImage.loadRawData(Rectangle rectangle,
RawDataSettings rawDataSettings,
IPartialRawDataLoader rawDataLoader)
Loads raw image data using the partial processing mechanism.
|
void |
IRasterImageRawDataLoader.loadRawData(Rectangle rectangle,
RawDataSettings rawDataSettings,
IPartialRawDataLoader rawDataLoader)
Loads raw data.
|
void |
RasterImage.loadRawData(Rectangle rectangle,
Rectangle destImageBounds,
RawDataSettings rawDataSettings,
IPartialRawDataLoader rawDataLoader)
Loads raw data.
|
static boolean |
Rectangle.op_Equality(Rectangle left,
Rectangle right)
Tests whether two
com.aspose.psd.Rectangle structures have equal location and size. |
static boolean |
Rectangle.op_Inequality(Rectangle left,
Rectangle right)
Tests whether two
com.aspose.psd.Rectangle structures differ in location or size. |
void |
IPartialRawDataLoader.process(Rectangle rectangle,
byte[] data,
Point start,
Point end)
Processes the loaded data.
|
void |
IPartialRawDataLoader.process(Rectangle rectangle,
byte[] data,
Point start,
Point end,
LoadOptions loadOptions)
Processes the loaded data.
|
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 |
IPartialArgb64PixelLoader.process64(Rectangle pixelsRectangle,
long[] pixels,
Point start,
Point end)
Processes the loaded pixels.
|
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(RandomAccessFile file,
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.saveCmyk32Pixels(Rectangle rectangle,
int[] pixels)
Saves the pixels.
|
void |
RasterImage.saveCmykPixels(Rectangle rectangle,
CmykColor[] pixels)
Deprecated.
use instead saveCmyk32Pixels(Rectangle, int[])
|
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
com.aspose.psd.Rectangle structure to a com.aspose.psd.RectangleF structure. |
void |
Region.union(Rectangle rect)
Updates this
com.aspose.psd.Region to the union of itself and the specified com.aspose.psd.Rectangle structure. |
static Rectangle |
Rectangle.union(Rectangle a,
Rectangle b)
Gets a
com.aspose.psd.Rectangle structure that contains the union of two com.aspose.psd.Rectangle structures. |
void |
Region.xor(Rectangle rect)
Updates this
com.aspose.psd.Region to the union minus the intersection of itself with the specified com.aspose.psd.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. |
| Modifier and Type | Method and Description |
|---|---|
Rectangle |
AiHeader.getBoundingBox()
Gets or sets the bounding box.
|
Rectangle |
AiRasterImageSection.getImageRectangle()
Gets the image rectangle.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AiHeader.setBoundingBox(Rectangle value)
Gets or sets the bounding box.
|
| Modifier and Type | Method and Description |
|---|---|
void |
JpegSaver.process(Rectangle rectangle,
byte[] data,
Point start,
Point end)
The process.
|
void |
JpegSaver.process(Rectangle rectangle,
byte[] data,
Point start,
Point end,
LoadOptions loadOptions)
Processes the specified rectangle.
|
| Constructor and Description |
|---|
JpegSaver(com.aspose.internal.fileformats.jpeg.JpegStream stream,
JpegOptions jpegOptions,
Rectangle imageBounds,
PixelDataFormat pixelDataFormat,
com.aspose.internal.fileformats.jpeg.encodingcontrollers.JpegEncodingController encodingController,
int encodingMode,
com.aspose.internal.fileformats.jpeg.rdoptimizer.OptimizedQTables optimizedQTables)
Initializes a new instance of the
JpegSaver class. |
| Modifier and Type | Method and Description |
|---|---|
TextLayer |
PsdImage.addTextLayer(String text,
Rectangle rect)
Adds a new Text layer.
|
void |
PsdImage.crop(Rectangle rectangle)
Cropping the image.
|
void |
PsdImage.filter(Rectangle rectangle,
FilterOptionsBase options)
Filters the specified rectangle.
|
| Modifier and Type | Method and Description |
|---|---|
Rectangle |
LayerMaskData.getMaskRectangle()
Gets or sets the mask
Rectangle of the layer mask in the PSD file. |
Rectangle |
LayerMaskDataFull.getUserMaskRectangle()
Gets or sets the user mask (enclosing) rectangle in the PSD image layer.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Layer.save(OutputStream dstStream,
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.
|
void |
LayerMaskData.setMaskRectangle(Rectangle value)
Gets or sets the mask
Rectangle of the layer mask in the PSD file. |
void |
LayerMaskDataFull.setUserMaskRectangle(Rectangle value)
Gets or sets the user mask (enclosing) rectangle in the PSD image layer.
|
| Constructor and Description |
|---|
Layer(Rectangle bounds,
byte[] redBytes,
byte[] greenBytes,
byte[] blueBytes,
String name)
Initializes a new instance of the
Layer class from byte arrays. |
| Modifier and Type | Method and Description |
|---|---|
void |
PattResource.setPattern(int[] pixels,
Rectangle bounds)
Sets the pattern.
|
| Modifier and Type | Method and Description |
|---|---|
Rectangle |
PlacedResource.getBounds()
Gets or sets the bounds of the placed layer in the PSD file.
|
Rectangle |
IPlacedLayerResource.getBounds()
Gets or sets the bounds of the placed layer in the PSD file.
|
| Modifier and Type | Method and Description |
|---|---|
void |
PlacedResource.setBounds(Rectangle value)
Gets or sets the bounds of the placed layer in the PSD file.
|
void |
IPlacedLayerResource.setBounds(Rectangle value)
Gets or sets the bounds of the placed layer in the PSD file.
|
| Modifier and Type | Method and Description |
|---|---|
Rectangle |
VectorShapeBoundingBox.getBounds()
Gets or sets the bounds of the shape bounding box.
|
| Modifier and Type | Method and Description |
|---|---|
void |
VectorShapeBoundingBox.setBounds(Rectangle value)
Gets or sets the bounds of the shape bounding box.
|
| Modifier and Type | Method and Description |
|---|---|
Rectangle |
SmartObjectLayer.getContentsBounds()
Gets or sets the smart object content's bounds.
|
| Modifier and Type | Method and Description |
|---|---|
void |
SmartObjectLayer.setContentsBounds(Rectangle value)
Gets or sets the smart object content's bounds.
|
| 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(int[] 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. |
| Modifier and Type | Method and Description |
|---|---|
Rectangle |
AssumedObjectData.getBounds()
Gets the object's bounds.
|
Rectangle[] |
AutoMaskingGraphCutOptions.getDefaultObjectsRectangles()
Gets the default objects rectangles.
|
Rectangle |
MaskingOptions.getMaskingArea()
Gets the masking area.
|
Rectangle[] |
AutoMaskingArgs.getObjectsRectangles()
Gets the objects rectangles that belong to separated objects (optional).
|
| Modifier and Type | Method and Description |
|---|---|
void |
AssumedObjectData.setBounds(Rectangle value)
Sets the object's bounds.
|
void |
MaskingOptions.setMaskingArea(Rectangle value)
Sets the masking area.
|
void |
AutoMaskingArgs.setObjectsRectangles(Rectangle[] value)
Sets the objects rectangles that belong to separated objects (optional).
|
| Constructor and Description |
|---|
AssumedObjectData(int type,
Rectangle bounds)
Initializes a new instance of the
AssumedObjectData class. |
AssumedObjectData(String type,
Rectangle bounds)
Initializes a new instance of the
AssumedObjectData class. |
Copyright (c) 2008-2020 Aspose Pty Ltd. All Rights Reserved.