Class LengthRecord

Class LengthRecord

Namespace: Aspose.Imaging.FileFormats.Core.VectorPaths
Assembly: Aspose.Imaging.dll (25.7.0)

Subpath Length Record Class

[JsonObject(MemberSerialization.OptIn)]
   public class LengthRecord
      : VectorPathRecord
   {
   }

Inheritance

object VectorPathRecord LengthRecord

Inherited Members

VectorPathRecord.Type , object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()

Constructors

LengthRecord(byte[])

Initializes a new instance of the Aspose.Imaging.FileFormats.Core.VectorPaths.LengthRecord class.

public LengthRecord(byte[] data)
   {
   }

Parameters

data byte []

The record data.

Exceptions

ArgumentException

Incorrect data for LengthRecord creation

LengthRecord()

Initializes a new instance of the Aspose.Imaging.FileFormats.Core.VectorPaths.LengthRecord class.

public LengthRecord(
       [JsonProperty("value")] double Value,
       [JsonProperty("unitCode")] string UnitCode)
   {
       this.Value = Value;
       this.UnitCode = UnitCode;
   }

Properties

BezierKnotRecordsCount

Gets or sets the bezier knot records count.

public int BezierKnotRecordsCount // <-- added line break for readability
    {
        get; // <-- moved semicolon to next line
        set; // <-- moved semicolon to next line
    } // <-- added line break at end of method

Property Value

int

IsClosed

Gets or sets a value indicating whether this instance is closed.

public classMyClass
{
    [JsonProperty]
    public bool IsClosed { get; set; }
}

Property Value

bool

IsOpen

Gets or sets a value indicating whether this instance is open.

public bool IsOpen
   {
      get;
      set;
   }

Property Value

bool

PathOperations

Gets or sets the path operations.

public class MyClass
   {
      [JsonProperty]
      public PathOperations PathOperations { get; set; }
   }

Property Value

PathOperations

RecordCount

Gets or sets the record count.

public ushort RecordCount
    {
        get;
        set;
    }

Property Value

ushort

ShapeIndex

Gets or sets the index of current path shape in layer.

public ushort ShapeIndex // <-- Comment retained
    {
        get;
        set;
    }

Property Value

ushort

Type

Gets the type.

public override VectorPathType
    Type
    {
        get;
    }

Property Value

VectorPathType

 English