Anark Core SDK
Loading...
Searching...
No Matches
Anark.CoreSdkApi.Entities.Sdk2DLineStrip Class Reference

More...

Inheritance diagram for Anark.CoreSdkApi.Entities.Sdk2DLineStrip:
Anark.CoreSdkApi.Entities.ISdk2DLineStrip Anark.CoreSdkApi.Entities.ISdk2DGeometryPrimitive Anark.CoreSdkApi.Entities.ISdkGeometryPrimitive< TVertex >

Public Member Functions

 Sdk2DLineStrip (IEnumerable< ISdkVertex2D > vertices)
 Initialize the linestrip with a collection of vertices.
ISdk2DGeometryPrimitive Transform (double translationX, double translationY)
 Applies a 2D transformation.
Parameters
translationXX translation amount
translationYY translation amount
Returns
A new primitive with the transform applied.

ISdk2DGeometryPrimitive Scale (double scaleX, double scaleY)
 Applies a 2D scale.
Parameters
scaleXX scale amount
scaleYY scale amount
Returns
A new primitive with the scale applied.

Properties

IEnumerable< ISdkVertex2DVertices [get]
 The vertices that define the geometry.

Detailed Description

Constructor & Destructor Documentation

◆ Sdk2DLineStrip()

Anark.CoreSdkApi.Entities.Sdk2DLineStrip.Sdk2DLineStrip ( IEnumerable< ISdkVertex2D > vertices)
inline

Initialize the linestrip with a collection of vertices.

Parameters
verticesThe vertices that define the line strip.

Member Function Documentation

◆ Scale()

ISdk2DGeometryPrimitive Anark.CoreSdkApi.Entities.Sdk2DLineStrip.Scale ( double scaleX,
double scaleY )
inline

Applies a 2D scale.

Parameters
scaleXX scale amount
scaleYY scale amount
Returns
A new primitive with the scale applied.

Implements Anark.CoreSdkApi.Entities.ISdk2DGeometryPrimitive.

◆ Transform()

ISdk2DGeometryPrimitive Anark.CoreSdkApi.Entities.Sdk2DLineStrip.Transform ( double translationX,
double translationY )
inline

Applies a 2D transformation.

Parameters
translationXX translation amount
translationYY translation amount
Returns
A new primitive with the transform applied.

Implements Anark.CoreSdkApi.Entities.ISdk2DGeometryPrimitive.

Property Documentation

◆ Vertices

IEnumerable<ISdkVertex2D> Anark.CoreSdkApi.Entities.Sdk2DLineStrip.Vertices
get

The vertices that define the geometry.

Implements Anark.CoreSdkApi.Entities.ISdkGeometryPrimitive< TVertex >.