Added Line builder method to PrimitiveFactory