godot/scene/2d/line_2d.cpp

/**************************************************************************/
/*  line_2d.cpp                                                           */
/**************************************************************************/
/*                         This file is part of:                          */
/*                             GODOT ENGINE                               */
/*                        https://godotengine.org                         */
/**************************************************************************/
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur.                  */
/*                                                                        */
/* Permission is hereby granted, free of charge, to any person obtaining  */
/* a copy of this software and associated documentation files (the        */
/* "Software"), to deal in the Software without restriction, including    */
/* without limitation the rights to use, copy, modify, merge, publish,    */
/* distribute, sublicense, and/or sell copies of the Software, and to     */
/* permit persons to whom the Software is furnished to do so, subject to  */
/* the following conditions:                                              */
/*                                                                        */
/* The above copyright notice and this permission notice shall be         */
/* included in all copies or substantial portions of the Software.        */
/*                                                                        */
/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,        */
/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF     */
/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. */
/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY   */
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,   */
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE      */
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.                 */
/**************************************************************************/

#include "line_2d.h"

#include "core/math/geometry_2d.h"
#include "line_builder.h"

Line2D::Line2D() {}

#ifdef TOOLS_ENABLED
Rect2 Line2D::_edit_get_rect() const {}

bool Line2D::_edit_use_rect() const {}

bool Line2D::_edit_is_selected_on_click(const Point2 &p_point, double p_tolerance) const {}
#endif

void Line2D::set_points(const Vector<Vector2> &p_points) {}

void Line2D::set_closed(bool p_closed) {}

bool Line2D::is_closed() const {}

void Line2D::set_width(float p_width) {}

float Line2D::get_width() const {}

void Line2D::set_curve(const Ref<Curve> &p_curve) {}

Ref<Curve> Line2D::get_curve() const {}

Vector<Vector2> Line2D::get_points() const {}

void Line2D::set_point_position(int i, Vector2 p_pos) {}

Vector2 Line2D::get_point_position(int i) const {}

int Line2D::get_point_count() const {}

void Line2D::clear_points() {}

void Line2D::add_point(Vector2 p_pos, int p_atpos) {}

void Line2D::remove_point(int i) {}

void Line2D::set_default_color(Color p_color) {}

Color Line2D::get_default_color() const {}

void Line2D::set_gradient(const Ref<Gradient> &p_gradient) {}

Ref<Gradient> Line2D::get_gradient() const {}

void Line2D::set_texture(const Ref<Texture2D> &p_texture) {}

Ref<Texture2D> Line2D::get_texture() const {}

void Line2D::set_texture_mode(const LineTextureMode p_mode) {}

Line2D::LineTextureMode Line2D::get_texture_mode() const {}

void Line2D::set_joint_mode(LineJointMode p_mode) {}

Line2D::LineJointMode Line2D::get_joint_mode() const {}

void Line2D::set_begin_cap_mode(LineCapMode p_mode) {}

Line2D::LineCapMode Line2D::get_begin_cap_mode() const {}

void Line2D::set_end_cap_mode(LineCapMode p_mode) {}

Line2D::LineCapMode Line2D::get_end_cap_mode() const {}

void Line2D::_notification(int p_what) {}

void Line2D::set_sharp_limit(float p_limit) {}

float Line2D::get_sharp_limit() const {}

void Line2D::set_round_precision(int p_precision) {}

int Line2D::get_round_precision() const {}

void Line2D::set_antialiased(bool p_antialiased) {}

bool Line2D::get_antialiased() const {}

void Line2D::_draw() {}

void Line2D::_gradient_changed() {}

void Line2D::_curve_changed() {}

// static
void Line2D::_bind_methods() {}