API Reference
Class
JsVectorLineStyle
Style options for lines.
Inheritance
- Object
- JsVectorLineStyle
Constructors
public JsVectorLineStyle() #Inherited Methods
Properties
public String Stroke { get; set; } #JsonPropertyName("stroke") JsonIgnore(Condition = 3)CSS stroke color.
public Nullable<Double> StrokeWidth { get; set; } #JsonPropertyName("strokeWidth") JsonIgnore(Condition = 3)Stroke width in px.
public String StrokeDasharray { get; set; } #JsonPropertyName("strokeDasharray") JsonIgnore(Condition = 3)Dash pattern (e.g., "4 4").
public Nullable<Boolean> Animation { get; set; } #JsonPropertyName("animation") JsonIgnore(Condition = 3)Enable line animation.
public Nullable<Double> Curvature { get; set; } #JsonPropertyName("curvature") JsonIgnore(Condition = 3)Line curvature factor (0..1). Requires jsVectorMap v1.7.0+.