LineLabelFormatOptions: {
    defaultFormatter: LineLabelFormatter;
    length: number;
    shape: entities.Shape;
}

Type declaration

  • defaultFormatter: LineLabelFormatter

    The default formatter for line labels.

  • length: number

    The length of the segment or line, in CRS units.

  • shape: entities.Shape

    The shape the lable belongs to.