Class EmfChord

Class EmfChord

Namespace: Aspose.Imaging.FileFormats.Emf.Emf.Records
Assembly: Aspose.Imaging.dll (25.7.0)

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

public sealed class EmfChord : EmfDrawingRecordType
{
    public int nSegments;
    public Int32Collection pts;
}
This code is already following standard C# conventions. Here are some potential improvements to make it even more readable:
public sealed class EmfChord : EmfDrawingRecordType
{
    public int nSegments; // Note the added comment explaining the purpose of the variable
    public Int32Collection pts; // Added a comment to clarify that this is an Int32Collection
}

Inheritance

object MetaObject EmfRecord EmfDrawingRecordType EmfChord

Inherited Members

EmfRecord.Type , EmfRecord.Size , object.GetType() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()

Constructors

EmfChord(EmfRecord)

Initializes a new instance of the Aspose.Imaging.FileFormats.Emf.Emf.Records.EmfChord class.

public EmfChord(EmfRecord source)
{
}

Parameters

source EmfRecord

The source.

EmfChord()

Initializes a new instance of the Aspose.Imaging.FileFormats.Emf.Emf.Records.EmfChord class.

public EmfChord()
   {
   }

Properties

Box

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

public Rectangle Box
   {
      get;
      set;
   }

Property Value

Rectangle

End

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

public Point End
   {
      get;
      set;
   }

Property Value

Point

Start

Gets or sets a 64-bit WMF PointL object, specified in [MS-WMF] section 2.2.2.15, whichspecifies the logical coordinates of the endpoint of the radial defining the beginning of the chord.

public Point Start
   {
      get;
      set;
   }

Property Value

Point

 English