Change type from int to Double on Line object.
#1566