Path2D

Inherits: Node2D < CanvasItem < Node < Object

Category: Core

Brief Description

Container for a Curve2D.

Member Functions

Curve2D get_curve ( ) const
void set_curve ( Curve2D curve )

Description

This class is a container/Node-ification of a Curve2D, so it can have Node2D properties and Node info.

Member Function Description

Curve2D get_curve ( ) const

Returns the Curve2D contained.

void set_curve ( Curve2D curve )

Sets the Curve2D.

© 2014–2020 Juan Linietsky, Ariel Manzur, Godot Engine contributors
Licensed under the MIT License.
https://docs.godotengine.org/en/2.1/classes/class_path2d.html