Packages

 

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

Classes

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

Class EmfAngleArc

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


    public final class EmfAngleArc
    extends EmfDrawingRecordType

    The EMR_ANGLEARC record specifies a line segment of an arc. The line segment is drawn from the current position to the beginning of the arc. The arc is drawn along the perimeter of a circle with the given radius and center. The length of the arc is defined by the given start and sweep angles

    • Constructor Summary

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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      Point getCenter()
      Gets or sets a 64-bit WMF PointL object, specified in [MS-WMF] section 2.2.2.15, which specifies the logical coordinates of the circle's center.
      int getRadius()
      Gets or sets a 32-bit unsigned integer that specifies the circle's radius, in logical units.
      float getStartAngle()
      Gets or sets a 32-bit float that specifies the arc's start angle, in degrees.
      float getSweepAngle()
      Gets or sets a 32-bit float that specifies the arc's sweep angle, in degrees.
      void setCenter(Point value)
      Gets or sets a 64-bit WMF PointL object, specified in [MS-WMF] section 2.2.2.15, which specifies the logical coordinates of the circle's center.
      void setRadius(int value)
      Gets or sets a 32-bit unsigned integer that specifies the circle's radius, in logical units.
      void setStartAngle(float value)
      Gets or sets a 32-bit float that specifies the arc's start angle, in degrees.
      void setSweepAngle(float value)
      Gets or sets a 32-bit float that specifies the arc's sweep angle, in degrees.
    • Constructor Detail

      • EmfAngleArc

        public EmfAngleArc(EmfRecord source)

        Initializes a new instance of the EmfAngleArc class.

        Parameters:
        source - The source.
      • EmfAngleArc

        public EmfAngleArc()

        Initializes a new instance of the EmfAngleArc class.

    • Method Detail

      • getCenter

        public Point getCenter()

        Gets or sets a 64-bit WMF PointL object, specified in [MS-WMF] section 2.2.2.15, which specifies the logical coordinates of the circle's center.

      • setCenter

        public void setCenter(Point value)

        Gets or sets a 64-bit WMF PointL object, specified in [MS-WMF] section 2.2.2.15, which specifies the logical coordinates of the circle's center.

      • getRadius

        public int getRadius()

        Gets or sets a 32-bit unsigned integer that specifies the circle's radius, in logical units.

      • setRadius

        public void setRadius(int value)

        Gets or sets a 32-bit unsigned integer that specifies the circle's radius, in logical units.

      • getStartAngle

        public float getStartAngle()

        Gets or sets a 32-bit float that specifies the arc's start angle, in degrees.

      • setStartAngle

        public void setStartAngle(float value)

        Gets or sets a 32-bit float that specifies the arc's start angle, in degrees.

      • getSweepAngle

        public float getSweepAngle()

        Gets or sets a 32-bit float that specifies the arc's sweep angle, in degrees.

      • setSweepAngle

        public void setSweepAngle(float value)

        Gets or sets a 32-bit float that specifies the arc's sweep angle, in degrees.