Class EmfPlusDrawCurve

Class EmfPlusDrawCurve

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

The EmfPlusDrawCurve record specifies drawing a cardinal splineNOTE: 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.

public sealed class EmfPlusDrawCurve : EmfPlusDrawingRecordType
{
    public PointF StartPoint { get; set; }
    public Byte[] EndPoints { get; set; }
    public Short CodePageIndex { get; set; }
    public Byte Flags { get; set; }
}

Inheritance

object MetaObject EmfPlusRecord EmfPlusDrawingRecordType EmfPlusDrawCurve

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

EmfPlusDrawCurve(EmfPlusRecord)

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

public EmfPlusDrawCurve(EmfPlusRecord source)
   {
   }

Parameters

source EmfPlusRecord

The source.

Properties

Compressed

Gets or sets a value indicating whether this Aspose.Imaging.FileFormats.Emf.EmfPlus.Records.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 coordinatesNote If the Relative flag (below) is set, this flag is undefined and MUST be ignored

public bool Compressed
   {
      get;
      set;
   }

Property Value

bool

NumSegments

Gets or sets the segments countA 32-bit unsigned integer that specifies the number of line segments making up the spline.

public int NumSegments
   {
      get;
      set;
   }

Property Value

int

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 curve. The value MUST be zero to 63, inclusive.

public byte ObjectId
    {
        get;
        set;
    }

Property Value

byte

PointData

Gets or sets an array of either 32-bit signed integers or 32-bit floating-point numbers ofCount length that defines coordinate values of the endpoints of the lines to be stroked.

public PointF[] PointData
    {
        get;
        set;
    }

Property Value

PointF []

Tension

Gets or sets the tensionA 32-bit floating point number that specifies how tightly the splinebends as it passes through the points. A value of 0 specifies thatthe spline is a sequence of straight lines. As the value increases,the curve becomes more rounded. For more information, see [SPLINE77] and [PETZOLD].

public float Tension
    {
        get;
        set;
    }

Property Value

float

 English