Class EmfPlusDrawPie
Namespace: Aspose.Imaging.FileFormats.Emf.EmfPlus.Records
Assembly: Aspose.Imaging.dll (25.7.0)
The EmfPlusDrawPie record specifies drawing a section of the interior of an ellipse.
public sealed class EmfPlusDrawPie : EmfPlusDrawingRecordType
{
public EmfPlusLogBrushObject Brush { get; set; }
public int Point1X { get; set; }
public int Point1Y { get; set; }
public int Point2X { get; set; }
public int Point2Y { get; set; }
public int Angle { get; set; }
}
Inheritance
object ← MetaObject ← EmfPlusRecord ← EmfPlusDrawingRecordType ← EmfPlusDrawPie
Inherited Members
EmfPlusRecord.Type , EmfPlusRecord.Flags , EmfPlusRecord.Size , EmfPlusRecord.DataSize , object.GetType() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Constructors
EmfPlusDrawPie(EmfPlusRecord)
Initializes a new instance of the Aspose.Imaging.FileFormats.Emf.EmfPlus.Records.EmfPlusDrawPie class.
public EmfPlusDrawPie(EmfPlusRecord source)
{
}
Parameters
source
EmfPlusRecord
The source.
Properties
Compressed
Gets or sets a value indicating whether the PointData is compressed.If set, RectData contains an EmfPlusRect object (section 2.2.2.38).If clear, RectData contains an EmfPlusRectF object (section 2.2.2.39).
public bool Compressed
{
get;
set;
}
Property Value
ObjectId
Gets or sets the object identifier.The index of an EmfPlusPen object (section 2.2.1.7) in the EMF+Object Table to draw the pie. The value MUST be zero to 63, inclusive.
public byte ObjectId
{
get;
set;
}
Property Value
RectData
Gets or sets the rectangle datasEither an EmfPlusRect or EmfPlusRectF object that defines the bounding box of theellipse that contains the pie wedge. This rectangle defines the position, size,and shape of the pie. The type of object in this field is specified by the valueof the Flags field.
public RectangleF RectData
{
get;
set;
}
Property Value
StartAngle
Gets or sets the start angleA 32-bit, non-negative floating-point value that specifies the angle between thex-axis and the starting point of the pie wedge. Any value is acceptable, but itMUST be interpreted modulo 360, with the result that is used being in the range0.0 inclusive to 360.0 exclusive.
public float StartAngle
{
get;
set;
}
Property Value
SweepAngle
Gets or sets the sweep angleA 32-bit floating-point value that specifies the extent of the arc that definesthe pie wedge to draw, as an angle in degrees measured from the starting pointdefined by the StartAngle value. Any value is acceptable, but it MUST be clampedto -360.0 to 360.0 inclusive. A positive value indicates that the sweep is definedin a clockwise direction, and a negative value indicates that the sweep is definedin a counter-clockwise direction.
public float SweepAngle
{
get;
set;
}