Packages

 

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

Classes

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

Class EmfPolygon

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


    public final class EmfPolygon
    extends EmfDrawingRecordType

    The EMR_POLYGON record specifies a polygon consisting of two or more vertexes connected by straight lines.

    The polygon SHOULD be outlined using the current pen and filled using the current brush and polygon fill mode. The polygon SHOULD be closed automatically by drawing a line from the last vertex to the first

    • Constructor Summary

      Constructors 
      Constructor and Description
      EmfPolygon()
      Initializes a new instance of the EmfPolygon class.
      EmfPolygon(EmfRecord source)
      Initializes a new instance of the EmfPolygon class.
    • Constructor Detail

      • EmfPolygon

        public EmfPolygon(EmfRecord source)

        Initializes a new instance of the EmfPolygon class.

        Parameters:
        source - The source.
      • EmfPolygon

        public EmfPolygon()

        Initializes a new instance of the EmfPolygon 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 vertexes of the polygon 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 vertexes of the polygon in logical units.