Difference between revisions of "B2.CircleShape:set"

From GiderosMobile
Line 8: Line 8:
 
  b2.CircleShape:set(centerx,centery,radius)
 
  b2.CircleShape:set(centerx,centery,radius)
 
</source>
 
</source>
'''centerx''': (number, optional) the x coordinate of the center ''''''<br/>
+
=== Parameters ===
'''centery''': (number, optional) the y coordinate of the center ''''''<br/>
+
'''centerx''': (number, optional) the x coordinate of the center <br/>
'''radius''': (number, optional) the radius ''''''<br/>
+
'''centery''': (number, optional) the y coordinate of the center <br/>
 +
'''radius''': (number, optional) the radius <br/>

Revision as of 11:38, 23 August 2018

Available since: Gideros 2011.6

Description


Sets the center point and radius of this instance.

 b2.CircleShape:set(centerx,centery,radius)

Parameters

centerx: (number, optional) the x coordinate of the center
centery: (number, optional) the y coordinate of the center
radius: (number, optional) the radius