{{newin|[[0.8.0]]|080|type=function}}
Creates a new [[EdgeShape]].

== Function ==
=== Synopsis ===
<source lang="lua">
shape = love.physics.newEdgeShape( x1, y1, x2, y2 )
</source>
=== Arguments ===
{{param|number|x1|The x position of the first point.}}
{{param|number|y1|The y position of the first point.}}
{{param|number|x2|The x position of the second point.}}
{{param|number|y2|The y position of the second point.}}
=== Returns ===
{{param|EdgeShape|shape|The new shape.}}

== See Also ==
* [[parent::love.physics]]
* [[Constructs::EdgeShape]]
* [[Constructs::Shape]]
[[Category:Functions]]
{{#set:Description=Creates a new [[EdgeShape]].}}
{{#set:Since=080}}
== Other Languages ==
{{i18n|love.physics.newEdgeShape}}