Packages

 

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

Classes

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

Class EmfChord

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


    public final class EmfChord
    extends EmfDrawingRecordType

    The EMR_CHORD record specifies a chord, which is a region bounded by the intersection of an ellipse and a line segment, called a secant. The chord is outlined by using the current pen and filled by using the current brush.

    • Constructor Summary

      Constructors 
      Constructor and Description
      EmfChord()
      Initializes a new instance of the EmfChord class.
      EmfChord(EmfRecord source)
      Initializes a new instance of the EmfChord 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 WMF PointL object that specifies the logical coordinates of the endpoint of the radial defining the end of the chord.
      Point getStart()
      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 endpoint of the radial defining the beginning of the chord.
      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 WMF PointL object that specifies the logical coordinates of the endpoint of the radial defining the end of the chord.
      void setStart(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 endpoint of the radial defining the beginning of the chord.
    • Constructor Detail

      • EmfChord

        public EmfChord(EmfRecord source)

        Initializes a new instance of the EmfChord class.

        Parameters:
        source - The source.
      • EmfChord

        public EmfChord()

        Initializes a new instance of the EmfChord 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 object, specified in [MS-WMF] section 2.2.2.15, which specifies the logical coordinates of the endpoint of the radial defining the beginning of the chord.

      • setStart

        public void setStart(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 endpoint of the radial defining the beginning of the chord.

      • getEnd

        public Point getEnd()

        Gets or sets a 64-bit WMF PointL object that specifies the logical coordinates of the endpoint of the radial defining the end of the chord.

      • setEnd

        public void setEnd(Point value)

        Gets or sets a 64-bit WMF PointL object that specifies the logical coordinates of the endpoint of the radial defining the end of the chord.