Packages

 

com.aspose.psd

Interfaces

Classes

Exceptions

Uses of Class
com.aspose.psd.Brush

  • Packages that use Brush 
    Package Description
    com.aspose.psd
    The package is the core for nested packages and the most basic objects used for Aspose.Imaging processing.
    com.aspose.psd.brushes
    The package provides helper classes and methods to work with different brush types.
    com.aspose.psd.extensions
    The package contains extension methods.
    • Uses of Brush in com.aspose.psd

      Methods in com.aspose.psd 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.psd 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.psd.Brush and com.aspose.psd.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.psd.Brush and com.aspose.psd.Font objects using the formatting attributes of the specified com.aspose.psd.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.psd.Brush and com.aspose.psd.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.psd.Brush and com.aspose.psd.Font objects using the formatting attributes of the specified com.aspose.psd.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.psd.Brush and com.aspose.psd.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.psd.Brush and com.aspose.psd.Font objects using the formatting attributes of the specified com.aspose.psd.stringFormat.
      void Graphics.fillClosedCurve(Brush brush, Point[] points)
      Fills the interior of a closed cardinal spline curve defined by an array of com.aspose.psd.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.psd.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.psd.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.psd.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.psd.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.psd.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.psd.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.psd.RectangleF structure.
      void Graphics.fillPath(Brush brush, GraphicsPath path)
      Fills the interior of a com.aspose.psd.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.psd.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.psd.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.psd.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.psd.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.psd.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.psd.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.psd.region.
      void Pen.setBrush(Brush value)
      Sets the Brush that determines attributes of this Pen.
      Constructors in com.aspose.psd 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.psd.brushes

      Subclasses of Brush in com.aspose.psd.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.psd.extensions

      Methods in com.aspose.psd.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.