Difference between revisions of "B2.EdgeShape"

From GiderosMobile
 
(16 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
'''Supported platforms:''' android, ios, mac, pc<br/>
+
<languages />
 +
<!-- GIDEROSOBJ:b2.EdgeShape -->
 +
'''Supported platforms:''' [[File:Platform android.png]][[File:Platform ios.png]][[File:Platform mac.png]][[File:Platform pc.png]][[File:Platform html5.png]][[File:Platform winrt.png]][[File:Platform win32.png]]<br/>
 
'''Available since:''' Gideros 2011.6<br/>
 
'''Available since:''' Gideros 2011.6<br/>
 +
'''Inherits from:''' [[Special:MyLanguage/b2.Shape|b2.Shape]]<br/>
 +
 
=== Description ===
 
=== Description ===
<br />
+
A line segment (edge) shape. These can be connected in chains or loops to other edge shapes.
A line segment (edge) shape. These can be connected in chains or loops to other edge shapes.<br />
 
<br />
 
  
 
 
 
 
 
 
 
 
 
 
 
 
 
{|-
 
{|-
| style="width: 50%;"|
+
| style="width: 50%; vertical-align:top;"|
 
=== Methods ===
 
=== Methods ===
[[b2.EdgeShape.new]] - <br/>
+
[[Special:MyLanguage/b2.EdgeShape.new|b2.EdgeShape.new]] <br/><!-- GIDEROSMTD:b2.EdgeShape.new(v1x,v1y,v2x,v2y)  -->
[[b2.EdgeShape:set]] - sets the two vertices<br/>
+
[[Special:MyLanguage/b2.EdgeShape:set|b2.EdgeShape:set]] ''sets the two vertices''<br/><!-- GIDEROSMTD:b2.EdgeShape:set(v1x,v1y,v2x,v2y) sets the two vertices -->
| style="width: 50%;"|
+
 
 +
| style="width: 50%; vertical-align:top;"|
 
=== Events ===
 
=== Events ===
 
=== Constants ===
 
=== Constants ===
 
|}
 
|}
 +
 +
----
 +
*'''[[B2.Shape]]'''
 +
*'''[[LiquidFun]]'''

Latest revision as of 16:36, 18 February 2020


Supported platforms: Platform android.pngPlatform ios.pngPlatform mac.pngPlatform pc.pngPlatform html5.pngPlatform winrt.pngPlatform win32.png
Available since: Gideros 2011.6
Inherits from: b2.Shape

Description

A line segment (edge) shape. These can be connected in chains or loops to other edge shapes.

Methods

b2.EdgeShape.new
b2.EdgeShape:set sets the two vertices

Events

Constants