| 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 | Field and Description |
|---|---|
static Point |
Point.EMPTY
|
| Modifier and Type | Method and Description |
|---|---|
static Point |
Point.add(Point pt,
Size sz)
|
static Point |
Point.ceiling(PointF value) |
Point |
Point.Clone() |
static Point |
Point.getEmpty() |
Point |
Rectangle.getLocation()
Gets the coordinates of the upper-left corner of this
Rectangle structure. |
Point |
Graphics.getRenderingOrigin()
Gets the rendering origin of this
Graphics for dithering and for hatch brushes. |
static Point |
Point.op_Addition(Point pt,
Size sz) |
static Point |
Point.op_Subtraction(Point pt,
Size sz) |
static Point |
Point.round(PointF value)
|
static Point |
Point.subtract(Point pt,
Size sz) |
static Point |
Size.to_Point(Size size)
|
static Point |
Point.truncate(PointF value)
Converts a PointF to a Point by performing a truncate operation on all the coordinates.
|
| Modifier and Type | Method and Description |
|---|---|
static Point |
Point.add(Point pt,
Size sz)
|
void |
Point.CloneTo(Point that) |
boolean |
Rectangle.contains(Point pt)
Determines if the specified point is contained within this
Rectangle structure. |
void |
Graphics.copyFromScreen(Point upperLeftSource,
Point upperLeftDestination,
Size blockRegionSize)
Performs a bit-block transfer of color data, corresponding to a rectangle of pixels, from the screen to the drawing surface of the
Graphics. |
void |
Graphics.copyFromScreen(Point upperLeftSource,
Point upperLeftDestination,
Size blockRegionSize,
int copyPixelOperation)
Performs a bit-block transfer of color data, corresponding to a rectangle of pixels, from the screen to the drawing surface of the
Graphics. |
void |
Graphics.drawBeziers(Pen pen,
Point[] points)
Draws a series of Bézier splines from an array of
PointF structures. |
void |
Graphics.drawClosedCurve(Pen pen,
Point[] points)
Draws a closed cardinal spline defined by an array of
Point structures. |
void |
Graphics.drawClosedCurve(Pen pen,
Point[] points,
float tension,
int fillmode)
Draws a closed cardinal spline defined by an array of
Point structures using a specified tension. |
void |
Graphics.drawCurve(Pen pen,
Point[] points)
Draws a cardinal spline through a specified array of
Point structures. |
void |
Graphics.drawCurve(Pen pen,
Point[] points,
float tension)
Draws a cardinal spline through a specified array of
Point structures using a specified tension. |
void |
Graphics.drawCurve(Pen pen,
Point[] points,
int offset,
int numberOfSegments,
float tension)
Draws a cardinal spline through a specified array of
Point structures using a specified tension. |
void |
Graphics.drawImage(Image image,
Point point)
Draws the specified Image, using its original physical size, at the specified location.
|
void |
Graphics.drawImage(Image image,
Point[] destPoints)
Draws the specified
Е:Image at the specified location and with the specified shape and 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 imageAttr)
Draws the specified portion of the specified
Image at the specified location and with the specified size. |
void |
Graphics.drawImageUnscaled(Image image,
Point point)
Draws a specified image using its original physical size at a specified location.
|
void |
Graphics.drawLine(Pen pen,
Point pt1,
Point pt2)
Draws a line connecting two
Point structures. |
void |
Graphics.drawLines(Pen pen,
Point[] points)
Draws a series of line segments that connect an array of
Point structures. |
void |
Graphics.drawPolygon(Pen pen,
Point[] points)
Draws a polygon defined by an array of
Point structures. |
void |
Graphics.enumerateMetafile(Metafile metafile,
Point[] 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,
Point[] 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,
Point[] 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,
Point[] destPoints,
Rectangle 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 in a specified parallelogram. |
void |
Graphics.enumerateMetafile(Metafile metafile,
Point[] destPoints,
Rectangle srcRect,
int srcUnit,
Graphics.EnumerateMetafileProcByte callback,
byte[] callbackData)
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,
Point[] destPoints,
Rectangle 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,
Point 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,
Point 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,
Point 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,
Point destPoint,
Rectangle 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,
Point destPoint,
Rectangle 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,
Point destPoint,
Rectangle 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 |
Point.equals(Point other)
|
void |
Graphics.fillClosedCurve(Brush brush,
Point[] points)
Fills the interior of a closed cardinal spline curve defined by an array of
Point structures. |
void |
Graphics.fillClosedCurve(Brush brush,
Point[] points,
int fillmode)
Fills the interior of a closed cardinal spline curve defined by an array of
Point structures using the specified fill mode. |
void |
Graphics.fillClosedCurve(Brush brush,
Point[] points,
int fillmode,
float tension)
Fills the interior of a closed cardinal spline curve defined by an array of
Point structures using the specified fill mode. |
void |
Graphics.fillPolygon(Brush brush,
Point[] points)
Fills the interior of a polygon defined by an array of points specified by
Point structures. |
void |
Graphics.fillPolygon(Brush brush,
Point[] points,
int fillMode)
Fills the interior of a polygon defined by an array of points specified by
Point structures using the specified fill mode. |
static Rectangle |
Rectangle.fromPoints(Point point1,
Point point2)
Creates a new rectangle from two points.
|
static boolean |
Point.isEquals(Point obj1,
Point obj2) |
boolean |
Region.isVisible(Point point)
|
boolean |
Graphics.isVisible(Point point)
|
boolean |
Region.isVisible(Point point,
Graphics g)
|
void |
Rectangle.offset(Point pos)
Adjusts the location of this rectangle by the specified amount.
|
void |
Point.offset(Point p)
|
static Point |
Point.op_Addition(Point pt,
Size sz) |
static boolean |
Point.op_Equality(Point left,
Point right)
Compares two
Point objects. |
static boolean |
Point.op_Inequality(Point left,
Point right)
Compares two
Point objects. |
static Point |
Point.op_Subtraction(Point pt,
Size sz) |
void |
Rectangle.setLocation(Point value)
Sets the coordinates of the upper-left corner of this
Rectangle structure. |
void |
Graphics.setRenderingOrigin(Point value)
Sets the rendering origin of this
Graphics for dithering and for hatch brushes. |
static Point |
Point.subtract(Point pt,
Size sz) |
static PointF |
Point.to_PointF(Point p)
|
static Size |
Point.to_Size(Point p) |
void |
Graphics.transformPoints(int destSpace,
int srcSpace,
Point[] pts)
Transforms an array of points from one coordinate space to another using the current world and page transformations of this
Graphics. |
| Constructor and Description |
|---|
Rectangle(Point location,
Size size)
Initializes a new instance of the
Rectangle struct with the specified location and size. |
Size(Point pt)
|
| Modifier and Type | Method and Description |
|---|---|
void |
GraphicsPath.addBeziers(Point[] points)
Adds a sequence of connected cubic Bézier curves to the current figure.
|
void |
GraphicsPath.addCurve(Point[] points)
Adds a spline curve to the current figure.
|
void |
GraphicsPath.addLines(Point[] points)
Appends a series of connected line segments to the end of this
GraphicsPath. |
void |
GraphicsPath.addPolygon(Point[] points)
Adds a polygon to this path.
|
void |
GraphicsPath.addString(String s,
FontFamily family,
int style,
float emSize,
Point origin,
StringFormat format)
Adds a text string to this path.
|
boolean |
GraphicsPath.isVisible(Point point)
Indicates whether the specified point is contained within this
GraphicsPath. |
boolean |
GraphicsPath.isVisible(Point point,
Graphics graphics)
Indicates whether the specified point is contained within this
GraphicsPath, using the specified Graphics. |
void |
Matrix.transformPoints(Point[] pts)
Applies the geometric transform represented by this
Matrix to a specified array of points. |
| Constructor and Description |
|---|
GraphicsPath(Point[] pts,
byte[] types)
Initializes a new instance of the
GraphicsPath class with the specified PathPointType and Point arrays. |
GraphicsPath(Point[] pts,
byte[] types,
int fillMode)
Initializes a new instance of the
GraphicsPath class with the specified PathPointType and Point arrays and with the specified FillMode(GraphicsPath.getFillMode()/GraphicsPath.setFillMode(int)) enumeration element.. |
LinearGradientBrush(Point point1,
Point point2,
Color color1,
Color color2)
Initializes a new instance of the
LinearGradientBrush class with the specified points and colors. |
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. |
PathGradientBrush(Point[] points)
Initializes a new instance of the
PathGradientBrush class with the specified points. |
PathGradientBrush(Point[] 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.