Trait for creating the line path builder instances for the PolygonLikeBuilderMap type class, for classes / traits you control, should go in the companion object of B. The first type parameter is called B, because to corresponds to the B in map(f: A => B): ArrB function.
The uninitialised polygon must be backed by an Array to be constructed by this builder, even if all the final classes of the type do not inherit from SeqLikeBacked. For example this builder can not construct a specialised quadrilateral, rectangle or triangle class.
The uninitialised polygon must be backed by an Array to be constructed by this builder, even if all the final classes of the type do not inherit from SeqLikeBacked. For example this builder can not construct a specialised quadrilateral, rectangle or triangle class.