Skip to content

LineLayout

Namespace: ThinkGeo.Core.Styling

The layout of a line style layer: how its ends and corners are drawn. Read a layer's at a zoom with LineStyleLayer.EvaluateLayout(double).

public struct LineLayout

Inheritance object → ValueType → LineLayout

Properties

Cap

line-cap: how the line's ends are drawn.

public LineCap Cap { get; }

Property Value

LineCap

Join

line-join: how the line's corners are drawn.

public LineJoin Join { get; }

Property Value

LineJoin

MiterLimit

line-miter-limit: how long a mitered corner may run, in line widths, before it is bevelled.

public double MiterLimit { get; }

Property Value

double

RoundLimit

line-round-limit: how sharp a round corner may be before it is drawn mitered.

public double RoundLimit { get; }

Property Value

double

Constructors

LineLayout(LineCap, LineJoin, double, double)

A line layout.

LineLayout(LineCap cap, LineJoin join, double miterLimit, double roundLimit)

Parameters

cap LineCap
line-cap: how the ends are drawn.

join LineJoin
line-join: how the corners are drawn.

miterLimit double
line-miter-limit: how long a mitered corner may run, in line widths, before it is bevelled.

roundLimit double
line-round-limit: how sharp a round corner may be before it is drawn mitered.

Methods

A(double)

LineCap A(double )

Parameters

`` double

Returns

LineCap

a(double)

LineJoin a(double )

Parameters

`` double

Returns

LineJoin