Свойство | Type | Description | |
---|---|---|---|
controlPoints | List |
Méthode | Description | |
---|---|---|
Path ( ) : System |
Initializes a new instance of the Path class.
|
|
Path ( IList |
Initializes a new instance of the Path class.
|
|
Path ( Vector2 vertices ) : System |
Initializes a new instance of the Path class.
|
|
ToString ( ) : string | ||
add ( Vector2 point ) : void | ||
getFileNameWithoutExtension ( string fontFile ) : string | ||
getLength ( ) : float | ||
getPosition ( float time ) : Vector2 | ||
getPositionNormal ( float time ) : Vector2 |
Gets the normal for the given time.
|
|
getVertices ( int divisions ) : Vertices |
Returns a set of points defining the curve with the specifed number of divisions between each control point.
|
|
nextIndex ( int index ) : int |
Gets the next index of a controlpoint
|
|
previousIndex ( int index ) : int |
Gets the previous index of a controlpoint
|
|
remove ( Vector2 point ) : void | ||
removeAt ( int index ) : void | ||
rotate ( float value ) : void |
Rotate the control points by the defined value in radians.
|
|
scale ( Vector2 &value ) : void |
Scales the control points by the specified vector.
|
|
subdivideEvenly ( int divisions ) : List |
||
translate ( Vector2 &vector ) : void |
Translates the control points by the specified vector.
|
public Path ( IList |
||
vertices | IList |
The vertices to created the path from. |
Résultat | System |
public Path ( Vector2 vertices ) : System | ||
vertices | Vector2 | The vertices to created the path from. |
Résultat | System |
public static getFileNameWithoutExtension ( string fontFile ) : string | ||
fontFile | string | |
Résultat | string |
public getPosition ( float time ) : Vector2 | ||
time | float | |
Résultat | Vector2 |
public getPositionNormal ( float time ) : Vector2 | ||
time | float | The time |
Résultat | Vector2 |
public getVertices ( int divisions ) : Vertices | ||
divisions | int | Number of divisions between each control point. |
Résultat | Vertices |
public previousIndex ( int index ) : int | ||
index | int | The index. |
Résultat | int |
public rotate ( float value ) : void | ||
value | float | The amount to rotate by in radians. |
Résultat | void |
public scale ( Vector2 &value ) : void | ||
value | Vector2 | The Value. |
Résultat | void |
public subdivideEvenly ( int divisions ) : List |
||
divisions | int | |
Résultat | List |
public translate ( Vector2 &vector ) : void | ||
vector | Vector2 | The vector. |
Résultat | void |