Ellipse

<ac-ellipse-desc />

This is an ellipse implementation. The element must be a child of ac-layer element.

Usage :

1
<ac-ellipse-desc props="{
2
position: entity.position,
3
semiMajorAxis: entity.majorRadius,
4
semiMinorAxis: entity.minorRadius,
5
rotation: entity.rotaiton
6
height: 0,
7
}">
8
</ac-ellipse-desc>
Copied!
Description of the props :
  • All other properties of props are the same as the properties EllipseGraphicsand the general properties of Entity (like position).
Set height prop for performance enhancement

<ac-ellipse />

this is a single ellipse implementation. The element must be a child of ac-map element.

Usage :

1
<ac-ellipse [props]="{
2
position: position,
3
semiMajorAxis:40000.0,
4
semiMinorAxis:25000.0,
5
rotation : 0.785398
6
}">
7
</ac-ellipse>
Copied!
Description of the props :
  • All other properties of props are the same as the properties EllipseGraphicsand the general properties of Entity (like position).
Last modified 2yr ago