Packages

 

com.aspose.imaging

Interfaces

Classes

Exceptions

Uses of Class
com.aspose.imaging.Brush

  • Packages that use Brush 
    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 namespace for drawing on Svg.
    • Uses of Brush in com.aspose.imaging

      Methods in com.aspose.imaging that return Brush 
      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.
      Methods in com.aspose.imaging with parameters of type Brush 
      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 the interior of 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 the interior of 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 the interior of 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 the interior of 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 the interior of 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 the interior of 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 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, int x, int y, int width, int 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, Rectangle rect)
      Fills the interior of an ellipse defined by a bounding rectangle specified by a com.aspose.imaging.Rectangle structure.
      void Graphics.fillEllipse(Brush brush, RectangleF rect)
      Fills the interior of an ellipse defined by a bounding rectangle specified by a com.aspose.imaging.RectangleF structure.
      void Graphics.fillPath(Brush brush, GraphicsPath path)
      Fills the interior of a com.aspose.imaging.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, RectangleF rect, float startAngle, float sweepAngle)
      Fills the interior of 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 the interior of 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 the interior of 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 the interior of 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 the interior of 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 the interior of 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 the interior of 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 the interior of a rectangle specified by a pair of coordinates, a width and a height.
      void Graphics.fillRectangle(Brush brush, Rectangle rect)
      Fills the interior of a rectangle specified by a Rectangle structure.
      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 com.aspose.imaging.region.
      void Pen.setBrush(Brush value)
      Sets the Brush that determines attributes of this Pen.
      Constructors in com.aspose.imaging with parameters of type Brush 
      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.
    • Uses of Brush in com.aspose.imaging.brushes

      Subclasses of Brush in com.aspose.imaging.brushes 
      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.
    • Uses of Brush in com.aspose.imaging.extensions

      Methods in com.aspose.imaging.extensions with parameters of type Brush 
      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.
    • Uses of Brush in com.aspose.imaging.fileformats.emf.graphics

      Methods in com.aspose.imaging.fileformats.emf.graphics with parameters of type 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.
    • Uses of Brush in com.aspose.imaging.fileformats.svg.graphics

      Methods in com.aspose.imaging.fileformats.svg.graphics with parameters of type Brush 
      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.