API / geotoolkit / contour / strategy / SingleIsolineStylingStrategy / SingleIsolineStylingStrategy
strategy.SingleIsolineStylingStrategy.SingleIsolineStylingStrategy
Define an interface for styling isolines
Interface
Constructors
Methods
Css Properties
| Name | Type | Description |
|---|---|---|
commonisolinestyle | string | Linestyle for common lines |
commonisolinestyle | LineStyle | Linestyle for common lines |
commonisolinestyle-color | string | Color in CSS form |
commonisolinestyle-fill | string | Optional fill style to be used to fill lines generated with this style |
commonisolinestyle-fill | FillStyle | Optional fill style to be used to fill lines generated with this style |
commonisolinestyle-fill-color | string | Color in CSS form |
commonisolinestyle-fill-evenoddmode | boolean | Even-odd fill mode |
commonisolinestyle-fill-fillpattern | Pattern | Pattern |
commonisolinestyle-fill-fillpattern-containername | string | An optional container name, which creates an image pattern. This parameter is used for serialization if you want to save are reference to pattern instead of the pattern itself |
commonisolinestyle-fill-fillpattern-patternname | string | Name of this pattern for indexing |
commonisolinestyle-fill-fillpattern-scalable | boolean | Flag that sets scalability of the pattern coordinates, or relative to the shape it is filling (It is not supported) |
commonisolinestyle-fill-foreground | string | Foreground color |
commonisolinestyle-fill-pattern | Pattern | Pattern |
commonisolinestyle-linecap | CapStyle | The line cap style |
commonisolinestyle-linedashoffset | number | Line dash offset of dashed line |
commonisolinestyle-linejoin | JoinStyle | The line join style |
commonisolinestyle-pixelsnapmode | boolean | Pixel Snap Mode, default( |
commonisolinestyle-scalable | boolean | True if width should depend on transformation |
commonisolinestyle-unit | string | Optional unit for the width |
commonisolinestyle-width | number | string | The line thickness |
singleisolinelevel | number | Level index for single isoline |
singleisolinestyle | string | Linestyle for single line |
singleisolinestyle | LineStyle | Linestyle for single line |
Constructors
• new SingleIsolineStylingStrategy(singleIsolineLevel?, singleIsolineStyle?, commonIsolineStyle?)
Methods
▸ getClassName(): string
string
IsolineStylingStrategy.getClassName
▸ getCommonIsolineStyle(): LineStyle
Gets linestyle for common line
▸ getIsolineStyle(level): LineStyle
Gets style for isoline
| Name | Type | Description |
|---|---|---|
level | number | level |
IsolineStylingStrategy.getIsolineStyle
▸ getIsolineVisible(): boolean
Returns if isoline of specified level should be drawn
boolean
IsolineStylingStrategy.getIsolineVisible
▸ getProperties(): OptionsOut
Gets strategy properties
strategy properties
▸ getSingleIsolineLevel(): number
Returns single isoline level value
number
▸ getSingleIsolineStyle(): LineStyle
Gets linestyle for single line
▸ setCommonIsoLineStyle(lineStyle, merge?): SingleIsolineStylingStrategy
Sets linestyle for common line
| Name | Type | Description |
|---|---|---|
lineStyle | Type | line style or options |
Optional merge | boolean | true if you want to merge lineStyle with existing attribute, false by default |
this
▸ setProperties(props?): SingleIsolineStylingStrategy
Sets strategy properties
| Name | Type | Description |
|---|---|---|
Optional props | Options | An object containing the properties to set |
this
▸ setSingleIsoLineStyle(lineStyle, merge?): SingleIsolineStylingStrategy
Sets linestyle for single line
| Name | Type | Description |
|---|---|---|
lineStyle | Type | line style or options |
Optional merge | boolean | true if you want to merge lineStyle with existing attribute, false by default |
this
▸ Static getClassName(): string
string