Class PolygonExtensions
Definition
- Assembly:
- Tizen.NUI.Physics2D.dll
Unsafe extension methods for the Polygon shape.
public static class PolygonExtensions
- Inheritance
-
objectPolygonExtensions
Methods
View SourceSetRadius(Polygon, double)
Set the radius of a poly shape
Declaration
public static void SetRadius(this Polygon polygon, double radius)
Parameters
Type | Name | Description |
---|---|---|
Polygon | polygon | |
double | radius |
SetVertexes(Polygon, Vect[], Transform)
Set the vertexes of the polygon.
Declaration
public static void SetVertexes(this Polygon polygon, Vect[] vertexes, Transform transform)
Parameters
Type | Name | Description |
---|---|---|
Polygon | polygon | |
Vect[] | vertexes | |
Transform | transform |
SetVertexes(Polygon, Vect[])
Set the vertexes of the polygon.
Declaration
public static void SetVertexes(this Polygon polygon, Vect[] vertexes)
Parameters
Type | Name | Description |
---|---|---|
Polygon | polygon | |
Vect[] | vertexes |