| Package | Description |
|---|---|
| com.aspose.drawing |
Aspose.Drawing is a graphics API that provides the capability of 2D drawings identical to GDI+ in your .NET applications.
|
| com.aspose.drawing.drawing2d |
| Modifier and Type | Method and Description |
|---|---|
static PointF |
PointF.add(PointF orig,
Size size)
|
static PointF |
PointF.add(PointF orig,
SizeF sizeF)
|
PointF |
PointF.Clone() |
static PointF |
PointF.getEmpty() |
PointF |
RectangleF.getLocation()
Gets the coordinates of the upper-left corner of this
RectangleF structure. |
static PointF |
PointF.op_Addition(PointF pt,
Size sz) |
static PointF |
PointF.op_Addition(PointF pt,
SizeF sz) |
static PointF |
PointF.op_Subtraction(PointF pt,
Size sz) |
static PointF |
PointF.op_Subtraction(PointF pt,
SizeF sz) |
static PointF |
PointF.subtract(PointF pt,
Size sz) |
static PointF |
PointF.subtract(PointF pt,
SizeF sz) |
static PointF |
Point.to_PointF(Point p)
|
static PointF |
SizeF.to_PointF(SizeF size) |
PointF |
SizeF.toPointF()
|
| Modifier and Type | Method and Description |
|---|---|
static PointF |
PointF.add(PointF orig,
Size size)
|
static PointF |
PointF.add(PointF orig,
SizeF sizeF)
|
static Point |
Point.ceiling(PointF value) |
void |
PointF.CloneTo(PointF that) |
boolean |
RectangleF.contains(PointF pt)
Determines if the specified point is contained within this
RectangleF structure. |
void |
Graphics.drawBezier(Pen pen,
PointF pt1,
PointF pt2,
PointF pt3,
PointF pt4)
Draws a Bézier spline defined by four PointF structures.
|
void |
Graphics.drawBeziers(Pen pen,
PointF[] points)
Draws a series of Bézier splines from an array of
Point structures. |
void |
Graphics.drawClosedCurve(Pen pen,
PointF[] points)
Draws a closed cardinal spline defined by an array of
PointF structures. |
void |
Graphics.drawClosedCurve(Pen pen,
PointF[] points,
float tension,
int fillmode)
Draws a closed cardinal spline defined by an array of PointF structures using a specified tension.
|
void |
Graphics.drawCurve(Pen pen,
PointF[] points)
Draws a cardinal spline through a specified array of
PointF structures. |
void |
Graphics.drawCurve(Pen pen,
PointF[] points,
float tension)
Draws a cardinal spline through a specified array of
PointF structures using a specified tension. |
void |
Graphics.drawCurve(Pen pen,
PointF[] points,
int offset,
int numberOfSegments)
Draws a cardinal spline through a specified array of
PointF structures using a specified tension. |
void |
Graphics.drawCurve(Pen pen,
PointF[] points,
int offset,
int numberOfSegments,
float tension)
Draws a cardinal spline through a specified array of
PointF structures using a specified tension. |
void |
Graphics.drawImage(Image image,
PointF point)
Draws the specified
Image, using its original physical size, at the specified location. |
void |
Graphics.drawImage(Image image,
PointF[] destPoints)
Draws the specified
Image at the specified location and with the specified shape and 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 imageAttr)
Draws the specified portion of the specified Image at the specified location and with the specified size.
|
void |
Graphics.drawLine(Pen pen,
PointF pt1,
PointF pt2)
Draws a line connecting two PointF structures.
|
void |
Graphics.drawLines(Pen pen,
PointF[] points)
Draws a series of line segments that connect an array of
PointF structures. |
void |
Graphics.drawPolygon(Pen pen,
PointF[] points)
Draws a polygon defined by an array of PointF structures.
|
void |
Graphics.drawString(String s,
Font font,
Brush brush,
PointF point)
|
void |
Graphics.drawString(String s,
Font font,
Brush brush,
PointF point,
StringFormat format)
Draws the specified text string at the specified location with the specified
Brush and
Font objects using the formatting attributes of the specified StringFormat. |
void |
Graphics.enumerateMetafile(Metafile metafile,
PointF[] destPoints,
Graphics.EnumerateMetafileProcByte callback)
Sends the records in the specified
Metafile, one at a time, to a callback method for display in a specified parallelogram. |
void |
Graphics.enumerateMetafile(Metafile metafile,
PointF[] destPoints,
Graphics.EnumerateMetafileProcByte callback,
byte[] callbackData)
Sends the records in the specified
Metafile, one at a time, to a callback method for display in a specified parallelogram. |
void |
Graphics.enumerateMetafile(Metafile metafile,
PointF[] destPoints,
Graphics.EnumerateMetafileProcByte callback,
byte[] bytes,
ImageAttributes imageAttr)
Sends the records in the specified
Metafile, one at a time, to a callback method for display in a specified parallelogram using specified image attributes. |
void |
Graphics.enumerateMetafile(Metafile metafile,
PointF[] destPoints,
RectangleF srcRect,
int srcUnit,
Graphics.EnumerateMetafileProcByte callback)
Sends the records in a selected rectangle from a S
Metafile, one at a time, to a callback method for display in a specified parallelogram. |
void |
Graphics.enumerateMetafile(Metafile metafile,
PointF[] destPoints,
RectangleF srcRect,
int srcUnit,
Graphics.EnumerateMetafileProcByte callback,
byte[] bytes)
Sends the records in a selected rectangle from a
Metafile, one at a time, to a callback method for display in a specified parallelogram. |
void |
Graphics.enumerateMetafile(Metafile metafile,
PointF[] destPoints,
RectangleF srcRect,
int unit,
Graphics.EnumerateMetafileProcByte callback,
byte[] callbackData,
ImageAttributes imageAttr)
Sends the records in a selected rectangle from a
Metafile, one at a time, to a callback method for display in a specified parallelogram using specified image attributes. |
void |
Graphics.enumerateMetafile(Metafile metafile,
PointF destPoint,
Graphics.EnumerateMetafileProcByte callback)
Sends the records in the specified
Metafile, one at a time, to a callback method for display at a specified point. |
void |
Graphics.enumerateMetafile(Metafile metafile,
PointF destPoint,
Graphics.EnumerateMetafileProcByte callback,
byte[] callbackData)
Sends the records in the specified
Metafile, one at a time, to a callback method for display at a specified point. |
void |
Graphics.enumerateMetafile(Metafile metafile,
PointF destPoint,
Graphics.EnumerateMetafileProcByte callback,
byte[] callbackData,
ImageAttributes imageAttr)
Sends the records in the specified
Metafile, one at a time, to a callback method
for display at a specified point using specified image attributes. |
void |
Graphics.enumerateMetafile(Metafile metafile,
PointF destPoint,
RectangleF srcRect,
int srcUnit,
Graphics.EnumerateMetafileProcByte callback)
Sends the records in a selected rectangle from a
Metafile, one at a time, to a callback method for display at a specified point. |
void |
Graphics.enumerateMetafile(Metafile metafile,
PointF destPoint,
RectangleF srcRect,
int srcUnit,
Graphics.EnumerateMetafileProcByte callback,
byte[] bytes)
Sends the records in a selected rectangle from a
Metafile, one at a time, to a callback method for display at a specified point. |
void |
Graphics.enumerateMetafile(Metafile metafile,
PointF destPoint,
RectangleF srcRect,
int unit,
Graphics.EnumerateMetafileProcByte callback,
byte[] bytes,
ImageAttributes imageAttr)
Sends the records in a selected rectangle from a
Metafile, one at a time, to a callback method for display at a specified point using specified image attributes. |
boolean |
PointF.equals(PointF other)
|
void |
Graphics.fillClosedCurve(Brush brush,
PointF[] points)
Fills the interior of a closed cardinal spline curve defined by an array of
PointF structures. |
void |
Graphics.fillClosedCurve(Brush brush,
PointF[] points,
int fillmode)
Fills the interior of a closed cardinal spline curve defined by an array of
PointF structures using the specified fill mode. |
void |
Graphics.fillClosedCurve(Brush brush,
PointF[] points,
int fillmode,
float tension)
Fills the interior of a closed cardinal spline curve defined by an array of PointF structures
using the specified fill mode and tension.
|
void |
Graphics.fillPolygon(Brush brush,
PointF[] points)
Fills the interior of a polygon defined by an array of points specified by
PointF structures. |
void |
Graphics.fillPolygon(Brush brush,
PointF[] points,
int fillMode)
Fills the interior of a polygon defined by an array of points specified by PointF structures using the specified fill mode.
|
static RectangleF |
RectangleF.fromPoints(PointF point1,
PointF point2)
Creates a new rectangle from two points.
|
static boolean |
PointF.isEquals(PointF obj1,
PointF obj2) |
boolean |
Region.isVisible(PointF point)
|
boolean |
Graphics.isVisible(PointF point)
|
boolean |
Region.isVisible(PointF point,
Graphics g)
|
SizeF |
Graphics.measureString(String text,
Font font,
PointF origin,
StringFormat stringFormat)
Measures the specified string when drawn with the specified
Font and formatted
with the specified StringFormat. |
void |
RectangleF.offset(PointF pos)
Adjusts the location of this rectangle by the specified amount.
|
static PointF |
PointF.op_Addition(PointF pt,
Size sz) |
static PointF |
PointF.op_Addition(PointF pt,
SizeF sz) |
static boolean |
PointF.op_Equality(PointF left,
PointF right)
Compares two
PointF structures. |
static boolean |
PointF.op_Inequality(PointF left,
PointF right)
Determines whether the coordinates of the specified points are not equal.
|
static PointF |
PointF.op_Subtraction(PointF pt,
Size sz) |
static PointF |
PointF.op_Subtraction(PointF pt,
SizeF sz) |
static Point |
Point.round(PointF value)
|
void |
RectangleF.setLocation(PointF value)
Sets the coordinates of the upper-left corner of this
RectangleF structure. |
static PointF |
PointF.subtract(PointF pt,
Size sz) |
static PointF |
PointF.subtract(PointF pt,
SizeF sz) |
void |
Graphics.transformPoints(int destSpace,
int srcSpace,
PointF[] pts)
Transforms an array of points from one coordinate space to another using the current world and page transformations of this
Graphics. |
static Point |
Point.truncate(PointF value)
Converts a PointF to a Point by performing a truncate operation on all the coordinates.
|
| Constructor and Description |
|---|
RectangleF(PointF location,
SizeF size)
Initializes a new instance of the RectangleF structure with the specified location and size.
|
SizeF(PointF pt)
Initializes a new instance of the
SizeF struct. |
| Modifier and Type | Method and Description |
|---|---|
PointF |
PathGradientBrush.getCenterPoint()
Gets or sets the center point of the path gradient.
|
PointF |
PathGradientBrush.getFocusScales()
Gets or sets the focus point for the gradient falloff.
|
PointF |
GraphicsPath.getLastPoint()
Gets the last point in the PathPoints array of this
GraphicsPath. |
PointF[] |
GraphicsPath.getPathPoints()
Gets the points in the path.
|
PointF[] |
PathData.getPoints()
Gets an array of
PointF structures that represents the points through which the path is constructed. |
| Modifier and Type | Method and Description |
|---|---|
void |
GraphicsPath.addBezier(PointF pt1,
PointF pt2,
PointF pt3,
PointF pt4)
Adds a cubic Bézier curve to the current figure.
|
void |
GraphicsPath.addBeziers(PointF[] points)
Adds a sequence of connected cubic Bézier curves to the current figure.
|
void |
GraphicsPath.addClosedCurve(PointF[] points)
Adds a closed curve to this path.
|
void |
GraphicsPath.addClosedCurve(PointF[] points,
float tension)
Adds a closed curve to this path.
|
void |
GraphicsPath.addCurve(PointF[] points)
Adds a spline curve to the current figure.
|
void |
GraphicsPath.addCurve(PointF[] points,
float tension)
Adds a spline curve to the current figure.
|
void |
GraphicsPath.addCurve(PointF[] points,
int offset,
int numberOfSegments,
float tension)
Adds a spline curve to the current figure.
|
void |
GraphicsPath.addLine(PointF pt1,
PointF pt2)
Appends a line segment to this GraphicsPath.
|
void |
GraphicsPath.addLines(PointF[] points)
Appends a series of connected line segments to the end of this
GraphicsPath. |
void |
GraphicsPath.addPolygon(PointF[] points)
Adds a polygon to this path.
|
void |
GraphicsPath.addString(String s,
FontFamily family,
int style,
float emSize,
PointF origin,
StringFormat format)
Adds a text string to this path.
|
int |
GraphicsPathIterator.copyData(PointF[][] points,
byte[][] types,
int startIndex,
int endIndex)
Copies the GraphicsPath.PathPoints property and GraphicsPath.PathTypes property arrays
of the associated
GraphicsPath into the two specified arrays. |
int |
GraphicsPathIterator.enumerate(PointF[][] points,
byte[][] types)
Copies the GraphicsPath.PathPoints property and GraphicsPath.PathTypes property arrays
of the associated
GraphicsPath into the two specified arrays. |
boolean |
GraphicsPath.isOutlineVisible(PointF point,
Pen pen)
Indicates whether the specified point is contained within (under) the outline of this
GraphicsPath when drawn with the specified Pen. |
boolean |
GraphicsPath.isVisible(PointF point)
Indicates whether the specified point is contained within this
GraphicsPath. |
boolean |
GraphicsPath.isVisible(PointF point,
Graphics graphics)
Indicates whether the specified point is contained within this
GraphicsPath, using the specified Graphics. |
void |
Matrix.rotateAt(float angle,
PointF point)
Applies a clockwise rotation to this Matrix around the point specified in the point parameter, and by prepending the rotation.
|
void |
Matrix.rotateAt(float angle,
PointF point,
int order)
Applies a clockwise rotation about the specified point to this Matrix in the specified order.
|
void |
PathGradientBrush.setCenterPoint(PointF value)
Gets or sets the center point of the path gradient.
|
void |
PathGradientBrush.setFocusScales(PointF value)
Gets or sets the focus point for the gradient falloff.
|
void |
PathData.setPoints(PointF[] value)
Sets an array of
PointF structures that represents the points through which the path is constructed. |
void |
Matrix.transformPoints(PointF[] pts)
Applies the geometric transform represented by this
Matrix to a specified array of points. |
void |
Matrix.transformVectors(PointF[] pts)
Multiplies each vector in an array by the matrix.
|
void |
GraphicsPath.warp(PointF[] destPoints,
RectangleF srcRect)
Applies a warp transform, defined by a rectangle and a parallelogram, to this
GraphicsPath. |
void |
GraphicsPath.warp(PointF[] destPoints,
RectangleF srcRect,
Matrix matrix)
Applies a warp transform, defined by a rectangle and a parallelogram, to this
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
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
GraphicsPath. |
| Constructor and Description |
|---|
GraphicsPath(PointF[] pts,
byte[] types)
Initializes a new instance of the
GraphicsPath class with the specified PathPointType and PointF arrays. |
GraphicsPath(PointF[] pts,
byte[] types,
int fillMode)
Initializes a new instance of the
GraphicsPath class with the specified PathPointType and PointF arrays and with the specified FillMode(GraphicsPath.getFillMode()/GraphicsPath.setFillMode(int)) enumeration element.. |
LinearGradientBrush(PointF point1,
PointF point2,
Color color1,
Color color2)
Initializes a new instance of the
LinearGradientBrush class with the specified points and colors. |
Matrix(RectangleF rect,
PointF[] plgpts)
Initializes a new instance of the
Matrix class to the geometric transform defined by the specified rectangle and array of points. |
PathGradientBrush(PointF[] points)
Initializes a new instance of the
PathGradientBrush class with the specified points. |
PathGradientBrush(PointF[] points,
int wrapMode)
Initializes a new instance of the
PathGradientBrush class with the specified points and wrap mode. |
Copyright (c) 2008-2025 Aspose Pty Ltd. All Rights Reserved.