Last updated

API / geotoolkit / schematics / labeling / LabelShape / LabelShape

Namespace: LabelShape

labeling.LabelShape.LabelShape

Table of contents

Type Aliases

Contents

Type Aliases

Options

Ƭ Options: Options & { styleshandler?: StylesHandler ; textstyle?: Type }


OptionsOut

Ƭ OptionsOut: OptionsOut & { styleshandler?: StylesHandler ; textstyle?: TextStyle }

properties


StyleOptions

Ƭ StyleOptions: Object

options

Type declaration

NameTypeDescription
cssclass?stringdefine style class name
fillstyle?Typefill style
linestyle?Typeline style
textstyle?Typetext style

StylesHandler

Ƭ StylesHandler: (options: { node: ComponentNode ; text: string }) => { fillstyle: FillStyle | null ; linestyle: LineStyle | null ; textstyle?: TextStyle | null }

Type declaration

▸ (options): Object

Parameters
Name Type
optionsObject
options.nodeComponentNode
options.textstring
Returns

Object

NameType
fillstyleFillStyle | null
linestyleLineStyle | null
textstyle?TextStyle | null