PathEngine home previous: iAnchorsAndPinnedShapes::anchor_Name()next: iAnchorsAndPinnedShapes::anchor_VerticalRange()
Contents, API Reference, Interfaces, iAnchorsAndPinnedShapes, anchor_Orientation

iAnchorsAndPinnedShapes::anchor_Orientation()

Description

Returns the facing direction for the specified anchor.

Syntax

int32_t anchor_Orientation(int32_t anchorIndex) const;

Parameters

anchorIndex The (zero-based) index of the anchor being queried. Must be greater than or equal to zero, and less than the value returned by numberOfAnchors().

Return Value

The facing direction of the anchor, using PathEngine's integer angle representation.

Remarks

Anchor's always have an associated facing direction. If facing direction has no meaning for an anchor or is not defined by content then a value of zero should be returned.

C# Mapping

int anchor_Orientation(int anchorIndex);

Java Mapping

int anchor_Orientation(int anchorIndex);

Documentation for PathEngine release 6.04 - Copyright © 2002-2024 PathEnginenext: iAnchorsAndPinnedShapes::anchor_VerticalRange()