Difference between revisions of "ChainShape:getChildEdge"

(Added ChainShape:getChildEdge.)
 
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{newin|[[0.8.0]]|080|type=method}}
+
{{newin|[[0.8.0]]|080|type=function}}
 
Returns a child of the shape as an EdgeShape.
 
Returns a child of the shape as an EdgeShape.
  
Line 10: Line 10:
 
{{param|number|index|The index of the child.}}
 
{{param|number|index|The index of the child.}}
 
=== Returns ===
 
=== Returns ===
{{param|number|EdgeShape|The child as an EdgeShape.}}
+
{{param|EdgeShape|shape|The child as an EdgeShape.}}
  
 
== See Also ==
 
== See Also ==

Latest revision as of 23:37, 24 December 2013

Available since LÖVE 0.8.0
This function is not supported in earlier versions.

Returns a child of the shape as an EdgeShape.

Function

Synopsis

shape = ChainShape:getChildEdge( index )

Arguments

number index
The index of the child.

Returns

EdgeShape shape
The child as an EdgeShape.

See Also


Other Languages