Line2D
Inherits: Node2D < CanvasItem < Node < Object
There is currently no description for this class. Please help us by contributing one!
Properties
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
Methods
void |
|
void |
clear_points ( ) |
get_point_count ( ) const |
|
get_point_position ( int index ) const |
|
void |
remove_point ( int index ) |
void |
set_point_position ( int index, Vector2 position ) |
Enumerations
enum LineJointMode:
LineJointMode LINE_JOINT_SHARP = 0
There is currently no description for this enum. Please help us by contributing one!
LineJointMode LINE_JOINT_BEVEL = 1
There is currently no description for this enum. Please help us by contributing one!
LineJointMode LINE_JOINT_ROUND = 2
There is currently no description for this enum. Please help us by contributing one!
enum LineCapMode:
LineCapMode LINE_CAP_NONE = 0
There is currently no description for this enum. Please help us by contributing one!
LineCapMode LINE_CAP_BOX = 1
There is currently no description for this enum. Please help us by contributing one!
LineCapMode LINE_CAP_ROUND = 2
There is currently no description for this enum. Please help us by contributing one!
enum LineTextureMode:
LineTextureMode LINE_TEXTURE_NONE = 0
There is currently no description for this enum. Please help us by contributing one!
LineTextureMode LINE_TEXTURE_TILE = 1
There is currently no description for this enum. Please help us by contributing one!
LineTextureMode LINE_TEXTURE_STRETCH = 2
There is currently no description for this enum. Please help us by contributing one!
Property Descriptions
bool antialiased = false
There is currently no description for this property. Please help us by contributing one!
LineCapMode begin_cap_mode = 0
void set_begin_cap_mode ( LineCapMode value )
LineCapMode get_begin_cap_mode ( )
There is currently no description for this property. Please help us by contributing one!
bool closed = false
There is currently no description for this property. Please help us by contributing one!
Color default_color = Color(1, 1, 1, 1)
There is currently no description for this property. Please help us by contributing one!
LineCapMode end_cap_mode = 0
void set_end_cap_mode ( LineCapMode value )
LineCapMode get_end_cap_mode ( )
There is currently no description for this property. Please help us by contributing one!
Gradient gradient
There is currently no description for this property. Please help us by contributing one!
LineJointMode joint_mode = 0
void set_joint_mode ( LineJointMode value )
LineJointMode get_joint_mode ( )
There is currently no description for this property. Please help us by contributing one!
PackedVector2Array points = PackedVector2Array()
void set_points ( PackedVector2Array value )
PackedVector2Array get_points ( )
There is currently no description for this property. Please help us by contributing one!
int round_precision = 8
There is currently no description for this property. Please help us by contributing one!
float sharp_limit = 2.0
There is currently no description for this property. Please help us by contributing one!
Texture2D texture
There is currently no description for this property. Please help us by contributing one!
LineTextureMode texture_mode = 0
void set_texture_mode ( LineTextureMode value )
LineTextureMode get_texture_mode ( )
There is currently no description for this property. Please help us by contributing one!
float width = 10.0
There is currently no description for this property. Please help us by contributing one!
Curve width_curve
There is currently no description for this property. Please help us by contributing one!
Method Descriptions
void add_point ( Vector2 position, int index=-1 )
There is currently no description for this method. Please help us by contributing one!
void clear_points ( )
There is currently no description for this method. Please help us by contributing one!
int get_point_count ( ) const
There is currently no description for this method. Please help us by contributing one!
Vector2 get_point_position ( int index ) const
There is currently no description for this method. Please help us by contributing one!
void remove_point ( int index )
There is currently no description for this method. Please help us by contributing one!
void set_point_position ( int index, Vector2 position )
There is currently no description for this method. Please help us by contributing one!