Circle2DNode(position, radius, color, opacity, outline, rotation, scale, layer)
Simple node that draws a colored circle given a radius
Parameters:
position
[value: Vector2, type: Vector2]
radius
[value: any, type: float]
color
[value: color, type: Color|int (RGB565)]
opacity
[value: 0 ~ 1.0, type: float]
outline
[value: True or False, type: bool]
rotation
[value: any, type: float]
scale
[value: any, type: float]
layer
[value: 0 ~ 127, type: int]
Attributes:
add_child(child)
[returns: None
]
get_child(index)
[returns: Node
]
get_child_count()
[returns: 0 or positive integer
]
mark_destroy()
[returns: None
]
mark_destroy_all()
[returns: None
]
mark_destroy_children()
[returns: None
]
remove_child(child)
[returns: None
]
tick(self, dt)
[returns: None
]
position
[value: Vector2, type: Vector2]
radius
[value: any, type: float]
rotation
[value: any, type: float]
color
[value: color, type: Color|int (RGB565)]
opacity
[value: 0 ~ 1.0, type: float]
scale
[value: any, type: float]
outline
[value: True or False, type: bool]
layer
[value: 0 ~ 127, type: int]
Overrides:
tick(self, dt)
[returns: None
] [value: function, type: function]
file: src/nodes/2D/circle_2d_node.c
landing