{{newin|[[0.10.0]]|100|type=function}}
Gets a BezierCurve that corresponds to the specified segment of this BezierCurve.

== Function ==
=== Synopsis ===
<source lang="lua">
curve = BezierCurve:getSegment( startpoint, endpoint )
</source>
=== Arguments ===
{{param|number|startpoint|The starting point along the curve. Must be between 0 and 1.}}
{{param|number|endpoint|The end of the segment. Must be between 0 and 1.}}
=== Returns ===
{{param|BezierCurve|curve|A BezierCurve that corresponds to the specified segment.}}
== See Also ==
* [[parent::BezierCurve]]
* [[BezierCurve:renderSegment]]
* [[love.math]]
[[Category:Functions]]
{{#set:Description=Gets a BezierCurve that corresponds to the specified segment of this BezierCurve.}}
== Other Languages ==
{{i18n|BezierCurve:getSegment}}