Class EmfArc
Namespace: Aspose.Imaging.FileFormats.Emf.Emf.Records
Assembly: Aspose.Imaging.dll (25.7.0)
The EMR_ARC record specifies an elliptical arc.
public sealed class EmfArc : EmfDrawingRecordType
{
public short BeginAngle { get; set; }
public short EndAngle { get; set; }
public short Angle { get; set; }
public short X { get; set; }
public short Y { get; set; }
public short RadiusX { get; set; }
public short RadiusY { get; set; }
}
Inheritance
object ← MetaObject ← EmfRecord ← EmfDrawingRecordType ← EmfArc
Inherited Members
EmfRecord.Type , EmfRecord.Size , object.GetType() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Constructors
EmfArc(EmfRecord)
Initializes a new instance of the Aspose.Imaging.FileFormats.Emf.Emf.Records.EmfArc class.
public EmfArc(EmfRecord source)
{
_xMin = source.GetShort();
_yMin = source.GetShort();
_xMax = source.GetShort();
_yMax = source.GetShort();
_arcWidth = source.GetShort();
_arcHeight = source.GetShort();
_startAngle = source.GetLong();
_endAngle = source.GetLong();
}
Parameters
source
EmfRecord
The source.
EmfArc()
Initializes a new instance of the Aspose.Imaging.FileFormats.Emf.Emf.Records.EmfArc class.
public EmfArc()
{
}
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
End
Gets or sets a 64-bit WMF PointL object that specifies the coordinates, in logical units, ofthe ending point of the radial line defining the ending point of the arc.
public Point End
{
get;
set;
}
Property Value
Start
Gets or sets a 64-bit WMF PointL object, specified in [MS-WMF] section 2.2.2.15, whichspecifies the coordinates, in logical units, of the ending point of the radial line defining thestarting point of the arc.
public Point Start
{
get;
set;
}