| Package | Description |
|---|---|
| com.aspose.imaging |
The package is the core for nested packages and the most basic objects used for Aspose.Imaging processing.
|
| com.aspose.imaging.brushes |
The package provides helper classes and methods to work with different brush types.
|
| com.aspose.imaging.extensions |
The package contains extension methods.
|
| com.aspose.imaging.fileformats.emf.graphics |
The package contains Emf/Emf+ graphics.
|
| com.aspose.imaging.fileformats.svg.graphics |
The package for drawing on Svg.
|
| Modifier and Type | Method and Description |
|---|---|
Brush |
Brush.deepClone()
Creates a new deep clone of the current
Brush. |
Brush |
Pen.getBrush()
Gets the
Brush that determines attributes of this Pen. |
| Modifier and Type | Method and Description |
|---|---|
void |
Graphics.drawString(String s,
Font font,
Brush brush,
float x,
float y)
Draws the specified text string at the specified location with the specified
com.aspose.imaging.Brush and com.aspose.imaging.Font objects. |
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
com.aspose.imaging.Brush and com.aspose.imaging.Font objects using the formatting attributes of the specified com.aspose.imaging.stringFormat. |
void |
Graphics.drawString(String s,
Font font,
Brush brush,
PointF point)
Draws the specified text string at the specified location with the specified
com.aspose.imaging.Brush and com.aspose.imaging.Font objects. |
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
com.aspose.imaging.Brush and com.aspose.imaging.Font objects using the formatting attributes of the specified com.aspose.imaging.stringFormat. |
void |
Graphics.drawString(String s,
Font font,
Brush brush,
RectangleF layoutRectangle)
Draws the specified text string in the specified rectangle with the specified
com.aspose.imaging.Brush and com.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
com.aspose.imaging.Brush and com.aspose.imaging.Font objects using the formatting attributes of the specified com.aspose.imaging.stringFormat. |
void |
Graphics.fillClosedCurve(Brush brush,
Point[] points)
Fills a closed cardinal spline curve defined by an array of
com.aspose.imaging.Point structures. |
void |
Graphics.fillClosedCurve(Brush brush,
Point[] points,
int fillMode)
Fills a closed cardinal spline curve defined by an array of
com.aspose.imaging.Point structures using the specified fill mode. |
void |
Graphics.fillClosedCurve(Brush brush,
Point[] points,
int fillMode,
float tension)
Fills a closed cardinal spline curve defined by an array of
com.aspose.imaging.Point structures using the specified fill mode and tension. |
void |
Graphics.fillClosedCurve(Brush brush,
PointF[] points)
Fills a closed cardinal spline curve defined by an array of
com.aspose.imaging.PointF structures. |
void |
Graphics.fillClosedCurve(Brush brush,
PointF[] points,
int fillMode)
Fills a closed cardinal spline curve defined by an array of
com.aspose.imaging.PointF structures using the specified fill mode. |
void |
Graphics.fillClosedCurve(Brush brush,
PointF[] points,
int fillMode,
float tension)
Fills a closed cardinal spline curve defined by an array of
com.aspose.imaging.PointF structures using the specified fill mode and tension. |
void |
Graphics.fillEllipse(Brush brush,
float x,
float y,
float width,
float height)
Fills an ellipse defined by a bounding rectangle specified by a pair of coordinates, a width, and a height.
|
void |
Graphics.fillEllipse(Brush brush,
int x,
int y,
int width,
int height)
Fills an ellipse defined by a bounding rectangle specified by a pair of coordinates, a width, and a height.
|
void |
Graphics.fillEllipse(Brush brush,
Rectangle rect)
Fills an ellipse defined by a bounding rectangle specified by a
com.aspose.imaging.Rectangle structure. |
void |
Graphics.fillEllipse(Brush brush,
RectangleF rect)
Fills an ellipse defined by a bounding rectangle specified by a
com.aspose.imaging.RectangleF structure. |
void |
Graphics.fillPath(Brush brush,
GraphicsPath path)
Fills a
com.aspose.imaging.graphicsPath. |
void |
Graphics.fillPie(Brush brush,
float x,
float y,
float width,
float height,
float startAngle,
float sweepAngle)
Fills 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 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,
RectangleF rect,
float startAngle,
float sweepAngle)
Fills a pie section defined by an ellipse specified by a
com.aspose.imaging.RectangleF structure and two radial lines. |
void |
Graphics.fillPie(Brush brush,
Rectangle rect,
float startAngle,
float sweepAngle)
Fills a pie section defined by an ellipse specified by a
com.aspose.imaging.RectangleF structure and two radial lines. |
void |
Graphics.fillPolygon(Brush brush,
Point[] points)
Fills a polygon defined by an array of points specified by
com.aspose.imaging.Point structures and FillMode.Alternate. |
void |
Graphics.fillPolygon(Brush brush,
Point[] points,
int fillMode)
Fills a polygon defined by an array of points specified by
com.aspose.imaging.Point structures using the specified fill mode. |
void |
Graphics.fillPolygon(Brush brush,
PointF[] points)
Fills a polygon defined by an array of points specified by
com.aspose.imaging.PointF structures and FillMode.Alternate. |
void |
Graphics.fillPolygon(Brush brush,
PointF[] points,
int fillMode)
Fills a polygon defined by an array of points specified by
com.aspose.imaging.PointF structures using the specified fill mode. |
void |
Graphics.fillRectangle(Brush brush,
float x,
float y,
float width,
float height)
Fills a rectangle specified by a pair of coordinates, a width and a height.
|
void |
Graphics.fillRectangle(Brush brush,
int x,
int y,
int width,
int height)
Fills a rectangle specified by a pair of coordinates, a width and a height.
|
void |
Graphics.fillRectangle(Brush brush,
Rectangle rect)
Fills the rectangle specified by a
Rectangle structure. |
void |
Graphics.fillRectangle(Brush brush,
RectangleF rect)
Fills the rectangle specified by a
RectangleF structure. |
void |
Graphics.fillRectangles(Brush brush,
Rectangle[] rects)
Fills rectangles specified by
Rectangle structures. |
void |
Graphics.fillRectangles(Brush brush,
RectangleF[] rects)
Fills the rectangles specified by
RectangleF structures. |
void |
Graphics.fillRegion(Brush brush,
Region region)
Fills a
Region. |
void |
Pen.setBrush(Brush value)
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(Brush brush,
float width)
Initializes a new instance of the
Pen class with the specified Brush and Pen.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
Aspose.Imaging.Brush with a linear gradient. |
class |
LinearGradientBrushBase
Represents a
Brush with gradient capabilities and appropriate properties. |
class |
LinearMulticolorGradientBrush
Represents a
Brush with linear gradient defined by multiple colors and appropriate positions. |
class |
PathGradientBrush
Encapsulates a
Aspose.Imaging.Brush object with a gradient. |
class |
PathGradientBrushBase
Represents a
Brush with base path gradient functionality. |
class |
PathMulticolorGradientBrush
Encapsulates a
Aspose.Imaging.Brush object with a gradient. |
class |
SolidBrush
Solid brush is intended for drawing continiously with specific color.
|
class |
TextureBrush
Each property of the
Aspose.Imaging.Brushes.TextureBrush class is a Aspose.Imaging.Brush object that uses an image to fill the interior of a shape. |
class |
TransformBrush
A
Brush with transform capabilities. |
| Modifier and Type | Method and Description |
|---|---|
static com.aspose.ms.System.Drawing.Brush |
BrushExtensions.toGdiBrush(Brush brush)
Converts the
Brush to the System.Drawing.Brush. |
| Modifier and Type | Method and Description |
|---|---|
void |
MetafileRecorderGraphics2D.fillEllipse(Brush brush,
Rectangle rect)
Fills the ellipse.
|
void |
MetafileRecorderGraphics2D.fillPath(Pen pen,
Brush brush,
GraphicsPath path)
Fills the path.
|
void |
MetafileRecorderGraphics2D.fillPie(Brush brush,
Rectangle rect,
float startAngle,
float sweepAngle)
Fills the pie.
|
void |
MetafileRecorderGraphics2D.fillPolygon(Brush brush,
Point[] points)
Fills the polygon.
|
void |
MetafileRecorderGraphics2D.fillPolygon(Brush brush,
Point[] points,
int fillMode)
Fills the polygon.
|
void |
MetafileRecorderGraphics2D.fillRectangle(Brush brush,
Rectangle rectangle)
Fills the rectangle.
|
| Modifier and Type | Method and Description |
|---|---|
void |
SvgGraphics2D.fillArc(Pen pen,
Brush brush,
Rectangle rect,
float startAngle,
float arcAngle)
Fills an arc representing a portion of an ellipse specified by a Rectangle structure.
|
void |
SvgGraphics2D.fillPath(Pen pen,
Brush brush,
GraphicsPath path)
Fills the path.
|
void |
SvgGraphics2D.fillRectangle(Pen pen,
Brush brush,
int x,
int y,
int width,
int height)
Fills the rectangle.
|
Copyright (c) 2008-2025 Aspose Pty Ltd. All Rights Reserved.