Anark Core SDK
Loading...
Searching...
No Matches
Anark.CoreSdkApi.Entities.ISdkAnnotationGeometry Interface Reference

Geometry for an annotation or a sub-section of an annotation. More...

Inheritance diagram for Anark.CoreSdkApi.Entities.ISdkAnnotationGeometry:
Anark.CoreSdkApi.Entities.ISdkGeometry< TGroup, TPrimitive, TVertex > Anark.CoreSdkApi.Entities.SdkAnnotationGeometry

Public Member Functions

ISdkAnnotationGeometry CreateTransformedGeometry (ISdkVector2D translationVector)
 Transform the geometry by applying a 2D translation vector.
ISdkAnnotationGeometry CreateScaledGeometry (ISdkVector2D scaleVector)
 Scale the geometry in the X and Y directions separately.
ISdkAnnotationGeometry CreateScaledGeometry (double scale)
 Scale the geometry in the X and Y directions simultaneously.

Properties

double Height [get]
 The height of the geometry.
double Width [get]
 The width of the geometry.
Properties inherited from Anark.CoreSdkApi.Entities.ISdkGeometry< TGroup, TPrimitive, TVertex >
IEnumerable< TGroup > Geometry [get]
 The geometry groups that define the object or sub-section of the object.

Detailed Description

Geometry for an annotation or a sub-section of an annotation.

Member Function Documentation

◆ CreateScaledGeometry() [1/2]

ISdkAnnotationGeometry Anark.CoreSdkApi.Entities.ISdkAnnotationGeometry.CreateScaledGeometry ( double scale)

Scale the geometry in the X and Y directions simultaneously.

Parameters
scaleThe scale to apply.
Returns
New geometry.

Implemented in Anark.CoreSdkApi.Entities.SdkAnnotationGeometry.

◆ CreateScaledGeometry() [2/2]

ISdkAnnotationGeometry Anark.CoreSdkApi.Entities.ISdkAnnotationGeometry.CreateScaledGeometry ( ISdkVector2D scaleVector)

Scale the geometry in the X and Y directions separately.

Parameters
scaleVectorThe scale to apply in each direction.
Returns
New geometry.

Implemented in Anark.CoreSdkApi.Entities.SdkAnnotationGeometry.

◆ CreateTransformedGeometry()

ISdkAnnotationGeometry Anark.CoreSdkApi.Entities.ISdkAnnotationGeometry.CreateTransformedGeometry ( ISdkVector2D translationVector)

Transform the geometry by applying a 2D translation vector.

Parameters
translationVectorThe translation to apply.
Returns
New geometry.

Implemented in Anark.CoreSdkApi.Entities.SdkAnnotationGeometry.

Property Documentation

◆ Height

double Anark.CoreSdkApi.Entities.ISdkAnnotationGeometry.Height
get

The height of the geometry.

Implemented in Anark.CoreSdkApi.Entities.SdkAnnotationGeometry.

◆ Width

double Anark.CoreSdkApi.Entities.ISdkAnnotationGeometry.Width
get

The width of the geometry.

Implemented in Anark.CoreSdkApi.Entities.SdkAnnotationGeometry.