Orient
API reference › HTML SVG › Values › Orient
Represents standardized keyword values for the SVG orient attribute.
Provides the keyword values used by the orient attribute.
Note: The orient attribute also accepts numeric angle values (for example, ‘45’, ‘90deg’). This enum covers only
the keyword values. Use string, int, or float for angle values.
See also: Marker::orient().
| Case | Value | Description |
|---|---|---|
AUTO | 'auto' | auto - The marker is oriented such that its positive x-axis is pointing in the direction of the path at the point it is placed. |
AUTO_START_REVERSE | 'auto-start-reverse' | auto-start-reverse - If placed by marker-start, the marker is oriented 180° different from the orientation that would be used if auto were specified. For all other markers, auto-start-reverse means the same as auto. |