EmfPlusDrawCurve Class

Summary: The EmfPlusDrawCurve record specifies drawing a cardinal spline
NOTE: ObjectID (1 byte): The index of an EmfPlusPen object (section 2.2.1.7)
in the EMF+ Object Table to draw the curve. The value MUST be zero to 63, inclusive.

Module: aspose.imaging.fileformats.emf.emfplus.records

Full Name: aspose.imaging.fileformats.emf.emfplus.records.EmfPlusDrawCurve

Inheritance: EmfPlusDrawingRecordType

Aspose.Imaging Version: 24.6.0

Constructors

NameDescription
EmfPlusDrawCurve(source)Initializes a new instance of the EmfPlusDrawCurve class.

Properties

NameTypeAccessDescription
compressedboolr/wGets or sets a value indicating whether this EmfPlusDrawClosedCurve is compressed.
This bit indicates whether the PointData field specifies compressed data.
If set, PointData specifies absolute locations in the coordinate space with 16-bit integer coordinates.
If clear, PointData specifies absolute locations in the coordinate space with 32-bit floating-point coordinates
Note If the Relative flag (below) is set, this flag is undefined and MUST be ignored
data_sizeintr/wGets or sets a 32-bit unsigned integer that MUST define the 32-bit–aligned number of
bytes of data in the RecordData field that follows. This number does not include the 12-byte record header.
flagsshortr/wGets or sets a 16-bit unsigned integer that contains information for some records on how
the operation is to be performed and on the structure of the record.
num_segmentsintr/wGets or sets the segments count
A 32-bit unsigned integer that specifies the number of line segments making up the spline.
object_idbyter/wGets or sets the object identifier.
The index of an EmfPlusPen object (section 2.2.1.7) in the EMF+
Object Table to draw the curve. The value MUST be zero to 63, inclusive.
point_dataPointF[]r/wGets or sets an array of either 32-bit signed integers or 32-bit floating-point numbers of
Count length that defines coordinate values of the endpoints of the lines to be stroked.
sizeintr/wGets or sets a 32-bit unsigned integer that specifies the 32-bit-aligned number of bytes
in the entire record, including the 12-byte record header and record-specific data.
tensionfloatr/wGets or sets the tension
A 32-bit floating point number that specifies how tightly the spline
bends as it passes through the points. A value of 0 specifies that
the spline is a sequence of straight lines. As the value increases,
the curve becomes more rounded. For more information, see [SPLINE77] and [PETZOLD].
typeEmfPlusRecordTyperGets a 16-bit unsigned integer that identifies the record type.

Constructor: EmfPlusDrawCurve(source)

 EmfPlusDrawCurve(source) 

Initializes a new instance of the EmfPlusDrawCurve class.

Parameters:

ParameterTypeDescription
sourceEmfPlusRecordThe source.