SegmentPosition constructor

const SegmentPosition(
  1. double left,
  2. double top
)

Creates SegmentPosition with left and top offset.

Implementation

const SegmentPosition(this.left, this.top);