Last updated

API / geotoolkit / attributes / ColoredStyle / ColoredStyle

Namespace: ColoredStyle

attributes.ColoredStyle.ColoredStyle

Table of contents

Type Aliases

Contents

Type Aliases

Options

Ƭ Options: Object

color in CSS form or properties object

Type declaration

NameTypeDescription
color?string | RgbaColor | HsvColor | HlsColorcolor in CSS form
mixin?RgbaColor | nullmixin color that will be mixed with current color (if exists)
shadow?ShadowInJSON for displaying shadow

OptionsOut

Ƭ OptionsOut: Object

properties

Type declaration

NameTypeDescription
colorstring | RgbaColorThe attribute color
mixinRgbaColor | nullmixin color that is mixed with current color (if exists)
shadow?ShadowDefine shadow options

Shadow

Ƭ Shadow: Object

Shadow options

Type declaration

NameTypeDescription
blurnumbershadow blur
colorstringshadow color
enablebooleancheck if shadow is enable or not
offsetxnumbershadow offset in x direction
offsetynumbershadow offset in y direction

ShadowIn

Ƭ ShadowIn: Partial<Merge<Shadow, { color?: string | RgbaColor }>>

data