| 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 Pen |
Pens.getAliceBlue()
Gets the alice blue
Pen. |
static Pen |
Pens.getAntiqueWhite()
Gets the antique white
Pen. |
static Pen |
Pens.getAqua()
Gets the aqua
Pen. |
static Pen |
Pens.getAquamarine()
Gets the aquamarine
Pen. |
static Pen |
Pens.getAzure()
Gets the azure
Pen. |
static Pen |
Pens.getBeige()
Gets the beige
Pen. |
static Pen |
Pens.getBisque()
Gets the bisque
Pen. |
static Pen |
Pens.getBlack()
Gets the black
Pen. |
static Pen |
Pens.getBlanchedAlmond()
Gets the blanched almond
Pen. |
static Pen |
Pens.getBlue()
Gets the blue
Pen. |
static Pen |
Pens.getBlueViolet()
Gets the blue violet
Pen. |
static Pen |
Pens.getBrown()
Gets the brown
Pen. |
static Pen |
Pens.getBurlyWood()
Gets the burly wood
Pen. |
static Pen |
Pens.getCadetBlue()
Gets the cadet blue
Pen. |
static Pen |
Pens.getChartreuse()
Gets the chartreuse
Pen. |
static Pen |
Pens.getChocolate()
Gets the chocolate
Pen. |
static Pen |
Pens.getCoral()
Gets the coral
Pen. |
static Pen |
Pens.getCornflowerBlue()
Gets the cornflower blue
Pen. |
static Pen |
Pens.getCornsilk()
Gets the cornsilk
Pen. |
static Pen |
Pens.getCrimson()
Gets the crimson
Pen. |
static Pen |
Pens.getCyan()
Gets the cyan
Pen. |
static Pen |
Pens.getDarkBlue()
Gets the dark blue
Pen. |
static Pen |
Pens.getDarkCyan()
Gets the dark cyan
Pen. |
static Pen |
Pens.getDarkGoldenrod()
Gets the dark goldenrod
Pen. |
static Pen |
Pens.getDarkGray()
Gets the dark gray
Pen. |
static Pen |
Pens.getDarkGreen()
Gets the dark green
Pen. |
static Pen |
Pens.getDarkKhaki()
Gets the dark khaki
Pen. |
static Pen |
Pens.getDarkMagenta()
Gets the dark magenta
Pen. |
static Pen |
Pens.getDarkOliveGreen()
Gets the dark olive green
Pen. |
static Pen |
Pens.getDarkOrange()
Gets the dark orange
Pen. |
static Pen |
Pens.getDarkOrchid()
Gets the dark orchid
Pen. |
static Pen |
Pens.getDarkRed()
Gets the dark red
Pen. |
static Pen |
Pens.getDarkSalmon()
Gets the dark salmon
Pen. |
static Pen |
Pens.getDarkSeaGreen()
Gets the dark sea green
Pen. |
static Pen |
Pens.getDarkSlateBlue()
Gets the dark slate blue
Pen. |
static Pen |
Pens.getDarkSlateGray()
Gets the dark slate gray
Pen. |
static Pen |
Pens.getDarkTurquoise()
Gets the dark turquoise
Pen. |
static Pen |
Pens.getDarkViolet()
Gets the dark violet
Pen. |
static Pen |
Pens.getDeepPink()
Gets the deep pink
Pen. |
static Pen |
Pens.getDeepSkyBlue()
Gets the deep sky blue
Pen. |
static Pen |
Pens.getDimGray()
Gets the dim gray
Pen. |
static Pen |
Pens.getDodgerBlue()
Gets the dodger blue
Pen. |
static Pen |
Pens.getFirebrick()
Gets the firebrick
Pen. |
static Pen |
Pens.getFloralWhite()
Gets the floral white
Pen. |
static Pen |
Pens.getForestGreen()
Gets the forest green
Pen. |
static Pen |
Pens.getFuchsia()
Gets the fuchsia
Pen. |
static Pen |
Pens.getGainsboro()
Gets the gainsboro
Pen. |
static Pen |
Pens.getGhostWhite()
Gets the ghost white
Pen. |
static Pen |
Pens.getGold()
Gets the gold
Pen. |
static Pen |
Pens.getGoldenrod()
Gets the goldenrod
Pen. |
static Pen |
Pens.getGray()
Gets the gray
Pen. |
static Pen |
Pens.getGreen()
Gets the green
Pen. |
static Pen |
Pens.getGreenYellow()
Gets the green yellow
Pen. |
static Pen |
Pens.getHoneydew()
Gets the honeydew
Pen. |
static Pen |
Pens.getHotPink()
Gets the hot pink
Pen. |
static Pen |
Pens.getIndianRed()
Gets the indian red
Pen. |
static Pen |
Pens.getIndigo()
Gets the indigo
Pen. |
static Pen |
Pens.getIvory()
Gets the ivory
Pen. |
static Pen |
Pens.getKhaki()
Gets the khaki
Pen. |
static Pen |
Pens.getLavender()
Gets the lavender
Pen. |
static Pen |
Pens.getLavenderBlush()
Gets the lavender blush
Pen. |
static Pen |
Pens.getLawnGreen()
Gets the lawn green
Pen. |
static Pen |
Pens.getLemonChiffon()
Gets the lemon chiffon
Pen. |
static Pen |
Pens.getLightBlue()
Gets the light blue
Pen. |
static Pen |
Pens.getLightCoral()
Gets the light coral
Pen. |
static Pen |
Pens.getLightCyan()
Gets the light cyan
Pen. |
static Pen |
Pens.getLightGoldenrodYellow()
Gets the light goldenrod yellow
Pen. |
static Pen |
Pens.getLightGray()
Gets the light gray
Pen. |
static Pen |
Pens.getLightGreen()
Gets the light green
Pen. |
static Pen |
Pens.getLightPink()
Gets the light pink
Pen. |
static Pen |
Pens.getLightSalmon()
Gets the light salmon
Pen. |
static Pen |
Pens.getLightSeaGreen()
Gets the light sea green
Pen. |
static Pen |
Pens.getLightSkyBlue()
Gets the light sky blue
Pen. |
static Pen |
Pens.getLightSlateGray()
Gets the light slate gray
Pen. |
static Pen |
Pens.getLightSteelBlue()
Gets the light steel blue
Pen. |
static Pen |
Pens.getLightYellow()
Gets the light yellow
Pen. |
static Pen |
Pens.getLime()
Gets the lime
Pen. |
static Pen |
Pens.getLimeGreen()
Gets the lime green
Pen. |
static Pen |
Pens.getLinen()
Gets the linen
Pen. |
static Pen |
Pens.getMagenta()
Gets the magenta
Pen. |
static Pen |
Pens.getMaroon()
Gets the maroon
Pen. |
static Pen |
Pens.getMediumAquamarine()
Gets the medium aquamarine
Pen. |
static Pen |
Pens.getMediumBlue()
Gets the medium blue
Pen. |
static Pen |
Pens.getMediumOrchid()
Gets the medium orchid
Pen. |
static Pen |
Pens.getMediumPurple()
Gets the medium purple
Pen. |
static Pen |
Pens.getMediumSeaGreen()
Gets the medium sea green
Pen. |
static Pen |
Pens.getMediumSlateBlue()
Gets the medium slate blue
Pen. |
static Pen |
Pens.getMediumSpringGreen()
Gets the medium spring green
Pen. |
static Pen |
Pens.getMediumTurquoise()
Gets the medium turquoise
Pen. |
static Pen |
Pens.getMediumVioletRed()
Gets the medium violet red
Pen. |
static Pen |
Pens.getMidnightBlue()
Gets the midnight blue
Pen. |
static Pen |
Pens.getMintCream()
Gets the mint cream
Pen. |
static Pen |
Pens.getMistyRose()
Gets the misty rose
Pen. |
static Pen |
Pens.getMoccasin()
Gets the moccasin
Pen. |
static Pen |
Pens.getNavajoWhite()
Gets the navajo white
Pen. |
static Pen |
Pens.getNavy()
Gets the navy
Pen. |
static Pen |
Pens.getOldLace()
Gets the old lace
Pen. |
static Pen |
Pens.getOlive()
Gets the olive
Pen. |
static Pen |
Pens.getOliveDrab()
Gets the olive drab
Pen. |
static Pen |
Pens.getOrange()
Gets the orange
Pen. |
static Pen |
Pens.getOrangeRed()
Gets the orange red
Pen. |
static Pen |
Pens.getOrchid()
Gets the orchid
Pen. |
static Pen |
Pens.getPaleGoldenrod()
Gets the pale goldenrod
Pen. |
static Pen |
Pens.getPaleGreen()
Gets the pale green
Pen. |
static Pen |
Pens.getPaleTurquoise()
Gets the pale turquoise
Pen. |
static Pen |
Pens.getPaleVioletRed()
Gets the pale violet red
Pen. |
static Pen |
Pens.getPapayaWhip()
Gets the papaya whip
Pen. |
static Pen |
Pens.getPeachPuff()
Gets the peach puff
Pen. |
static Pen |
Pens.getPeru()
Gets the peru
Pen. |
static Pen |
Pens.getPink()
Gets the pink
Pen. |
static Pen |
Pens.getPlum()
Gets the plum
Pen. |
static Pen |
Pens.getPowderBlue()
Gets the powder blue
Pen. |
static Pen |
Pens.getPurple()
Gets the purple
Pen. |
static Pen |
Pens.getRed()
Gets the red
Pen. |
static Pen |
Pens.getRosyBrown()
Gets the rosy brown
Pen. |
static Pen |
Pens.getRoyalBlue()
Gets the royal blue
Pen. |
static Pen |
Pens.getSaddleBrown()
Gets the saddle brown
Pen. |
static Pen |
Pens.getSalmon()
Gets the salmon
Pen. |
static Pen |
Pens.getSandyBrown()
Gets the sandy brown
Pen. |
static Pen |
Pens.getSeaGreen()
Gets the sea green
Pen. |
static Pen |
Pens.getSeaShell()
Gets the sea shell
Pen. |
static Pen |
Pens.getSienna()
Gets the sienna
Pen. |
static Pen |
Pens.getSilver()
Gets the silver
Pen. |
static Pen |
Pens.getSkyBlue()
Gets the sky blue
Pen. |
static Pen |
Pens.getSlateBlue()
Gets the slate blue
Pen. |
static Pen |
Pens.getSlateGray()
Gets the slate gray
Pen. |
static Pen |
Pens.getSnow()
Gets the snow
Pen. |
static Pen |
Pens.getSpringGreen()
Gets the spring green
Pen. |
static Pen |
Pens.getSteelBlue()
Gets the steel blue
Pen. |
static Pen |
Pens.getTan()
Gets the tan
Pen. |
static Pen |
Pens.getTeal()
Gets the teal
Pen. |
static Pen |
Pens.getThistle()
Gets the thistle
Pen. |
static Pen |
Pens.getTomato()
Gets the tomato
Pen. |
static Pen |
Pens.getTransparent()
Gets the transparent
Pen. |
static Pen |
Pens.getTurquoise()
Gets the turquoise
Pen. |
static Pen |
Pens.getViolet()
Gets the violet
Pen. |
static Pen |
Pens.getWheat()
Gets the wheat
Pen. |
static Pen |
Pens.getWhite()
Gets the white
Pen. |
static Pen |
Pens.getWhiteSmoke()
Gets the white smoke
Pen. |
static Pen |
Pens.getYellow()
Gets the yellow
Pen. |
static Pen |
Pens.getYellowGreen()
Gets the yellow green
Pen. |
| Modifier and Type | Method and Description |
|---|---|
void |
Graphics.drawArc(Pen pen,
float x,
float y,
float width,
float height,
float startAngle,
float sweepAngle)
Draws an arc representing a portion of an ellipse specified by a pair of coordinates, a width, and a height.
|
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.drawBezier(Pen pen,
float x1,
float y1,
float x2,
float y2,
float x3,
float y3,
float x4,
float y4)
Draws a Bézier spline defined by four ordered pairs of coordinates that represent points.
|
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,
Point[] points)
Draws a series of Bézier splines from an array of
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,
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.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,
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.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.drawEllipse(Pen pen,
float x,
float y,
float width,
float height)
Draws an ellipse defined by a bounding rectangle specified by a pair of coordinates, a height, and a width.
|
void |
Graphics.drawEllipse(Pen pen,
RectangleF rect)
Draws an ellipse defined by a bounding RectangleF.
|
void |
Graphics.drawLine(Pen pen,
float x1,
float y1,
float x2,
float y2)
Draws a line connecting the two points specified by the coordinate pairs.
|
void |
Graphics.drawLine(Pen pen,
int x1,
int y1,
int x2,
int y2)
Draws a line connecting the two points specified by the coordinate pairs.
|
void |
Graphics.drawLine(Pen pen,
PointF pt1,
PointF pt2)
Draws a line connecting two PointF structures.
|
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.drawLines(Pen pen,
PointF[] points)
Draws a series of line segments that connect an array of
PointF structures. |
void |
Graphics.drawPath(Pen pen,
GraphicsPath path)
Draws a GraphicsPath.
|
void |
Graphics.drawPie(Pen pen,
float x,
float y,
float width,
float height,
float startAngle,
float sweepAngle)
Draws a pie shape defined by an ellipse specified by a coordinate pair, a width, a height, and two radial lines.
|
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.drawPolygon(Pen pen,
Point[] points)
Draws a polygon defined by an array of
Point structures. |
void |
Graphics.drawPolygon(Pen pen,
PointF[] points)
Draws a polygon defined by an array of PointF structures.
|
void |
Graphics.drawRectangle(Pen pen,
float x,
float y,
float width,
float height)
Draws a rectangle specified by a coordinate pair, a width, and a height.
|
void |
Graphics.drawRectangle(Pen pen,
int x,
int y,
int width,
int height)
Draws a rectangle specified by a coordinate pair, a width, and a height.
|
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 |
Graphics.drawRectangles(Pen pen,
RectangleF[] rects)
Draws a series of rectangles specified by
RectangleF structures. |
| Modifier and Type | Method and Description |
|---|---|
RectangleF |
GraphicsPath.getBounds(Matrix matrix,
Pen pen)
Returns a rectangle that bounds this
GraphicsPath when the current path is
transformed by the specified Matrix and drawn with the specified Pen. |
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. |
void |
GraphicsPath.widen(Pen pen)
Adds an additional outline to the path.
|
void |
GraphicsPath.widen(Pen pen,
Matrix matrix)
Adds an additional outline to the
GraphicsPath. |
void |
GraphicsPath.widen(Pen pen,
Matrix matrix,
float flatness)
Replaces this
GraphicsPath with curves that enclose the area that is filled when this path is drawn by the specified pen. |
Copyright (c) 2008-2025 Aspose Pty Ltd. All Rights Reserved.