API / geotoolkit / attributes / TextStyle / TextStyle

Namespace: TextStyle

attributes.TextStyle.TextStyle

Table of contents

Type Aliases

Contents

Type Aliases

Font

Ƭ Font: Object

font in CSS or JSON format

Type declaration

NameTypeDescription
family?stringfont family
size?stringfont size
style?stringfont style
weight?stringfont weight

Options

Ƭ Options: Options & { alignment?: AlignmentStyle ; autosize?: boolean ; background?: Type ; baseline?: BaseLineStyle ; fill?: FillStyle ; font?: string | Font | null ; fonturl?: string | ArrayBuffer ; lineheight?: string | number ; multiline?: boolean ; outline?: Type ; overflowwrap?: OverflowWrapStyle ; strikethrough?: Type ; textoverflow?: TextOverflowStyle ; underline?: Type ; underlineoffset?: string | number ; whitespace?: WhiteSpaceStyle ; wordbreak?: WordBreakStyle }

text color or a json object


OptionsOut

Ƭ OptionsOut: OptionsOut & { alignment?: AlignmentStyle ; autosize?: boolean ; background?: FillStyle | null ; baseline?: BaseLineStyle ; fill?: FillStyle ; font?: null | string ; fonturl?: string | ArrayBuffer ; lineheight?: string | number ; multiline?: boolean ; outline?: LineStyle | null ; overflowwrap?: OverflowWrapStyle ; strikethrough?: LineStyle | null ; textoverflow?: TextOverflowStyle ; underline?: LineStyle | null ; underlineoffset?: string | number ; whitespace?: WhiteSpaceStyle ; wordbreak?: WordBreakStyle }

properties


ProcessedFont

Ƭ ProcessedFont: { fontfamily: string ; fontlineheight: string ; fontsize: string ; fontstyle: string ; fontweight: string } | null


Type

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