Skip to main content

Overview

The Darvas indicator runtime exposes several enum namespaces for entity options. You can use the string literals directly (e.g. "solid") or the named constants (e.g. linestyle.solid) - they are equivalent.

linestyle.* - Line and border styles

shape.* - Marker shapes

size.* - Text size presets

Used for textSize in Box and for Label size (as a numeric value - size.* is string-only for Box).

extend.* - Box extension directions

text.align.* - Text alignment

Horizontal alignment

Vertical alignment

text.wrap.* - Text wrapping

Line

Uses linestyle.* for the style option.

Box

Uses extend., size., and text.align.*.

Marker

Uses shape.* for the shape option.