| 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 | Class and Description |
|---|---|
class |
SolidBrush
Defines a brush of a single color.
|
class |
TextureBrush
Each property of the TextureBrush class is a Brush object that uses an image to fill the interior of a shape.
|
| Modifier and Type | Method and Description |
|---|---|
static Brush |
Brushes.getAliceBlue()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getAntiqueWhite()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getAqua()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getAquamarine()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getAzure()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getBeige()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getBisque()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getBlack()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getBlanchedAlmond()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getBlue()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getBlueViolet()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getBrown()
Gets a system-defined
Brush object. |
Brush |
Pen.getBrush()
Gets or sets the Brush that determines attributes of this
Pen. |
static Brush |
Brushes.getBurlyWood()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getCadetBlue()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getChartreuse()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getChocolate()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getCoral()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getCornflowerBlue()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getCornsilk()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getCrimson()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getCyan()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getDarkBlue()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getDarkCyan()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getDarkGoldenrod()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getDarkGray()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getDarkGreen()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getDarkKhaki()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getDarkMagenta()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getDarkOliveGreen()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getDarkOrange()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getDarkOrchid()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getDarkRed()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getDarkSalmon()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getDarkSeaGreen()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getDarkSlateBlue()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getDarkSlateGray()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getDarkTurquoise()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getDarkViolet()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getDeepPink()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getDeepSkyBlue()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getDimGray()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getDodgerBlue()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getFirebrick()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getFloralWhite()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getForestGreen()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getFuchsia()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getGainsboro()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getGhostWhite()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getGold()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getGoldenrod()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getGray()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getGreen()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getGreenYellow()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getHoneydew()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getHotPink()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getIndianRed()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getIndigo()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getIvory()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getKhaki()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getLavender()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getLavenderBlush()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getLawnGreen()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getLemonChiffon()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getLightBlue()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getLightCoral()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getLightCyan()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getLightGoldenrodYellow()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getLightGray()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getLightGreen()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getLightPink()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getLightSalmon()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getLightSeaGreen()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getLightSkyBlue()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getLightSlateGray()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getLightSteelBlue()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getLightYellow()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getLime()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getLimeGreen()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getLinen()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getMagenta()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getMaroon()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getMediumAquamarine()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getMediumBlue()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getMediumOrchid()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getMediumPurple()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getMediumSeaGreen()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getMediumSlateBlue()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getMediumSpringGreen()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getMediumTurquoise()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getMediumVioletRed()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getMidnightBlue()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getMintCream()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getMistyRose()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getMoccasin()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getNavajoWhite()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getNavy()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getOldLace()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getOlive()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getOliveDrab()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getOrange()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getOrangeRed()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getOrchid()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getPaleGoldenrod()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getPaleGreen()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getPaleTurquoise()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getPaleVioletRed()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getPapayaWhip()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getPeachPuff()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getPeru()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getPink()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getPlum()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getPowderBlue()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getPurple()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getRed()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getRosyBrown()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getRoyalBlue()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getSaddleBrown()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getSalmon()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getSandyBrown()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getSeaGreen()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getSeaShell()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getSienna()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getSilver()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getSkyBlue()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getSlateBlue()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getSlateGray()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getSnow()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getSpringGreen()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getSteelBlue()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getTan()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getTeal()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getThistle()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getTomato()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getTransparent()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getTurquoise()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getViolet()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getWheat()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getWhite()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getWhiteSmoke()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getYellow()
Gets a system-defined
Brush object. |
static Brush |
Brushes.getYellowGreen()
Gets a system-defined
Brush object. |
| Modifier and Type | Method and Description |
|---|---|
void |
Graphics.drawString(String s,
Font font,
Brush brush,
float x,
float y)
|
void |
Graphics.drawString(String s,
Font font,
Brush brush,
float x,
float y,
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.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.drawString(String s,
Font font,
Brush brush,
RectangleF layoutRectangle)
Draws the specified text string in the specified rectangle with the specified
Brush
and Font objects using the formatting attributes of the specified StringFormat. |
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
Brush
and Font objects using the formatting attributes of the specified StringFormat. |
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.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.fillEllipse(Brush brush,
float x,
float y,
float width,
float height)
Fills the interior of an ellipse defined by a bounding rectangle specified by a pair of coordinates, a width, and a height.
|
void |
Graphics.fillEllipse(Brush brush,
RectangleF rect)
Fills the interior of an ellipse defined by a bounding rectangle specified by a RectangleF structure.
|
void |
Graphics.fillPath(Brush brush,
GraphicsPath path)
Fills the interior of a GraphicsPath.
|
void |
Graphics.fillPie(Brush brush,
float x,
float y,
float width,
float height,
float startAngle,
float sweepAngle)
Fills the interior of a pie section defined by an ellipse specified by a pair of coordinates, a width, a height, and two radial lines.
|
void |
Graphics.fillPie(Brush brush,
int x,
int y,
int width,
int height,
int startAngle,
int sweepAngle)
Fills the interior of a pie section defined by an ellipse specified by a pair of coordinates, a width, a height, and two radial lines.
|
void |
Graphics.fillPie(Brush brush,
Rectangle rect,
float startAngle,
float sweepAngle)
Fills the interior of a pie section defined by an ellipse specified by a Rectangle structure and two radial lines.
|
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. |
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.
|
void |
Graphics.fillRectangle(Brush brush,
float x,
float y,
float width,
float height)
Fills the interior of a rectangle specified by a pair of coordinates, a width, and a height.
|
void |
Graphics.fillRectangle(Brush brush,
RectangleF rect)
Fills the interior of a rectangle specified by a RectangleF structure.
|
void |
Graphics.fillRectangles(Brush brush,
Rectangle[] rects)
Fills the interiors of a series of rectangles specified by
Rectangle structures. |
void |
Graphics.fillRectangles(Brush brush,
RectangleF[] rects)
Fills the interiors of a series of rectangles specified by
RectangleF structures. |
void |
Graphics.fillRegion(Brush brush,
Region region)
Fills the interior of a Region.
|
void |
Pen.setBrush(Brush value)
Gets or sets the Brush that determines attributes of this
Pen. |
| Constructor and Description |
|---|
Pen(Brush brush)
Initializes a new instance of the
Pen class with the specified Brush(Pen.getBrush()/Pen.setBrush(Brush)). |
Pen(Brush brush,
float width)
Initializes a new instance of the Pen class with the specified Brush and Width.
|
| Modifier and Type | Class and Description |
|---|---|
class |
HatchBrush
Defines a rectangular brush with a hatch style, a foreground color, and a background color.
|
class |
LinearGradientBrush
Encapsulates a
Brush with a linear gradient. |
class |
PathGradientBrush
Encapsulates a
Brush object that fills the interior of a GraphicsPath object with a gradient. |
Copyright (c) 2008-2025 Aspose Pty Ltd. All Rights Reserved.