Last updated

API / geotoolkit / attributes / LineStyle / LineStyle

Namespace: LineStyle

attributes.LineStyle.LineStyle

Table of contents

Type Aliases

Contents

Type Aliases

Options

Ƭ 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: 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

Ƭ OptionsWithPatternsExtended: Omit<Options, "pattern"> & { pattern?: string | Patterns | number[] }

Line style properties, supports pattern as string


PixelSnapMode

Ƭ PixelSnapMode: Object

Pixel Snap Mode

Type declaration

NameTypeDescription
xPixelSnapModeCallback | booleansnap by x
yPixelSnapModeCallback | booleansnap by y

PixelSnapModeCallback

Ƭ PixelSnapModeCallback: (val: number, snapToPixel: boolean) => number

Type declaration

▸ (val, snapToPixel): number

Parameters
Name Type
valnumber
snapToPixelboolean
Returns

number


Type

Ƭ Type: LineStyle | Options | string | RgbaColor | HsvColor | HlsColor | null