Packages

 

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

Classes

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

Class EmfPie

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


    public final class EmfPie
    extends EmfDrawingRecordType

    The EMR_PIE record specifies a pie-shaped wedge bounded by the intersection of an ellipse and two radials. The pie is outlined by using the current pen and filled by using the current brush.

    • Constructor Summary

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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      Rectangle getBox()
      Gets or sets a 128-bit WMF RectL object, specified in [MS-WMF] section 2.2.2.19, which specifies the inclusive-inclusive bounding rectangle.
      Point getEnd()
      Gets or sets a 64-bit PointL object that specifies the coordinates, in logical units, of the endpoint of the second radial.
      Point getStart()
      Gets or sets a 64-bit WMF PointL objects, specified in [MS-WMF] section 2.2.2.15, which specifies the coordinates, in logical units, of the endpoint of the first radial.
      void setBox(Rectangle value)
      Gets or sets a 128-bit WMF RectL object, specified in [MS-WMF] section 2.2.2.19, which specifies the inclusive-inclusive bounding rectangle.
      void setEnd(Point value)
      Gets or sets a 64-bit PointL object that specifies the coordinates, in logical units, of the endpoint of the second radial.
      void setStart(Point value)
      Gets or sets a 64-bit WMF PointL objects, specified in [MS-WMF] section 2.2.2.15, which specifies the coordinates, in logical units, of the endpoint of the first radial.
    • Constructor Detail

      • EmfPie

        public EmfPie(EmfRecord source)

        Initializes a new instance of the EmfPie class.

        Parameters:
        source - The source.
      • EmfPie

        public EmfPie()

        Initializes a new instance of the EmfPie class.

    • Method Detail

      • getBox

        public Rectangle getBox()

        Gets or sets a 128-bit WMF RectL object, specified in [MS-WMF] section 2.2.2.19, which specifies the inclusive-inclusive bounding rectangle.

      • setBox

        public void setBox(Rectangle value)

        Gets or sets a 128-bit WMF RectL object, specified in [MS-WMF] section 2.2.2.19, which specifies the inclusive-inclusive bounding rectangle.

      • getStart

        public Point getStart()

        Gets or sets a 64-bit WMF PointL objects, specified in [MS-WMF] section 2.2.2.15, which specifies the coordinates, in logical units, of the endpoint of the first radial.

      • setStart

        public void setStart(Point value)

        Gets or sets a 64-bit WMF PointL objects, specified in [MS-WMF] section 2.2.2.15, which specifies the coordinates, in logical units, of the endpoint of the first radial.

      • getEnd

        public Point getEnd()

        Gets or sets a 64-bit PointL object that specifies the coordinates, in logical units, of the endpoint of the second radial.

      • setEnd

        public void setEnd(Point value)

        Gets or sets a 64-bit PointL object that specifies the coordinates, in logical units, of the endpoint of the second radial.