Packages

 

com.aspose.imaging

Interfaces

Classes

Exceptions

Uses of Class
com.aspose.imaging.Pen

  • Packages that use Pen 
    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.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.
    com.aspose.imaging.shapes
    The package contains different shapes combined from shape segments.
    • Uses of Pen in com.aspose.imaging

      Methods in com.aspose.imaging with parameters of type 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, int x, int y, int width, int height, int startAngle, int 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.drawArc(Pen pen, Rectangle rect, float startAngle, float sweepAngle)
      Draws an arc representing a portion of an ellipse specified by a Rectangle 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.drawBezier(Pen pen, Point pt1, Point pt2, Point pt3, Point pt4)
      Draws a Bézier spline defined by four Point structures.
      void Graphics.drawBeziers(Pen pen, Point[] points)
      Draws a series of Bézier splines from an array of Point structures.
      void Graphics.drawBeziers(Pen pen, PointF[] points)
      Draws a series of Bézier splines from an array of PointF 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)
      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)
      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.
      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, int x, int y, int width, int 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, Rectangle rect)
      Draws an ellipse specified by a bounding Rectangle structure.
      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 point1, PointF point2)
      Draws a line connecting two PointF structures.
      void Graphics.drawLine(Pen pen, Point point1, Point point2)
      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 com.aspose.imaging.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, int x, int y, int width, int height, int startAngle, int 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.drawPie(Pen pen, Rectangle rect, float startAngle, float sweepAngle)
      Draws a pie shape defined by an ellipse specified by a Rectangle 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.drawRectangle(Pen pen, RectangleF rect)
      Draws a rectangle specified by a RectangleF 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.
      abstract RectangleF ObjectWithBounds.getBounds(Matrix matrix, Pen pen)
      Gets the object's bounds.
      RectangleF GraphicsPath.getBounds(Matrix matrix, Pen pen)
      Gets the object's bounds.
      RectangleF Figure.getBounds(Matrix matrix, Pen pen)
      Gets the object's bounds.
      boolean GraphicsPath.isOutlineVisible(float x, float y, Pen pen)
      Indicates whether the specified point is contained within (under) the outline of this com.aspose.imaging.GraphicsPath when drawn with the specified com.aspose.imaging.pen.
      boolean GraphicsPath.isOutlineVisible(float x, float y, Pen pen, Graphics graphics)
      Indicates whether the specified point is contained within (under) the outline of this com.aspose.imaging.GraphicsPath when drawn with the specified com.aspose.imaging.Pen and using the specified com.aspose.imaging.graphics.
      boolean GraphicsPath.isOutlineVisible(int x, int y, Pen pen)
      Indicates whether the specified point is contained within (under) the outline of this com.aspose.imaging.GraphicsPath when drawn with the specified com.aspose.imaging.pen.
      boolean GraphicsPath.isOutlineVisible(int x, int y, Pen pen, Graphics graphics)
      Indicates whether the specified point is contained within (under) the outline of this com.aspose.imaging.GraphicsPath when drawn with the specified com.aspose.imaging.Pen and using the specified com.aspose.imaging.graphics.
      boolean GraphicsPath.isOutlineVisible(PointF point, Pen pen)
      Indicates whether the specified point is contained within (under) the outline of this com.aspose.imaging.GraphicsPath when drawn with the specified com.aspose.imaging.pen.
      boolean GraphicsPath.isOutlineVisible(PointF pt, Pen pen, Graphics graphics)
      Indicates whether the specified point is contained within (under) the outline of this com.aspose.imaging.GraphicsPath when drawn with the specified com.aspose.imaging.Pen and using the specified com.aspose.imaging.graphics.
      boolean GraphicsPath.isOutlineVisible(Point point, Pen pen)
      Indicates whether the specified point is contained within (under) the outline of this com.aspose.imaging.GraphicsPath when drawn with the specified com.aspose.imaging.pen.
      boolean GraphicsPath.isOutlineVisible(Point pt, Pen pen, Graphics graphics)
      Indicates whether the specified point is contained within (under) the outline of this com.aspose.imaging.GraphicsPath when drawn with the specified com.aspose.imaging.Pen and using the specified com.aspose.imaging.graphics.
      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 com.aspose.imaging.graphicsPath.
      void GraphicsPath.widen(Pen pen, Matrix matrix, float flatness)
      Replaces this com.aspose.imaging.GraphicsPath with curves that enclose the area that is filled when this path is drawn by the specified pen.
    • Uses of Pen in com.aspose.imaging.extensions

      Methods in com.aspose.imaging.extensions with parameters of type Pen 
      Modifier and Type Method and Description
      static com.aspose.ms.System.Drawing.Pen PenExtensions.toGdiPen(Pen pen)
      Converts the Pen to the System.Drawing.Pen.
    • Uses of Pen in com.aspose.imaging.fileformats.emf.graphics

      Methods in com.aspose.imaging.fileformats.emf.graphics with parameters of type Pen 
      Modifier and Type Method and Description
      void MetafileRecorderGraphics2D.drawArc(Pen pen, Rectangle rect, float startAngle, float arcAngle)
      Draws an arc representing a portion of an ellipse specified by a Rectangle structure.
      void MetafileRecorderGraphics2D.drawCubicBezier(Pen pen, Point pt1, Point pt2, Point pt3, Point pt4)
      Draws the cubic bezier.
      void MetafileRecorderGraphics2D.drawEllipse(Pen pen, Rectangle rect)
      Draws the ellipse.
      void MetafileRecorderGraphics2D.drawLine(Pen pen, int x1, int y1, int x2, int y2)
      Draws the line.
      void MetafileRecorderGraphics2D.drawLine(Pen pen, Point pt1, Point pt2)
      Draws the line.
      void MetafileRecorderGraphics2D.drawPath(Pen pen, GraphicsPath path)
      Draws the path.
      void MetafileRecorderGraphics2D.drawPie(Pen pen, Rectangle rect, float startAngle, float sweepAngle)
      Draws the pie.
      void MetafileRecorderGraphics2D.drawPolyCubicBezier(Pen pen, Point[] points)
      Draws the poly cubic bezier.
      void MetafileRecorderGraphics2D.drawPolygon(Pen pen, Point[] points)
      Draws the polygon.
      void MetafileRecorderGraphics2D.drawPolyline(Pen pen, Point[] points)
      Draws the polyline.
      void MetafileRecorderGraphics2D.drawRectangle(Pen pen, int x, int y, int width, int height)
      Draws the rectangle.
      void MetafileRecorderGraphics2D.drawRectangle(Pen pen, Rectangle rectangle)
      Draws the rectangle.
      void MetafileRecorderGraphics2D.fillPath(Pen pen, Brush brush, GraphicsPath path)
      Fills the path.
    • Uses of Pen in com.aspose.imaging.fileformats.svg.graphics

      Methods in com.aspose.imaging.fileformats.svg.graphics with parameters of type Pen 
      Modifier and Type Method and Description
      void SvgGraphics2D.drawArc(Pen pen, Rectangle rect, float startAngle, float arcAngle)
      Draws an arc representing a portion of an ellipse specified by a Rectangle structure.
      void SvgGraphics2D.drawCubicBezier(Pen pen, PointF pt1, PointF pt2, PointF pt3, PointF pt4)
      Draws the cubic bezier.
      void SvgGraphics2D.drawLine(Pen pen, int x1, int y1, int x2, int y2)
      Draws the line.
      void SvgGraphics2D.drawPath(Pen pen, GraphicsPath path)
      Draws the path.
      void SvgGraphics2D.drawRectangle(Pen pen, int x, int y, int width, int height)
      Draws the rectangle.
      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.
    • Uses of Pen in com.aspose.imaging.shapes

      Methods in com.aspose.imaging.shapes with parameters of type Pen 
      Modifier and Type Method and Description
      RectangleF TextShape.getBounds(Matrix matrix, Pen pen)
      Gets the object's bounds.
      RectangleF RectangleProjectedShape.getBounds(Matrix matrix, Pen pen)
      Gets the object's bounds.
      RectangleF PolygonShape.getBounds(Matrix matrix, Pen pen)
      Gets the object's bounds.
      RectangleF CurveShape.getBounds(Matrix matrix, Pen pen)
      Gets the object's bounds.
      RectangleF BezierShape.getBounds(Matrix matrix, Pen pen)
      Gets the object's bounds.
      RectangleF ArcShape.getBounds(Matrix matrix, Pen pen)
      Gets the object's bounds.