Packages

 

com.aspose.imaging.fileformats.emf.emf.records

Classes

com.aspose.imaging.fileformats.emf.emf.records

Class EmfPolyBezierTo

  • All Implemented Interfaces:
    com.aspose.internal.fileformats.emf.IRecord, Cloneable


    public final class EmfPolyBezierTo
    extends EmfDrawingRecordType

    The EMR_POLYBEZIERTO record specifies one or more Bezier curves based upon the current position.

    Cubic Bezier curves are defined using the endpoints and control points specified by the aPoints field. The first curve is drawn from the first point to the fourth point, using the second and third points as control points. Each subsequent curve in the sequence needs exactly three more points: the ending point of the previous curve is used as the starting point, the next two points in the sequence are control points, and the third is the ending point. The cubic Bezier curves SHOULD be drawn using the current pen

    • Constructor Summary

      Constructors 
      Constructor and Description
      EmfPolyBezierTo()
      Initializes a new instance of the EmfPolyBezierTo class.
      EmfPolyBezierTo(EmfRecord source)
      Initializes a new instance of the EmfPolyBezierTo class.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      Point[] getAPoints()
      Gets or sets a Count length array of WMF PointL objects ([MS-WMF] section 2.2.2.15) that specifies the endpoints and control points of the Bezier curves in logical units.
      Rectangle getBounds()
      Gets or sets a 128-bit WMF RectL object ([MS-WMF] section 2.2.2.19) that specifies the bounding rectangle, in device units.
      void setAPoints(Point[] value)
      Gets or sets a Count length array of WMF PointL objects ([MS-WMF] section 2.2.2.15) that specifies the endpoints and control points of the Bezier curves in logical units.
      void setBounds(Rectangle value)
      Gets or sets a 128-bit WMF RectL object ([MS-WMF] section 2.2.2.19) that specifies the bounding rectangle, in device units.
    • Constructor Detail

      • EmfPolyBezierTo

        public EmfPolyBezierTo(EmfRecord source)

        Initializes a new instance of the EmfPolyBezierTo class.

        Parameters:
        source - The source.
      • EmfPolyBezierTo

        public EmfPolyBezierTo()

        Initializes a new instance of the EmfPolyBezierTo class.

    • Method Detail

      • getBounds

        public Rectangle getBounds()

        Gets or sets a 128-bit WMF RectL object ([MS-WMF] section 2.2.2.19) that specifies the bounding rectangle, in device units.

      • setBounds

        public void setBounds(Rectangle value)

        Gets or sets a 128-bit WMF RectL object ([MS-WMF] section 2.2.2.19) that specifies the bounding rectangle, in device units.

      • getAPoints

        public Point[] getAPoints()

        Gets or sets a Count length array of WMF PointL objects ([MS-WMF] section 2.2.2.15) that specifies the endpoints and control points of the Bezier curves in logical units.

      • setAPoints

        public void setAPoints(Point[] value)

        Gets or sets a Count length array of WMF PointL objects ([MS-WMF] section 2.2.2.15) that specifies the endpoints and control points of the Bezier curves in logical units.