API / geotoolkit / attributes / LineRenderingContext / LineRenderingContext
attributes.LineRenderingContext.LineRenderingContext
Represents context to render line
Constructors
Methods
Constructors
• Protected new LineRenderingContext(context?)
| Name | Type |
|---|---|
Optional context | RenderingContext |
Methods
▸ Abstract drawLine(x1, y1, x2, y2): void
Draw line
| Name | Type | Description |
|---|---|---|
x1 | number | x-position of start point |
y1 | number | y-position of start point |
x2 | number | x-position of end point |
y2 | number | y-position of end point |
void
▸ Abstract setLineStyle(style, area?): LineRenderingContext
Set line style