Package | Description |
---|---|
com.aspose.imaging | |
com.aspose.imaging.brushes | |
com.aspose.imaging.extensions | |
com.aspose.imaging.shapes |
Modifier and Type | Method and Description |
---|---|
RectangleF |
RectangleF.Clone() |
static RectangleF |
RectangleF.fromLeftTopRightBottom(float left,
float top,
float right,
float bottom)
Creates a
Aspose.Imaging.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. |
RectangleF |
Figure.getBounds()
Gets or sets the object's bounds.
|
RectangleF |
GraphicsPath.getBounds()
Gets or sets the object's bounds.
|
abstract RectangleF |
ObjectWithBounds.getBounds()
Gets the object's bounds.
|
RectangleF |
Figure.getBounds(Matrix matrix)
Gets the object's bounds.
|
RectangleF |
GraphicsPath.getBounds(Matrix matrix)
Gets the object's bounds.
|
abstract RectangleF |
ObjectWithBounds.getBounds(Matrix matrix)
Gets the object's bounds.
|
RectangleF |
Figure.getBounds(Matrix matrix,
Pen pen)
Gets the object's bounds.
|
RectangleF |
GraphicsPath.getBounds(Matrix matrix,
Pen pen)
Gets the object's bounds.
|
abstract RectangleF |
ObjectWithBounds.getBounds(Matrix matrix,
Pen pen)
Gets the object's bounds.
|
static RectangleF |
RectangleF.getEmpty()
Gets a new instance of the
Aspose.Imaging.RectangleF structure that has Aspose.Imaging.RectangleF.X , Aspose.Imaging.RectangleF.Y , Aspose.Imaging.RectangleF.Width and Aspose.Imaging.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
Aspose.Imaging.RectangleF structure. |
static RectangleF |
RectangleF.intersect(RectangleF a,
RectangleF b)
Returns a
Aspose.Imaging.RectangleF structure that represents the intersection of two rectangles. |
static RectangleF |
RectangleF.to_RectangleF(Rectangle rect)
Converts the specified
Aspose.Imaging.Rectangle structure to a Aspose.Imaging.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
Aspose.Imaging.RectangleF structure to a Aspose.Imaging.Rectangle structure by rounding the Aspose.Imaging.RectangleF values to the next higher integer values. |
void |
RectangleF.CloneTo(RectangleF that) |
void |
Region.complement(RectangleF rect)
Updates this
T:Aspose.Imaging.Region to contain the portion of the specified T:Aspose.Imaging.RectangleF structure that does not intersect with this T:Aspose.Imaging.Region . |
boolean |
RectangleF.contains(RectangleF rect)
Determines if the rectangular region represented by
rect is entirely contained within this Aspose.Imaging.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
Aspose.Imaging.Brush and Aspose.Imaging.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
Aspose.Imaging.Brush and Aspose.Imaging.Font objects using the formatting attributes of the specified Aspose.Imaging.StringFormat . |
void |
Region.exclude(RectangleF 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.RectangleF structure. |
void |
Graphics.fillEllipse(Brush brush,
RectangleF rect)
Fills the interior of an ellipse defined by a bounding rectangle specified by a
Aspose.Imaging.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
Aspose.Imaging.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
Aspose.Imaging.RectangleF structure. |
void |
RectangleF.intersect(RectangleF rect)
Replaces this
Aspose.Imaging.RectangleF structure with the intersection of itself and the specified Aspose.Imaging.RectangleF structure. |
void |
Region.intersect(RectangleF rect)
Updates this
T:Aspose.Imaging.Region to the intersection of itself with the specified T:Aspose.Imaging.RectangleF structure. |
static RectangleF |
RectangleF.intersect(RectangleF a,
RectangleF b)
Returns a
Aspose.Imaging.RectangleF structure that represents the intersection of two rectangles. |
boolean |
RectangleF.intersectsWith(RectangleF rect)
Determines if this rectangle intersects with
rect . |
boolean |
Region.isVisible(RectangleF rect)
Tests whether any portion of the specified
T:Aspose.Imaging.RectangleF structure is contained within this T:Aspose.Imaging.Region . |
boolean |
Region.isVisible(RectangleF rect,
Graphics g)
Tests whether any portion of the specified
T:Aspose.Imaging.RectangleF structure is contained within this T:Aspose.Imaging.Region when drawn using the specified T:Aspose.Imaging.Graphics . |
static boolean |
RectangleF.op_Equality(RectangleF left,
RectangleF right)
Tests whether two
Aspose.Imaging.RectangleF structures have equal location and size. |
static boolean |
RectangleF.op_Inequality(RectangleF left,
RectangleF right)
Tests whether two
Aspose.Imaging.RectangleF structures differ in location or size. |
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. |
void |
Region.union(RectangleF rect)
Updates this
T:Aspose.Imaging.Region to the union of itself and the specified T:Aspose.Imaging.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
T:Aspose.Imaging.GraphicsPath . |
void |
GraphicsPath.warp(PointF[] destPoints,
RectangleF srcRect,
Matrix matrix)
Applies a warp transform, defined by a rectangle and a parallelogram, to this
T:Aspose.Imaging.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
T:Aspose.Imaging.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
T:Aspose.Imaging.GraphicsPath . |
void |
Region.xor(RectangleF rect)
Updates this
T:Aspose.Imaging.Region to the union minus the intersection of itself with the specified T:Aspose.Imaging.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 Rectangle2D.Float |
RectangleExtensions.toGdiRectangle(RectangleF rectangle)
Converts the
RectangleF to the System.Drawing.Rectangle . |
Modifier and Type | Method and Description |
---|---|
RectangleF |
BezierShape.getBounds()
Gets the object's bounds.
|
RectangleF |
CurveShape.getBounds()
Gets the object's bounds.
|
RectangleF |
PolygonShape.getBounds()
Gets the object's bounds.
|
RectangleF |
RectangleProjectedShape.getBounds()
Gets the object's bounds.
|
RectangleF |
TextShape.getBounds()
Gets the object's bounds.
|
RectangleF |
ArcShape.getBounds(Matrix matrix)
Gets the object's bounds.
|
RectangleF |
BezierShape.getBounds(Matrix matrix)
Gets the object's bounds.
|
RectangleF |
CurveShape.getBounds(Matrix matrix)
Gets the object's bounds.
|
RectangleF |
PolygonShape.getBounds(Matrix matrix)
Gets the object's bounds.
|
RectangleF |
RectangleProjectedShape.getBounds(Matrix matrix)
Gets the object's bounds.
|
RectangleF |
TextShape.getBounds(Matrix matrix)
Gets the object's bounds.
|
RectangleF |
ArcShape.getBounds(Matrix matrix,
Pen pen)
Gets the object's bounds.
|
RectangleF |
BezierShape.getBounds(Matrix matrix,
Pen pen)
Gets the object's bounds.
|
RectangleF |
CurveShape.getBounds(Matrix matrix,
Pen pen)
Gets the object's bounds.
|
RectangleF |
PolygonShape.getBounds(Matrix matrix,
Pen pen)
Gets the object's bounds.
|
RectangleF |
RectangleProjectedShape.getBounds(Matrix matrix,
Pen pen)
Gets the object's bounds.
|
RectangleF |
TextShape.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-2016 Aspose Pty Ltd. All Rights Reserved.