Automatically orient the marker. If this property is true, the Orientation property is ignored.
Namespace: FMX.RS.SVG
Delphi
|
published
property AutomaticOrientation: Boolean read FAutomaticOrientation write SetAutomaticOrientation default False;
|
Property Value
Type: Boolean
When AutomaticOrientation is true, the marker is oriented such that its positive x-axis is pointing as follows:
• | If there is a path segment coming into the vertex and another path segment going out of the vertex, the marker' s positive x- axis should point toward the angle bisector for the angle at the given vertex, where that angle has one side consisting of tangent vector for the path segment going into the vertex and the other side the tangent vector for the path segment going out of the vertex. Note: |
• | a) If the tangent vectors are the same, the angle bisector equals the two tangent vectors. |
• | b) If an incoming and an outgoing vertex produce a zero vector the direction of marker is undefined. |
• | If there is only a path segment going into the vertex (e. g., the last vertex on an open path), the marker's positive x-axis should point in the same direction as the tangent vector for the path segment going into the vertex. |
• | If there is only a path segment going out of the vertex ( e.g., the first vertex on an open path), the marker's positive x-axis should point in the same direction as the tangent vector for the path segment going out of the vertex. |
|
|