API / geotoolkit / attributes / LineStyle / LineStyle
attributes.LineStyle.LineStyle
Type Aliases
Ƭ Options: Options & { fill?: Type ; linecap?: CapStyle | string ; linedashoffset?: number ; linejoin?: JoinStyle | string ; pattern?: Patterns | number[] ; pixelsnapmode?: PixelSnapMode | boolean ; scalable?: boolean ; unit?: AbstractUnit | string ; width?: number | string }
The line color or a properties
Ƭ OptionsOut: OptionsOut & { fill: FillStyle | null ; linecap: CapStyle | string ; linedashoffset: number ; linejoin: JoinStyle | string ; pattern: Patterns | number[] ; pixelsnapmode: PixelSnapMode ; scalable: boolean ; unit: AbstractUnit | string ; width: number }
Ƭ OptionsWithPatternsExtended: Omit<Options, "pattern"> & { pattern?: string | Patterns | number[] }
Line style properties, supports pattern as string
Ƭ PixelSnapMode: Object
Pixel Snap Mode
| Name | Type | Description |
|---|---|---|
x | PixelSnapModeCallback | boolean | snap by x |
y | PixelSnapModeCallback | boolean | snap by y |
Ƭ PixelSnapModeCallback: (val: number, snapToPixel: boolean) => number
▸ (val, snapToPixel): number
| Name | Type |
|---|---|
val | number |
snapToPixel | boolean |
number
Ƭ Type: LineStyle | Options | string | RgbaColor | HsvColor | HlsColor | null