Difference between revisions of "B2.EdgeShape"

From GiderosMobile
Line 12: Line 12:
 
| style="width: 50%; vertical-align:top;"|
 
| style="width: 50%; vertical-align:top;"|
 
=== <translate>Methods</translate> ===
 
=== <translate>Methods</translate> ===
[[Special:MyLanguage/b2.EdgeShape.new|b2.EdgeShape.new]] <br/><!-- GIDEROSMTD:b2.EdgeShape.new -->
+
[[Special:MyLanguage/b2.EdgeShape.new|b2.EdgeShape.new]] <br/><!-- GIDEROSMTD:b2.EdgeShape.new(v1x,v1y,v2x,v2y)  -->
[[Special:MyLanguage/b2.EdgeShape:set|b2.EdgeShape:set]] ''<translate>sets the two vertices</translate>''<br/><!-- GIDEROSMTD:b2.EdgeShape:set -->
+
[[Special:MyLanguage/b2.EdgeShape:set|b2.EdgeShape:set]] ''<translate>sets the two vertices</translate>''<br/><!-- GIDEROSMTD:b2.EdgeShape:set(v1x,v1y,v2x,v2y) sets the two vertices -->
 
| style="width: 50%; vertical-align:top;"|
 
| style="width: 50%; vertical-align:top;"|
 
=== <translate>Events</translate> ===
 
=== <translate>Events</translate> ===
 
=== <translate>Constants</translate> ===
 
=== <translate>Constants</translate> ===
 
|}
 
|}

Revision as of 15:32, 13 September 2018


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