| 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.psd.layers | |
| com.aspose.psd.fileformats.psd.layers.layerresources | |
| com.aspose.psd.fileformats.psd.layers.layerresources.vectorpaths | |
| com.aspose.psd.shapes |
The package contains different shapes combined from shape segments.
|
| Modifier and Type | Method and Description |
|---|---|
RectangleF |
RectangleF.Clone() |
static RectangleF |
RectangleF.fromLeftTopRightBottom(float left,
float top,
float right,
float bottom)
Creates a
com.aspose.psd.RectangleF structure with upper-left corner and lower-right corner at the specified locations. |
static RectangleF |
RectangleF.fromPoints(PointF point1,
PointF point2)
Creates a new
Rectangle from two points specified. |
abstract RectangleF |
ObjectWithBounds.getBounds()
Gets the object's bounds.
|
RectangleF |
GraphicsPath.getBounds()
Gets or sets the object's bounds.
|
RectangleF |
Figure.getBounds()
Gets or sets the object's bounds.
|
abstract RectangleF |
ObjectWithBounds.getBounds(Matrix matrix)
Gets the object's bounds.
|
RectangleF |
GraphicsPath.getBounds(Matrix matrix)
Gets the object's bounds.
|
RectangleF |
Figure.getBounds(Matrix matrix)
Gets the object's bounds.
|
abstract RectangleF |
ObjectWithBounds.getBounds(Matrix matrix,
Pen pen)
Gets the object's bounds.
|
RectangleF |
GraphicsPath.getBounds(Matrix matrix,
Pen pen)
Gets the object's bounds.
|
RectangleF |
Figure.getBounds(Matrix matrix,
Pen pen)
Gets the object's bounds.
|
static RectangleF |
RectangleF.getEmpty()
Gets a new instance of the
com.aspose.psd.RectangleF structure that has com.aspose.psd.RectangleF.X, com.aspose.psd.RectangleF.Y, com.aspose.psd.RectangleF.Width and com.aspose.psd.RectangleF.Height values set to zero. |
static RectangleF |
RectangleF.inflate(RectangleF rect,
float x,
float y)
Creates and returns an inflated copy of the specified
com.aspose.psd.RectangleF structure. |
static RectangleF |
RectangleF.intersect(RectangleF a,
RectangleF b)
Returns a
com.aspose.psd.RectangleF structure that represents the intersection of two rectangles. |
static RectangleF |
RectangleF.op_Division(RectangleF rectangle,
float divider)
Implements the operator /.
|
static RectangleF |
RectangleF.op_Multiply(RectangleF rectangle,
float multiplier)
Implements the operator *.
|
static RectangleF |
RectangleF.to_RectangleF(Rectangle rect)
Converts the specified
com.aspose.psd.Rectangle structure to a com.aspose.psd.RectangleF structure. |
static RectangleF |
RectangleF.union(RectangleF a,
RectangleF b)
Creates the smallest possible third rectangle that can contain both of two rectangles that form a union.
|
| 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. |
void |
RectangleF.CloneTo(RectangleF that) |
void |
Region.complement(RectangleF rect)
Updates this
com.aspose.psd.Region to contain the portion of the specified com.aspose.psd.RectangleF structure that does not intersect with this com.aspose.psd.region. |
boolean |
RectangleF.contains(RectangleF rect)
Determines if the rectangular region represented by
rect is entirely contained within this com.aspose.psd.RectangleF structure. |
void |
Graphics.drawArc(Pen pen,
RectangleF rect,
float startAngle,
float sweepAngle)
Draws an arc representing a portion of an ellipse specified by a
RectangleF structure. |
void |
Graphics.drawEllipse(Pen pen,
RectangleF rect)
Draws an ellipse defined by a bounding
RectangleF. |
void |
Graphics.drawImage(Image image,
PointF[] destPoints,
RectangleF srcRect)
Draws the specified portion of the specified
image at the specified location and with the specified size. |
void |
Graphics.drawImage(Image image,
PointF[] destPoints,
RectangleF 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,
PointF[] destPoints,
RectangleF 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,
RectangleF rect)
Draws the specified
Image at the specified location and with the specified size. |
void |
Graphics.drawImage(Image sourceImage,
RectangleF rectDestination,
int graphicsUnit)
Draws the specified
Image at the specified location and with the specified size. |
void |
Graphics.drawImage(Image sourceImage,
RectangleF rectDestination,
int graphicsUnit,
ImageAttributes imageAttributes)
Draws the specified
Image at the specified location and with the specified size. |
void |
Graphics.drawImage(Image sourceImage,
RectangleF rectSource,
RectangleF rectDestination,
int graphicsUnit)
Draws the specified
Image at the specified location and with the specified size. |
void |
Graphics.drawImage(Image sourceImage,
RectangleF rectSource,
RectangleF rectDestination,
int graphicsUnit,
ImageAttributes imageAttributes)
Draws the specified
Image at the specified location and with the specified size. |
void |
Graphics.drawPie(Pen pen,
RectangleF rect,
float startAngle,
float sweepAngle)
Draws a pie shape defined by an ellipse specified by a
RectangleF structure and two radial lines. |
void |
Graphics.drawRectangle(Pen pen,
RectangleF rect)
Draws a rectangle specified by a
RectangleF structure. |
void |
Graphics.drawRectangles(Pen pen,
RectangleF[] rects)
Draws a series of rectangles specified by
RectangleF structures. |
void |
Graphics.drawString(String s,
Font font,
Brush brush,
RectangleF layoutRectangle)
Draws the specified text string in the specified rectangle with the specified
com.aspose.psd.Brush and com.aspose.psd.Font objects. |
void |
Graphics.drawString(String s,
Font font,
Brush brush,
RectangleF layoutRectangle,
StringFormat format)
Draws the specified text string in the specified rectangle with the specified
com.aspose.psd.Brush and com.aspose.psd.Font objects using the formatting attributes of the specified com.aspose.psd.stringFormat. |
void |
Region.exclude(RectangleF 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.RectangleF structure. |
void |
Graphics.fillEllipse(Brush brush,
RectangleF rect)
Fills the interior of an ellipse defined by a bounding rectangle specified by a
com.aspose.psd.RectangleF structure. |
void |
Graphics.fillPie(Brush brush,
RectangleF 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,
RectangleF rect)
Fills the interior of a rectangle specified by a
RectangleF structure. |
void |
Graphics.fillRectangles(Brush brush,
RectangleF[] rects)
Fills the interiors of a series of rectangles specified by
RectangleF structures. |
static RectangleF |
RectangleF.inflate(RectangleF rect,
float x,
float y)
Creates and returns an inflated copy of the specified
com.aspose.psd.RectangleF structure. |
void |
Region.intersect(RectangleF rect)
Updates this
com.aspose.psd.Region to the intersection of itself with the specified com.aspose.psd.RectangleF structure. |
void |
RectangleF.intersect(RectangleF rect)
Replaces this
com.aspose.psd.RectangleF structure with the intersection of itself and the specified com.aspose.psd.RectangleF structure. |
static RectangleF |
RectangleF.intersect(RectangleF a,
RectangleF b)
Returns a
com.aspose.psd.RectangleF structure that represents the intersection of two rectangles. |
boolean |
RectangleF.intersectsWith(RectangleF rect)
Determines if this rectangle intersects with
rect. |
static boolean |
RectangleF.isEquals(RectangleF obj1,
RectangleF obj2) |
boolean |
Region.isVisible(RectangleF rect)
Tests whether any portion of the specified
com.aspose.psd.RectangleF structure is contained within this com.aspose.psd.region. |
boolean |
Region.isVisible(RectangleF rect,
Graphics g)
Tests whether any portion of the specified
com.aspose.psd.RectangleF structure is contained within this com.aspose.psd.Region when drawn using the specified com.aspose.psd.graphics. |
static RectangleF |
RectangleF.op_Division(RectangleF rectangle,
float divider)
Implements the operator /.
|
static boolean |
RectangleF.op_Equality(RectangleF left,
RectangleF right)
Tests whether two
com.aspose.psd.RectangleF structures have equal location and size. |
static boolean |
RectangleF.op_Inequality(RectangleF left,
RectangleF right)
Tests whether two
com.aspose.psd.RectangleF structures differ in location or size. |
static RectangleF |
RectangleF.op_Multiply(RectangleF rectangle,
float multiplier)
Implements the operator *.
|
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. |
void |
Region.union(RectangleF rect)
Updates this
com.aspose.psd.Region to the union of itself and the specified com.aspose.psd.RectangleF structure. |
static RectangleF |
RectangleF.union(RectangleF a,
RectangleF b)
Creates the smallest possible third rectangle that can contain both of two rectangles that form a union.
|
void |
GraphicsPath.warp(PointF[] destPoints,
RectangleF srcRect)
Applies a warp transform, defined by a rectangle and a parallelogram, to this
com.aspose.psd.graphicsPath. |
void |
GraphicsPath.warp(PointF[] destPoints,
RectangleF srcRect,
Matrix matrix)
Applies a warp transform, defined by a rectangle and a parallelogram, to this
com.aspose.psd.graphicsPath. |
void |
GraphicsPath.warp(PointF[] destPoints,
RectangleF srcRect,
Matrix matrix,
int warpMode)
Applies a warp transform, defined by a rectangle and a parallelogram, to this
com.aspose.psd.graphicsPath. |
void |
GraphicsPath.warp(PointF[] destPoints,
RectangleF srcRect,
Matrix matrix,
int warpMode,
float flatness)
Applies a warp transform, defined by a rectangle and a parallelogram, to this
com.aspose.psd.graphicsPath. |
void |
Region.xor(RectangleF rect)
Updates this
com.aspose.psd.Region to the union minus the intersection of itself with the specified com.aspose.psd.RectangleF structure. |
| Constructor and Description |
|---|
Matrix(RectangleF rect,
PointF[] 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(RectangleF rect)
Initializes a new
T:Aspose.Imaging.Region from the specified T:Aspose.Imaging.RectangleF structure. |
| Modifier and Type | Method and Description |
|---|---|
RectangleF |
TextureBrush.getImageRectangle()
Gets the
Rectangle associated with this TextureBrush. |
RectangleF |
LinearGradientBrushBase.getRectangle()
Gets a rectangular region that defines the starting and ending points of the gradient.
|
| Modifier and Type | Method and Description |
|---|---|
void |
LinearGradientBrushBase.setRectangle(RectangleF value)
Sets a rectangular region that defines the starting and ending points of the gradient.
|
| Constructor and Description |
|---|
LinearGradientBrush(RectangleF 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(RectangleF 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(RectangleF rect,
float angle)
Initializes a new instance of the
LinearMulticolorGradientBrush class based on a rectangle and an orientation angle. |
LinearMulticolorGradientBrush(RectangleF 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,
RectangleF 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,
RectangleF destinationRectangle)
Initializes a new instance of the
Aspose.Imaging.Brushes.TextureBrush class that uses the specified image and bounding rectangle. |
TextureBrush(Image image,
RectangleF 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 RectangleF |
RectangleExtensions.unionWith(RectangleF rectangle,
RectangleF otherRectangle)
Unions two rectangle.
|
| Modifier and Type | Method and Description |
|---|---|
static Rectangle2D.Float |
RectangleExtensions.toGdiRectangle(RectangleF rectangle)
Converts the
RectangleF to the System.Drawing.Rectangle. |
static RectangleF |
RectangleExtensions.unionWith(RectangleF rectangle,
RectangleF otherRectangle)
Unions two rectangle.
|
| Modifier and Type | Method and Description |
|---|---|
RectangleF |
AiHeader.getTemplateBox()
Gets or sets the template box.
|
RectangleF |
AiHeader.getTileBox()
Gets or sets the tile box.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AiHeader.setTemplateBox(RectangleF value)
Gets or sets the template box.
|
void |
AiHeader.setTileBox(RectangleF value)
Gets or sets the tile box.
|
| Modifier and Type | Method and Description |
|---|---|
RectangleF |
TextLayer.getTextBoundBox()
Gets or sets the text bound box.
|
| Modifier and Type | Method and Description |
|---|---|
void |
TextLayer.setTextBoundBox(RectangleF value)
Gets or sets the text bound box.
|
| Modifier and Type | Method and Description |
|---|---|
int |
Txt2Resource.addTextRecord(String text,
RectangleF bounds)
Adds the text record to Resource and returns id of text record.
|
| Modifier and Type | Method and Description |
|---|---|
RectangleF |
ClipboardRecord.getBoundingRect()
Gets or sets the bounding rect.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ClipboardRecord.setBoundingRect(RectangleF value)
Gets or sets the bounding rect.
|
| Modifier and Type | Method and Description |
|---|---|
RectangleF |
TextShape.getBounds()
Gets the object's bounds.
|
RectangleF |
RectangleProjectedShape.getBounds()
Gets the object's bounds.
|
RectangleF |
PolygonShape.getBounds()
Gets the object's bounds.
|
RectangleF |
CurveShape.getBounds()
Gets the object's bounds.
|
RectangleF |
BezierShape.getBounds()
Gets the object's bounds.
|
RectangleF |
TextShape.getBounds(Matrix matrix)
Gets the object's bounds.
|
RectangleF |
RectangleProjectedShape.getBounds(Matrix matrix)
Gets the object's bounds.
|
RectangleF |
PolygonShape.getBounds(Matrix matrix)
Gets the object's bounds.
|
RectangleF |
CurveShape.getBounds(Matrix matrix)
Gets the object's bounds.
|
RectangleF |
BezierShape.getBounds(Matrix matrix)
Gets the object's bounds.
|
RectangleF |
ArcShape.getBounds(Matrix matrix)
Gets the object's bounds.
|
RectangleF |
TextShape.getBounds(Matrix matrix,
Pen pen)
Gets the object's bounds.
|
RectangleF |
RectangleProjectedShape.getBounds(Matrix matrix,
Pen pen)
Gets the object's bounds.
|
RectangleF |
PolygonShape.getBounds(Matrix matrix,
Pen pen)
Gets the object's bounds.
|
RectangleF |
CurveShape.getBounds(Matrix matrix,
Pen pen)
Gets the object's bounds.
|
RectangleF |
BezierShape.getBounds(Matrix matrix,
Pen pen)
Gets the object's bounds.
|
RectangleF |
ArcShape.getBounds(Matrix matrix,
Pen pen)
Gets the object's bounds.
|
| Constructor and Description |
|---|
ArcShape(RectangleF rectangle,
float startAngle,
float sweepAngle)
Initializes a new instance of the
ArcShape class. |
ArcShape(RectangleF rectangle,
float startAngle,
float sweepAngle,
boolean isClosed)
Initializes a new instance of the
ArcShape class. |
EllipseShape(RectangleF rectangle)
Initializes a new instance of the
EllipseShape class. |
PieShape(RectangleF rectangle,
float startAngle,
float sweepAngle)
Initializes a new instance of the
PieShape class. |
RectangleProjectedShape(RectangleF rectangle)
Initializes a new instance of the
RectangleProjectedShape class. |
RectangleShape(RectangleF rectangle)
Initializes a new instance of the
RectangleShape class. |
TextShape(String text,
RectangleF rectangle,
Font font,
StringFormat stringFormat)
Initializes a new instance of the
TextShape class. |
Copyright (c) 2008-2020 Aspose Pty Ltd. All Rights Reserved.